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"/>
<quantity>1</quantity>
<item internalId="48887" type="inventoryItem"/>
<orderLine>1</orderLine>
<itemIsFulfilled>true</itemIsFulfilled>
</item>
</itemList>
</record>
</add>
</Body>
It fail. Then i try with a initialize request :
<Body>
<initialize>
<initializeRecord>
<type>itemFulfillment</type>
<reference type="salesOrder" internalId="4069408"/>
</initializeRecord>
</initialize>
</Body>
But it also fail th same way...
Any idea of how to create a Item Fulfillment record with SOAP ?
Thanks !