/
7.6.7 Schedule "Update Delivery Data" Apex job for PreInvoices

7.6.7 Schedule "Update Delivery Data" Apex job for PreInvoices

Preinvoice generation has been updated! During the Delta pre-invoice generation development, we have cleaned up and enhanced the basic (legacy) pre-invoice generation. As of version 2.173, the “Update delivery data” process is included in the Pre-Invoice generation. This means that this Apex job should be deactivated and not used.

When creating PreInvoices the Delivery Data will not be automatically updated for non linear positions. You have to go into every PreInvoice and click the button to update the delivery data. Now you can help your users to safe time: Schedule this for them. Here is how to:

1. Navigate to Apex Classes in the Setup and click on the "Schedule Apex" Button:

2. Schedule a Job

Fill out the following fields:

  • Give your job a name: UpdateAutomaticDeliveryBatch (or any other name)

  • search for the Apex Class: InvoiceAutomaticDeliveryBatch 

  • and select time which are working for your company. 

  • Then click on save.

3. Error Handling

With version 2.128, there is increased error handling for the InvoiceAutomaticDeliveryBatch. Users will be informed of all errors caught via email. 

 

Related content