Goods Receival (GR)
The Goods Receival process starts when goods arrive at the warehouse and are assigned locations in AutoStore. It ends when eManager receives a Goods Receival (GR) import from the WMS/ERP system.
Data structure
The table below describes the Goods Receival (GR) import data structure. In addition to the Goods Receival fields described in the table, the Product Information (PI) import data structure fields are allowed as part of a Goods Receival import, so that product information can be specified in the same import.
Field name | Type | Length | Mandatory | Description |
---|---|---|---|---|
TransactionId | Integer | 32-bit | No | Unique identifier for transaction |
PurchaseOrderId | String | 50 | Yes | Puchase order identifier |
PurchaseOrderLineId | Integer | 32-bit | Yes | Purchase order line number |
ExtProductId | String | 50 | Yes | Product number |
Quantity | Decimal | 18,3 | Yes | Quantity to place into warehouse |
BatchId | String | 50 | No | Unique identifier for the batch |
ExpiryDate | String | 50 | No | Expiry date |
Returned | Boolean | - | No | Indicates if inbound order line is returned goods. Values: 0 = not returned 1 = returned |
Transport
The API reference contains more details about how to send a GR using HTTP transport: ImportGoodsReceival.
Examples
XML
<?xml version="1.0" encoding="utf-8"?>
<ImportOperation>
<Lines>
<GoodsReceivalLine>
<TransactionId>1646794</TransactionId>
<PurchaseOrderId>PO-02311</PurchaseOrderId>
<PurchaseOrderLineId>1</PurchaseOrderLineId>
<ExtProductId>6505093</ExtProductId>
<Quantity>3.00</Quantity>
<BatchId>A1</BatchId>
<ExpiryDate>2020-12-31</ExpiryDate>
<Returned>0</Returned>
</GoodsReceivalLine>
<GoodsReceivalLine>
<TransactionId>1646794</TransactionId>
<PurchaseOrderId>PO-02311</PurchaseOrderId>
<PurchaseOrderLineId>2</PurchaseOrderLineId>
<ExtProductId>54321</ExtProductId>
<Quantity>3.00</Quantity>
<Returned>1</Returned>
</GoodsReceivalLine>
</Lines>
</ImportOperation>