Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Initialize item fulfillment with multi location inventory enabled with SOAP webservices
I am trying to fulfill a Sales Order using SOAP web services. The first step in doing this is the initializeRecord operation
<initializeRecord xsi:type="urn1:InitializeRecord"> type xsi:type="xsd:string">itemFulfillment</type> <reference internalId="27624" type="salesOrder" xsi:type="urn1:InitializeRef"/> </initializeRecord>
However this returns an error code VALID_LINE_ITEM_REQD with message "You must have at least one valid line item for this transaction."
We do have multi location inventory enabled and I have seen some solutions suggesting to add default values for the location, however I don't see this option in the soap API. Is it missing or am I looking for the wrong thing? An example of code I have seen:
0