Examples of calculate()


Examples of com.centraview.account.common.ItemLines.calculate()

    CVDal cvdal = new CVDal(ds);
    try
    {
      ItemLines itemLines =  expenseVO.getItemLines();

      itemLines.calculate();
      cvdal.setSql("account.expense.addexpense");
      cvdal.setInt(1,expenseVO.getGlAccountIDValue());
      cvdal.setFloat(2,expenseVO.getAmount());
      cvdal.setString(3,expenseVO.getTitle());
      cvdal.setString(4,expenseVO.getExpenseDescription());
View Full Code Here

Examples of com.centraview.account.common.ItemLines.calculate()

    int orderID = 0;
    this.dataSource = ds;
    CVDal dl = new CVDal(ds);
    try {
      ItemLines itemLines = orderForm.getItemLines();
      itemLines.calculate();

      dl.setSql("order.addorder");
      // insert into cvorder
      // (entityid,billaddress,shipaddress,status,terms,accountmgr,project,ponumber,creator,orderdate,created,subtotal,tax,total,description,invoiceIsGenerated)
      // values (?,?,?,?,?,?,?,?,?,?,concat(CURRENT_DATE,
View Full Code Here

Examples of com.centraview.account.common.ItemLines.calculate()

    {
      CVDal dl = new CVDal(dataSource);
      try
      {
        ItemLines itemLines =  expenseVO.getItemLines();
        itemLines.calculate();

        dl.setSql("account.expense.updateexpense");
        //ALLSQL.put("account.expense.updateexpense","update expense set glaccountsid = ?,amount = ?,title = ?,description = ?,entityid = ?,status = ?,created = CONCAT(CURRENT_DATE),owner = ?,project = ?,opportunity = ?,ticket = ? where expenseid = ?");
        dl.setInt(1,expenseVO.getGlAccountIDValue());
        dl.setFloat(2,expenseVO.getAmount());
View Full Code Here

Examples of com.centraview.account.common.ItemLines.calculate()

  {
    if (isDirty) {
      CVDal dl = new CVDal(this.dataSource);
      try {
        ItemLines itemLines = orderForm.getItemLines();
        itemLines.calculate();
        dl.setSql("order.updateorder");

        dl.setInt(1, this.orderForm.getCustomerIdValue()); // entityid
        dl.setInt(2, this.orderForm.getBillToAddIdValue());// bill address
        dl.setInt(3, this.orderForm.getShipToAddIdValue()); // ship address
View Full Code Here

Examples of com.centraview.account.common.ItemLines.calculate()

            }

        }//while

      }//if
  itemLines.calculate();
  purchaseOrderVO.setItemLines(itemLines);
  return purchaseOrderVO;

}//End of AddItems for PurchaseOrder
View Full Code Here

Examples of com.centraview.account.common.ItemLines.calculate()

        }

      }//while

    }//if
    itemLines.calculate();
    expenseVO.setItemLines(itemLines);
    return expenseVO;

  }//End of AddItems for Expense
View Full Code Here

Examples of com.centraview.account.common.ItemLines.calculate()

            }

        }//while

      }//if
  itemLines.calculate();
  invoiceVO.setItemLines(itemLines);
  return invoiceVO;

  }//End of AddItems
View Full Code Here

Examples of com.centraview.account.common.ItemLines.calculate()

            }

        }//while

      }//if
    itemLines.calculate();
    orderVO.setItemLines(itemLines);
    return orderVO;

  }//End of AddItems for Order
View Full Code Here

Examples of com.centraview.hr.expenses.HrExpenseLines.calculate()

    {
      HrExpenseLines hrexpenseLines =  expenseFormVO.getHrExpenseLines();

      if (hrexpenseLines != null)
      {
        hrexpenseLines.calculate();
      }

      cvdal.setSql("hr.expense.addexpenseform");
      cvdal.setDate(1,expenseFormVO.getFrom()); //FromDate
      cvdal.setDate(2,expenseFormVO.getTo());   //ToDate
View Full Code Here

Examples of com.centraview.hr.expenses.HrExpenseLines.calculate()

    {
      CVDal dl = new CVDal(this.dataSource);
      try
      {
        HrExpenseLines itemLines =  expenseFormVO.getHrExpenseLines();
        itemLines.calculate();

        //ALLSQL.put("hr.expense.updateexpenseform","update expenseform set FromDate = ?,ToDate = ?,Note = ?,Description = ?,ReportingTo = ?,Owner = ?,Creator = ? ,ModifiedBy = ?,created = CONCAT(CURRENT_DATE), Modified =CONCAT(CURRENT_DATE) where expenseformid = ?");
        dl.setSql("hr.expense.updateexpenseform");

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.