1

我正在尝试使用 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"
  }]
}

谁能建议这条消息应该是什么样子?

4

1 回答 1

1

我为此使用 344:

{
"PostingDate": "2018-08-14T00:00:00",
"GoodsMovementCode": "04",
"to_MaterialDocumentItem": [{
  "Material": "MZ-FG-E11",
  "Plant": "1710",
  "StorageLocation": "171A",
  "GoodsMovementType": "344",
  "Batch" : "0000000001",
  "QuantityInEntryUnit": "11",
  "IssuingOrReceivingStorageLoc":"171A"

  
  
  }]
}

于 2018-09-11T22:02:16.030 回答