Scheduled Jobs
Jobs are automated procedures that perform certain tasks, running at a specific time or on a recurring schedule. Read detailed information about scheduling jobs in the FintechOS Studio User Guide's dedicated page.
Distribution Management comes with the following scheduled jobs that perform repetitive procedures:
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
The Generate Invoices scheduled job runs once each night and finds the relevant details in Invoice Details
that are the object of an agreement with payment periodicity corresponding to that day, groups them on customer / currency/ invoicing type, and creates an invoice to which attaches all those invoice details. The commission is calculated when each record in Invoice Detail
is inserted. When using Distribution Management for Banking, each invoice also receives the customer's bank account and reconciliation account, so that the payment can be later performed.
The following service run as part of this job:
-
Collect Details To Invoice
The service finds the invoice details that are the object of an agreement with payment periodicity corresponding to that day, groups them on customer / currency/ invoicing type, and creates an invoice to which attaches all those invoice details. When using Distribution Management for Banking, each invoice also receives the customer's bank account and reconciliation account, so that the payment can be later performed.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
The Charge Not Paid Invoices scheduled job runs once each night, after the Generate Invoices scheduled job, finds all the Not Paid
invoices with amounts > 0 and changes their status to Paid
. The update trigger for the Paid
status invoices calls the function defined in the Invoicing Configurations with Scope = Payment
. When using Distribution Management for Banking, the defined function performs the transactions needed for the due payments.
The following service run as part of this job:
-
Charge Not Paid Invoices
The service finds all theNot Paid
invoices with amounts > 0 and changes their status toPaid
. The update trigger for thePaid
status invoices call the function defined in the Invoicing Configurations withScope = Payment
. When using Distribution Management for Banking, it also performs the transactions needed for the due payments.