Class FIN_PaymentMonitorProcess
- java.lang.Object
-
- org.openbravo.service.db.DalBaseProcess
-
- org.openbravo.advpaymentmngt.process.FIN_PaymentMonitorProcess
-
- All Implemented Interfaces:
Process
public class FIN_PaymentMonitorProcess extends DalBaseProcess
-
-
Field Summary
-
Fields inherited from interface org.openbravo.scheduling.Process
COMPLETE, ERROR, EXECUTION_ID, KILLED, MISFIRED, PREVENT_CONCURRENT_EXECUTIONS, PROCESS_ID, PROCESS_NAME, PROCESSING, SCHEDULED, SUCCESS, SYSTEM_RESTART, UNSCHEDULED
-
-
Constructor Summary
Constructors Constructor Description FIN_PaymentMonitorProcess()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BigDecimal
calculateOverdueAmount(DebtPayment payment, String strCurrencyTo, Date conversionDate, BigDecimal multiplier)
static BigDecimal
calculatePaidAmount(DebtPayment payment, String strCurrencyTo, Date conversionDate, BigDecimal multiplier)
void
doExecute(ProcessBundle bundle)
static BigDecimal
getConvertedAmt(BigDecimal amt, String curFromID, String curToID, Date convDate, String client, String org)
static void
updateInvoice(Invoice invoice)
Updates the days till due and last calculated on date fields of the invoice.-
Methods inherited from class org.openbravo.service.db.DalBaseProcess
execute, isDoCommit, setDoCommit
-
-
-
-
Method Detail
-
doExecute
public void doExecute(ProcessBundle bundle) throws Exception
- Specified by:
doExecute
in classDalBaseProcess
- Throws:
Exception
-
updateInvoice
public static void updateInvoice(Invoice invoice) throws OBException
Updates the days till due and last calculated on date fields of the invoice.- Parameters:
invoice
-- Throws:
OBException
-
calculatePaidAmount
public static BigDecimal calculatePaidAmount(DebtPayment payment, String strCurrencyTo, Date conversionDate, BigDecimal multiplier)
-
calculateOverdueAmount
public static BigDecimal calculateOverdueAmount(DebtPayment payment, String strCurrencyTo, Date conversionDate, BigDecimal multiplier)
-
getConvertedAmt
public static BigDecimal getConvertedAmt(BigDecimal amt, String curFromID, String curToID, Date convDate, String client, String org)
-
-