how to find the correct document line number while we are receiving transfer order shipment?
Summary:
we have a requirement to create receipt for transfer order.so we created one transfer order with two lines, and each line is having two lots. If we are trying to create receipt but rest api is giving error.
Content (please ensure you mask any confidential information):
we got a rest api for this one but it is not working as expected.
/fscmRestApi/resources/11.13.18.05/linesToReceive
Version (include the version you are using, if applicable):
REST API :
/fscmRestApi/resources/11.13.18.05/receivingReceiptRequests
REQUEST BODY
{ "FromOrganizationCode": "A", "OrganizationCode": "B", "ReceiptSourceCode": "TRANSFER ORDER", "ShipmentNumber": "4203128", "lines": [{ "SourceDocumentCode": "TRANSFER ORDER", "ReceiptSourceCode": "TRANSFER ORDER", "TransactionType": "RECEIVE", "AutoTransactCode": "DELIVER", "DocumentNumber": "4203128", "DocumentLineNumber": "4", "ItemNumber": "ABC", "OrganizationCode": "B", "Quantity": "1000", "Subinventory": "UK_RECEIVE", "Locator": "1.1.UK_RECEIVE", "lotItemLots": [{ "LotNumber": "IXE20250720-A", "TransactionQuantity": "1000" }] }, { "SourceDocumentCode": "TRANSFER ORDER", "ReceiptSourceCode": "TRANSFER ORDER", "TransactionType": "RECEIVE", "AutoTransactCode": "DELIVER", "DocumentNumber": "4203128", "DocumentLineNumber": "2", "ItemNumber": "RFA00126", "OrganizationCode": "B", "Quantity": "1000", "Subinventory": "UK_RECEIVE", "Locator": "1.1.UK_RECEIVE", "lotItemLots": [{