Can't perform PO receipt using rest api receivingReceiptRequests having different UOM on item and PO
Hi
I am trying to receive items using fscmRestApi/resources/11.13.18.05/receivingReceiptRequests (rest api). It works fine if we have same UOM on Item and PO.
It is failing in the case : Item UOM : EA and UOM on PO : PCS ; Conversion is already defined in the system and we are able to receive the same line from the system. Below is my request body:
{"ReceiptSourceCode":"VENDOR","OrganizationId":300000004238215,"BusinessUnitId":300000004236544,"InsertAndProcessFlag":"true","SaveAndSubmitFlag":"true","VendorId":300000004680349
,"lines":[{"SourceDocumentCode":"PO","ReceiptSourceCode":"VENDOR","TransactionStatusCode":"PENDING","ProcessingStatusCode":"PENDING","TransactionType":"RECEIVE","AutoTransactCode":"RECEIVE","OrganizationId":300000004238215,"Subinventory":"Receiving","ItemId":100000008499041,"DocumentNumber":"LML/PO-3155","InterfaceSourceLineId":1020,"POHeaderId":300000023653965,"POLineId":300000023653966,"POLineLocationId":300000023653967,"Quantity":5,"UOMCode":"PCS"}]}
API Gives generic error :