Inbound events

Aptean EAM  •  Article  •  1/28/2026  • 

The EAM system sends inbound extract events to Business Central through AIP. These events update financial and procurement data by creating or modifying general journal lines, purchase invoices, or purchase credit memos based on the information received in the payload. However, these documents are not posted.

Business Central processes the following inbound events:

  • GL Extract Event
  • Receipt Extract Event

GL Extract Event

Business Central processes the gl-extract-v1 inbound event (mapped to schema-only-gl-extract-v1) to create general journal lines in the journal batch defined on the EAM Setup page. Each event adds new lines to the same batch.

The system reads transaction details from the payload and creates journal lines based on the following field mappings:

Field in Business CentralPayload value
Posting DateThe transaction date from the related accounting information.
Document TypeBlank
Document No.The next number from the number series in the General Journal Document No. field on the EAM Setup page.
External Document No.The value is created by joining the transaction date and transaction time received from EAM.
Account TypeG/L Account (Default value)
Account No.An Issue transaction posts to the account on the accounting line, or to stores_account when that account is blank. An Rturn transaction posts to the Inventory Requisition Balance Account field value on the EAM Setup page. An Adjst transaction posts to the first account EAM sends on its accounting lines, or to stores_account when none is sent. An account that EAM sends is matched through an Aptean Integration Platform (AIP) translation for the EAM product, and then by G/L account number. An issue or a return creates one journal line for each accounting line.
Bal. Account No.An Issue transaction balances to the Inventory Requisition Balance Account field value. An Rturn transaction balances to the account on the accounting line, or to stores_account when that account is blank, matched the same way. An Adjst transaction balances to the Inventory Adjustment Balance Account field value.
AmountFor an Issue or an Rturn transaction, the amount on the accounting line. For an Adjst transaction, quantity times unit cost.

Receipt Extract Event

Business Central processes the receipt-extract-v1 event sent from EAM through AIP using the schema-only-eam-receipt-extract-v1 definition. With this event, Business Central creates or updates purchase invoices and purchase credit memos from the receipt information in the payload.

Each transaction adds its own line, with the quantity in qty_tran, to the open purchase invoice for its purchase order, release, and change order. The open document is matched by vendor and vendor document number. A supplier return reduces that invoice. The return goes whole to a purchase credit memo when there is no open invoice, or when the invoice would fall below zero. When the invoice or credit memo for that purchase order, release, and change order is posted, released, or pending approval, the next one is numbered from the purchase invoice or credit memo series and its vendor document number ends in -1, -2, and so on. A transaction with a negative quantity fails the event, and one with a zero quantity is skipped.

The line's G/L account is the account on the accounting line, or stores_account when that account is blank. It is matched through an AIP translation for the EAM product, and then by G/L account number. A value that is filled in and does not match fails the event. The matched account must allow direct posting.

The system reads transaction details from the payload and creates document lines based on the following field mappings:

Field in Business CentralPayload value
Vendor No.The vendor number sent from EAM.
Document DateThe transaction date sent from EAM.
Document No.The next number from the purchase invoice or credit memo number series.
Vendor Invoice No.The purchase order, release, and change order, joined with hyphens (for example: PO-REL-CO). On a credit memo this value is the vendor credit memo number. A later document for the same order ends in -1, -2, and so on.
TypeG/L Account (Default value)
No.The account on the accounting line, or stores_account when that account is blank, matched through an AIP translation for the EAM product and then by G/L account number. A filled-in value that does not match fails the event. The account must allow direct posting.
QuantityThe qty_tran value. A supplier return that reduces the open invoice is stored as a negative quantity.
Direct Unit CostThe cost of a single unit of the item sent from EAM.
DescriptionA combined value created by adding the item number and description with a hyphen (for example: ITEM-DESCRIPTION).

The logic and field mappings for purchase invoices and purchase credit memos are the same.