Trying to return material via REST services. I’m going for this endpoint: v1/Erp.BO.IssueReturnSvc/PerformMaterialMovement
And getting an error of: You cannot issue parts of UOM Class Length that require UOM Class
The payload has the UOM, DUM, UM, and every other UOM I could find in the Swagger documentation. Payload looks something like this:
{
“plNegQtyAction”: true,
“ds”: {
“IssueReturn”: [
{
“Company”: “SD”,
“TranDate”: “2024-02-15”,
“PartNum”: “.125-SCE41B-54”,
“TranQty”: “1”,
“DimCode”: “LF”,
“DUM”: “LF”,
“UM”: “LF”,
“FromJobNum”: “583084”,
“FromAssemblySeq”: 0,
“FromJobSeq”: 20,
“FromJobSeqPartNum”: “.125-SCE41B-54”,
“LotNum”: “080600000272837/2q21”,
“FromJobPlant”: “MfgSys”,
“FromWarehouseCode”: “MAIN”,
“FromBinNum”: “CENTERS”,
“ToWarehouseCode”: “MAIN”,
“ToBinNum”: “CENTERS”,
“TranReference”: “sm-postman”,
“PartTrackLots” : true,
“TranType”: “STK-MTL”,
“RowMod”: “U”
}
]
}
}
Just a shot in the dark if any one has had success returning material via REST.