Skip to main content

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​

NameTypeDescription
eventSequenceint64Gets or sets the ordering sequence of this emission.
correlationIdstrGets or sets the identifier grouping emissions that belong to one logical run or flow.
schemaVersionintGets or sets the payload schema version of the emitting contract.
legalEntityDataAreaIdGets or sets the legal entity.
purchaseOrderIdPurchIdGets or sets the purchase order number.
shipmentIdWHSShipmentIdGets or sets the shipment id.
loadIdWHSLoadIdGets or sets the load id.
itemIdItemIdGets or sets the item number.
inventTransIdInventTransIdGets or sets the inventory transaction id.
quantityrealGets or sets the quantity the line announces now.
previousQuantityrealGets or sets the quantity the line announced before this change, in its current unit; 0 for a new line.
isNewLinebooleanGets or sets whether the ASN line was just created (true) or an existing line's quantity changed (false).
unitIdstrGets or sets the unit of measure.
descriptionstrGets or sets the ASN item description.
batchExpirationDatedateGets or sets the batch expiration date.
changedDateTimeutcdatetimeGets or sets the UTC time the ASN line was created or its quantity changed.