我正在尝试使用 API 将库存从无限制库存转移到冻结库存。我使用的 API 是 API_MATERIAL_DOCUMENT_SRV。我收到以下错误:
“无法在项目级别为此操作设置字段 InventoryStockType”
我通过 Postman 发布的消息如下:
{
"PostingDate": "2018-08-14T00:00:00",
"GoodsMovementCode": "01",
"to_MaterialDocumentItem": [{
"Material": "MZ-FG-E11",
"Plant": "1710",
"StorageLocation": "171A",
"GoodsMovementType": "311",
"Batch" : "0000000001",
"InventoryStockType": "01",
"EntryUnit": "PC",
"QuantityInEntryUnit": "11",
"IssuingOrReceivingStockType":"02",
"IssgOrRcvgMaterial":"MZ-FG-E11",
"IssgOrRcvgBatch":"0000000001",
"IssuingOrReceivingPlant":"1710",
"IssuingOrReceivingStorageLoc":"171A"
}]
}
谁能建议这条消息应该是什么样子?