Table of Contents

Job Queue Automation Setup

Advanced Intercompany can be fully automated by using job queue entries.

Setting up Job Queues

To set up a job queue for the current company:

  1. Choose the Lightbulb that opens the Tell Me feature icon, enter IIC Setup, and then select a related link.
  2. On the IIC Setup page, go to the Actions tab and use the Automate with Job Queue... function.
  3. On the Automate with Job Queue page, choose the company type. Depending on the chosen option: Buying Company, Selling Company or Buying & Selling Company, different settings will appear on the page.
Important

Job queue entries must be created separately in each company using Advanced Intercompany so the process could be fully automated.

  1. Choose the processes you want to automate by selecting the required fields in the Auto Process (Inbound Messages), Auto Send (Outbound Messages) or Auto Post group.
  2. On the Job Queue Entries Setting FastTab, review the default job queue entry settings and update them, if needed.
  3. Select the OK button and confirm the dialog message.
  4. As the result, the system will create new Job Queue Entry Cards for the object responsible for the process automation.
Note

Creating job queue entries with Automate with Job Queue... action will also update the fields on the Auto Process FastTab and Auto Send FastTab on the IIC Setup page.

Job Queue Definitions

Each stage of the process in the Advanced Intercompany application can be automated or not, depending on the specific requirements of the customer. This provides complete flexibility and control over various business scenarios within the application. Job queue entries can be created for the following processes.

Send Outbound Messages - The report is used to send all outbound IIC messages pending for synchronization and can be set up in both the SELLER and BUYER companies. The report uses object 20020697.

Note

If an error occurs while sending, it will stop processing further messages to keep a correct processing order.

Auto Process New Purchase Document - The job queue is used to automate the processing of purchase documents in the IIC purchase buffer. After accepting a buffer document, a new purchase document will be created with a type of the document specified in the Document Type field and with the IIC Status Code field set to NEW. The job queue uses codeunit 20020782 and has to be set up in the BUYER company.

Auto Process New Sales Document - The job queue is used to automate the processing of sales documents in the IIC sales buffer. After accepting a buffer document, a new sales document will be created with a type of the document specified in the Document Type field and with the IIC Status Code field set to NEW. The job queue uses codeunit 20020783 and has to be set up in the SELLER company.

Auto Process Purchase Confirmation - The job queue is used to auto-process all purchase documents which were updated and need to be confirmed by the BUYER side. The IIC Status Code field will be set to CONFIRMED after accepting a purchase confirmation in the IIC purchase buffer. The job queue uses codeunit 20020784 and has to be set up in the BUYER company.

Auto Process Sales Confirmation - The job queue is used to auto-process all sales documents which were updated and need to be confirmed by the SELLER side. The IIC Status Code field will be set to CONFIRMED after accepting a sales confirmation in the IIC sales buffer. The job queue uses codeunit 20020785 and has to be set up in the SELLER company.

Auto Process Shipment Notification - The job queue is used to auto-process all shipment notifications in the IIC purchase buffer. After accepting the shipment notification, the IIC Shipment Status and IIC Shipped Qty.(Base) fields on sales order lines will be updated. Also, an IIC order dispatch entry will be created for this shipment. The job queue uses codeunit 20020786 and has to be set up in the BUYER company.

Auto Process Invoice/Cr. Memo - The job queue is used to auto-process all invoices or credit memos in the IIC purchase buffer. After accepting the document in the buffer, the associated shipment will be posted and deleted. The job queue uses codeunit 20020787 and has to be set up in the BUYER company.

Auto Process Return Receipt - The job queue is used to auto-process all return receipt notifications in the IIC purchase buffer. After accepting the return receipt notification, the IIC Shipment Status and IIC Shipped Qty.(Base) fields on purchase return order lines will be updated. Also, IIC order dispatch entries for the return shipment will be created. The job queue uses codeunit 20020794 and has to be set up in the BUYER company.

Note

If the Auto Post Drop Shipment Return Receipt field is selected on the IIC Setup page, after accepting the return receipt, in addition to updating the IIC Shipment Status and IIC Shipped Qty.(Base) fields, also a return shipment notification will be posted on the purchase return order and a return receipt to the final customer will be posted on the associated sales return order.

Auto Process Return Shipment - The job queue is used to auto-process all return shipment notifications in the IIC sales buffer. After accepting a return shipment notification, the IIC Shipment Status and IIC Shipped Qty.(Base) fields on sales return order lines will be updated. Also, IIC order dispatch entries for this return shipment will be created. The job queue uses codeunit 20020805 and has to be set up in the SELLER company.

Auto Post & Send Confirmed Sales Invoices - The job queue is used to post and send sales invoices or sales credit memos which were confirmed by your IIC partner and are ready for processing. The job queue uses codeunit 20020788 and has to be set up in the SELLER company.

Auto Send Posted Sales Shipments - The job queue is used to send all posted sales shipments automatically. After running the job queue, the IIC Status field of the sales shipment will be set to OUTBOUND. The job queue uses codeunit 20020790 and has to be set up in the SELLER company.

Auto Send Posted Sales Invoices - The job queue is used to send all posted sales invoices automatically. After running the job queue, the IIC Status field of the sales invoice will be set to OUTBOUND. The job queue uses codeunit 20020791 and has to be set up in the SELLER company.

Auto Send Posted Sales Cr. Memo - The job queue is used to send all posted sales credit memos automatically. After running the job queue, the IIC Status field of the sales credit memo will be set to OUTBOUND. The job queue uses codeunit 20020810 and has to be set up in the SELLER company.

Auto Send Posted Return Shipments - The job queue is used to send all posted purchase return shipments automatically. After running the job queue, the IIC Status field of the return shipment will be set to OUTBOUND. The job queue uses codeunit 20020807 and has to be set up in the BUYER company.

Auto Send Posted Return Receipts - The job queue is used to send automatically all posted sales return receipts in the drop shipment process. After running the job queue, the IIC Status field of the return receipt will be set to OUTBOUND. The job queue uses codeunit 20020793 and has to be set up in the SELLER company.

A Hint on which Side to Configure the Job Queue

Job Queue name BUYER Company SELLER Company
Send Outbound Messages ✔️ ✔️
Auto Process Purchase Conf. ✔️
Auto Process New Purch. Doc. ✔️
Auto Process New Sales Doc. ✔️
Auto Process Sales Conf. ✔️
Auto Process Shipment Not. ✔️
Auto Process Invoice / Cr. Memo ✔️
Auto Process Return Shipment ✔️
Auto Process Return Receipt ✔️
Auto Send Posted S.Shipment ✔️
Auto Send Posted S.Invoice ✔️
Auto Send Posted S. Cr. Memo ✔️
Auto Send Posted Return Shipments ✔️
Auto Send Posted Return Receipts ✔️
Auto Post & Send Conf. Sales Invoice ✔️