Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to 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: