Purchase Order业务描述
联想VMI系统将联想的采购单下发给3PL。3PL根据采购单进行收货。
Purchase Order集成方式
参考Batch Integration模块
Purchase Order业务字段
| 参数名称 | 参数类型 | 数据库type | 描述 | Primary Key | 是否必填/不为空 |
|---|---|---|---|---|---|
| purchaseOrderId | string | VARCHAR2(10) | PO Id | Y | |
| supplierId | string | VARCHAR2(10) | Supplier Id | ||
| shipToId | string | VARCHAR2(4) | Logical plant | ||
| purchaseOrderLineId | string | VARCHAR2(5) | PO line id | Y | |
| poType | string | VARCHAR2(40) | PO类型 | ||
| itemId | string | VARCHAR2(18) | Material Id | ||
| quantity | number | NUMBER(13,3) | Quantity | ||
| openQuantity | number | NUMBER(13,3) | Open quantity | ||
| storageLocation | string | VARCHAR2(40) | Storage location,S4 如果为空,接口可能为空 | ||
| returnItem | string | VARCHAR2(40) | Remark return PO | ||
| dataType | string | VARCHAR2(20) | PO | ||
| createDate | string | DATE | CreateDate | ||
| startDate | string | DATE | StartDate | ||
| endDate | string | DATE | EndDate |
Purchase Order报文示例
json
{
"push_id": "11111",
"workshop_code": "workshop code",
"source_system": "VMI",
"target_system": "source system",
"system_time":"2020-11-20 14:00:00",
"total_size": 2,
"current_page": 1,
"current_page_size": 1,
"data": [
{
"purchaseOrderId": "A**",
"supplierId": "A**",
"shipToId": "A**",
"purchaseOrderLineId": "A**",
"poType": "MB",
"itemId": "A**A",
"quantity": 111,
"openQuantity": 22,
"storageLocation": "MRMN",
"returnItem": "eeeeeee",
"dataType": "PO",
"createDate": "2021-01-01 11:11:11",
"startDate": "2021-01-01 11:11:11",
"endDate": "2021-01-01 11:11:11"
}
]
}