Discussions

Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Pop Quiz ! You only have until February 29, 2024, 2 PM ET to comment your answers and earn rewards! Click here for more details.
Discover NetSuite's potential! Join our webinars, learn from experts, and optimize your operations. Whether you're experienced or new, secure your spot today and stay ahead in NetSuite!
Share with colleagues and friends who could benefit from our webinars too!
Don't miss out on our Question of the week! You only have until tomorrow, February 29, 2024, 2PM ET to comment your answers and earn rewards! Click here for more details.

How to create Item Fulfillment from Sales Order with SOAP API ?

edited Dec 5, 2023 8:27PM in Ask A Guru 2 comments

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"/>
          

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 1 (Jan-Mar 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders