Join Slack
Powered by
Wondered if anybody has any experience trying to r...
# suitetalkapi
m
Matthew
08/02/2022, 9:35 PM
Wondered if anybody has any experience trying to receive inbound shipments via the API. Netsuite's documentation seems incomplete and/or contradictory on this feature (
https://system.netsuite.com/help/helpcenter/en_US/APIs/REST_API_Browser/record/v1/2022.1/index.html#/definitions/receiveIn[…]-receiveItemsCollection
and
https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2022_1/script/record/receiveinboundshipment.html
) with all fields apparently optional. I also can't see from the documentation how to set the serial numbers and bin locations. I have tried a really basic attempt with the minimum possible fields I could guess would be required from Postman but get an error about an invalid sublist or line each time. Rest API and Beta is enabled in our preferences.
b
battk
08/02/2022, 10:20 PM
https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2022_1/script/record/receiveinboundshipment.html
is unrelated to suitetalk
battk
08/02/2022, 10:20 PM
the record browser is for suitescript
battk
08/02/2022, 10:22 PM
your invalid sublist operation is probably because you havent set the key field
battk
08/02/2022, 10:23 PM
a keyed sublist without a key field set is interpreted as adding a new line, which is invalid in the context of receiving against an inbound shipment
battk
08/02/2022, 10:24 PM
Working with Sublists
and its 4 subsections go over how keyed and non keyed sublists work
battk
08/02/2022, 10:27 PM
keep in mind that receiveInboundShipment is a beta record, it just may not work in the first place
59
Views
Open in Slack
Previous
Next