What is the reason for this error "The total serial quantity must match the transaction quantity."?
I need the REST API information to complete the WO serial line in the 'Review Dispatch List'
Currently when I am trying with the following API, I am facing few issues and not able to complete the WO serials.
API (POST): https://«host name»/fscmRestApi/resources/11.13.18.05/operationTransactions
Request Body:
{
"SourceSystemCode": "FUSION_MOBILE",
"SourceSystemType": "EXTERNAL",
"OperationTransactionDetail": [
{
"SourceSystemCode": "FUSION_MOBILE",
"OrganizationCode": "PLE",
"TransactionQuantity": 1,
"TransactionUnitOfMeasure": "EA",
"WoOperationSequenceNumber": 10,
"WorkOrderNumber": "WO-PLE1084",
"FromDispatchState": "READY",
"ToDispatchState": "COMPLETE",
"MaterialTransactionDetail": [
{
"InventoryItemNumber": "TRL-100656",
"SubinventoryCode": "DEFAULT",
"Locator": "",
"TransactionQuantity": 1,
"TransactionUnitOfMeasure": "EA",
"WoOperationSequenceNumber": 10,
"MaterialTransactionLot": [
{
"LotNumber": "WO-PLE1084-LOT-1",
"TransactionQuantity": 1
}
],
"MaterialTransactionSerial": [
{
"LotNumber": "WO-PLE1084-LOT-1",
"SerialNumber": "8972892333-2-SB"
}
]
}
]
}
]
}
The following is the error I am facing when I try: