edoc D365 BC invoice cockpit Administration Guide
Breadcrumbs

Configure job queue entries for edoc invoice cockpit

You can automate some tasks related to purchase invoices and G/L journal lines in Microsoft Dynamics 365 Business Central and edoc invoice cockpit:

  • Import processes and then create and post invoices and G/L journal lines from the imported processes. Enter the corresponding parameters under edoc invoice cockpit setup > General > invoice cockpit active and Auto posting invoices.

  • Automatically clean up edoc D365 BC invoice cockpit log entries using a job queue entry.

You define the job queues–as usual–directly in Microsoft Dynamics 365 Business Central.

For more information about setting up job queue entries, see the Microsoft Docs website for Microsoft Dynamics 365 Business Central.

Define a job queue entry for edoc invoice cockpit so that both purchase invoices and G/L journal lines in Microsoft Dynamics 365 Business Central are created automatically and, for example, log entries are deleted.

You first create a new job queue entry. In the dialog, you must fill in the following fields with the specified values:

  • Type of object to be executed: Select the CodeUnit entry.

  • ID of the object to be executed: Enter the value 72290876.

  • Parameter string: Enter the corresponding string for the object to be executed:

    • TransferInvoiceData: Reads in new processes and checks the processes for errors.

    • TransferInvoiceDataAndCreateInvoice: Reads in new processes and checks the processes for errors. Creates purchase invoices or G/L journal lines from error-free imported processes depending on the value in the Documenttype cost acc. in the edoc IC Setup table.

    • TransferInvoiceDataAndCreateAndPostInvoice: Reads in new processes and checks the processes for errors. Depending on the value in the Documenttype cost acc. in the edoc IC Setup table, creates purchase invoices or G/L journal lines from error-free imported processes and posts them.

    • CleanUpLogTable: Deletes the data in the log table that is older than the value you specified in Log lifespan in days in the edoc IC Setup table.

You can define more details for the job queue entry, e.g. start times and repetitions.

Things to know

Regardless of which repetitions you define for the automation, the duration of the retention of log entries is not affected.