Getting error when trying to create receipt Invalid attribute "schedules" in the payload.
Summary:
Trying to create receipt for multiple distributions, however, getting error Invalid attribute "schedules" in the payload.
Content (please ensure you mask any confidential information):
The objective is to create GRN or receipt for multiple distributions, appreciate any kind of help or insight or sample payloads
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
The below is payload.
{"ReceiptSourceCode": "VENDOR","VendorName": "TEST VENDOR","BusinessUnit": "TEST BU","OrganizationCode": "BU","ShipmentNumber": "Test PO Dist","lines": [{"POLineId": 1234,"TransactionType": "RECEIVE","AutoTransactCode": "DELIVER","UnitOfMeasure": "Currency","schedules": [{"LineLocationId": 4567,"distributions": [{"PODistributionId": 8901,"DeliverToLocationId": 3457903,"DeliverToPersonId": 61379,"Quantity": 1000,"Amount": 1000}]}]}]}