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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
How to create Item Fulfillment from Sales Order with SOAP API ?
Hi !
With https://github.com/netsuitephp/netsuite-php i try to create a Item Fulfillment base on Sales Order, but i got this error :
<platformCore:status isSuccess="false"
xmlns:platformCore="urn:core_2023_1.platform.webservices.netsuite.com">
<platformCore:statusDetail type="ERROR">
<platformCore:code>VALID_LINE_ITEM_REQD</platformCore:code>
<platformCore:message>You must have at least one valid line item for this transaction.
</platformCore:message>
</platformCore:statusDetail>
</platformCore:status>
First, i try to add a Item Fulfillment with the createdFrom and Items records :
<Body>
<add>
<record xsi:type="ItemFulfillment">
<createdFrom internalId="4069408" type="salesOrder"/>
<shipStatus>_picked</shipStatus>
<itemList replaceAll="true">
<item>
<location internalId="124"/>
Tagged:
0