Info |
---|
There is a (hidden) page that allows you to schedule the In Salesforce, you'll find a tab called "GoMeddo Subscription Jobs" where you can schedule these jobs. This page explains what the jobs are doingeach job does. |
Job_ApplyIndexation | This job runs the indexation on a monthly schedule. It adjusts applicable contracts and contract products based on the indexation rate. This means:
|
Job_CalculateContractRevenues | This job calculates contract revenues for activated contracts. It also generates Contract Revenue records that can be used for reporting. |
Job_EmailErrorLog | Emails organisation admins about errors occurring within the organisation. |
Job_ContractManagement |
Code Block |
---|
//this job takes care of time dependent actions on contracts. This means:
// - contracts will be activated if the start date is passed and the contract is ready
// - contracts will be terminated when the termination date is passed
// - contracts will be extended when the notice date is passed
//Map<Util_Enums.ContractAction, Integer> actionCount; |
Job_EmailInvoice
Code Block |
---|
This job emails the invoices, this should only run after the Job_InvoiceCreation + Job_InvoicePDFCreation has run. |
Job_ExactQueue
Code Block |
---|
The jobs will create exact queue items to sync accounts, debtors, creditors, ledgersaccounts and get open amounts |
Job_InvoiceCreation
Code Block |
---|
//this batch creates invoices for all Draft orders that are older than the cooldown period |
Job_InvoicePDFCreation
Code Block |
---|
This creates the actual PDF, needs to run after the Job_InvoiceCreation job |
Job_RecurringOrderApplication
Code Block |
---|
//this job takes care of the application of recurring orders (ie orders will be generated) |
Job_RecurringOrderManagement
Code Block |
---|
//this job takes care of time dependent actions on recurring orders, this means
// - recurring orders will be set to inactive if the end date is passed. |
Job_Synchronisation
Code Block |
---|
//this job handles account synchronisation, this means that all accounts that were changed
//since the last run will be synchronised to administrations they are related to and all
//debtors that were changed will be upserted in Salesforce. From the finish method the
//administration queue batches will be started |
...
This job handles time-dependent actions on contracts. It performs the following tasks:
| |
Job_EmailInvoice | This job emails invoices, but only after Job_InvoiceCreation and Job_InvoicePDFCreation have run. Emails are only sent when the Email_Status__c field on the invoice has a value of "Pending" or "Error". Additionally, the account's "Digital Invoicing" checkbox must be set to true. |
Job_EmailReminders | When this job is scheduled, all reminders will automatically be emailed to designated contacts in the system. |
Job_ExactQueue | The jobs will create exact administration queue items for syncing accounts, debtors, creditors, and ledger accounts, as well as retrieving open amounts. |
Job_GetOpenAmounts | This job updates invoices from Twinfield/Exact with their open amounts. |
Job_InvoiceCreation | This batch creates invoices for all Draft orders meeting two conditions: they are older than the cooldown period and not already on another invoice. |
Job_InvoicePDFCreation | This creates the actual PDF and should be run after the Job_InvoiceCreation job. |
Job_RecurringOrderApplication | This job handles the application of recurring orders, generating the orders in the process. |
Job_RecurringOrderManagement | This job takes care of time-dependent actions on recurring orders, this means:
|
Job_ReminderCreation | When this job is scheduled, all reminders will automatically be created in the system. |
Job_SpreadTwinfieldRevenue | In Twinfield, you can spread revenue over time. In GoMeddo we use the order-line period. When this jon is scheduled, we create individual revenue items for the respective periods. |
Job_Synchronisation | This job initiates the handling of request queues for administration. |
Job_TwinfieldQueue | This job handles administration requests requiring synchronisation with Twinfield. |
Job_UnblockAccounts | On a reminder level, you can set an automatic number of days to consider when blocking an account or invoice. After the specified number of days, the account or invoice will automatically be unblocked. |