MGCLatticeVendorASNLineChangedBusinessEvent
Business event raised once per purchase advanced shipping notice (ASN) line when the line is created - a purchase WHSASNItem row is created - or when the quantity an existing purchase ASN line announces changes. It gives receiving warehouses and TMS/3PL systems an immediate signal of announced inbound freight (PO, shipment, load, item, quantity, batch expiry) instead of waiting for the product receipt. ASN lines D365 generates for outbound sales and transfer loads do not raise it.
- Event id:
MGCLatticeVendorASNLineChangedBusinessEvent - Contract class:
MGCLatticeVendorASNLineChangedBusinessEventContract
Payload fields
| Name | Type | Description |
|---|---|---|
eventSequence | int64 | Gets or sets the ordering sequence of this emission. |
correlationId | str | Gets or sets the identifier grouping emissions that belong to one logical run or flow. |
schemaVersion | int | Gets or sets the payload schema version of the emitting contract. |
legalEntity | DataAreaId | Gets or sets the legal entity. |
purchaseOrderId | PurchId | Gets or sets the purchase order number. |
shipmentId | WHSShipmentId | Gets or sets the shipment id. |
loadId | WHSLoadId | Gets or sets the load id. |
itemId | ItemId | Gets or sets the item number. |
inventTransId | InventTransId | Gets or sets the inventory transaction id. |
quantity | real | Gets or sets the quantity the line announces now. |
previousQuantity | real | Gets or sets the quantity the line announced before this change, in its current unit; 0 for a new line. |
isNewLine | boolean | Gets or sets whether the ASN line was just created (true) or an existing line's quantity changed (false). |
unitId | str | Gets or sets the unit of measure. |
description | str | Gets or sets the ASN item description. |
batchExpirationDate | date | Gets or sets the batch expiration date. |
changedDateTime | utcdatetime | Gets or sets the UTC time the ASN line was created or its quantity changed. |