In batch mode multiple rows can be loaded into the database by one EagleML message. In this mode the element element warehouseTransaction can contain several can contain several warehouseCloseLot complex elements. The data from each element will be loaded into a separate database row.
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Batch Key Element
The group of complex elements (so-called 'batch') is given a specific set of values - a batch key (warehouseTransaction/batchKeyelement).
For WarehouseCloseLot it is Entity Id, Effective Date and Source Name formatted as entityId^effectiveDate^sourceName
entityId – the
elementelement warehouseTransaction/warehouseCloseLot/entityId. Should be specified if it mapped from the EagleML message directly (in
thethe warehouseTransaction/warehouseCloseLot/entityId). If the value of entityId is defined by
thethe warehouseTransaction/warehouseCloseLot/xrefAccountId
andand warehouseTransaction/warehouseCloseLot/xrefAccountIdType
elementselements, the first part
ofof warehouseTransaction/batchKey
couldcould be any. The batch key will be updated with the entityId calculated from xref Ids.
effectiveDate – the
elementelement warehouseTransaction/warehouseCloseLot/effectiveDate. Should be specified in DATE format: YYYYMMDD.
sourceName – the
elementelement warehouseTransaction/warehouseCloseLot/sourceName.
Examples of correct WarehouseCloseLot batch key:
...