Soap Item Fulfillment – Transfer Order

Hi everyone,

I’m trying to create an Item Fulfillment from Transfer order like this:


<soapenv:Body>

<add xmlns="urn:messages_2021_1.platform.webservices.netsuite.com">

<record xsi:type="ns8:ItemFulfillment" xmlns:ns8="urn:sales_2021_1.transactions.webservices.netsuite.com">

<ns8:customForm xsi:type="ns9:RecordRef" internalId="207" xmlns:ns9="urn:core_2021_1.platform.webservices.netsuite.com"/>

<ns8:createdFrom xsi:type="ns10:RecordRef" type="transferOrder" internalId="682354" xmlns:ns10="urn:core_2021_1.platform.webservices.netsuite.com"/>

<ns8:tranDate xsi:type="xsd:dateTime">2022-02-10T23:00:00.000Z</ns8:tranDate>

<ns8:memo xsi:type="xsd:string">Test</ns8:memo>

<ns8:itemList xsi:type="ns8:ItemFulfillmentItemList" replaceAll="false">

<ns8:item xsi:type="ns8:ItemFulfillmentItem">

<ns8:quantity xsi:type="xsd:double">1.0</ns8:quantity>

<ns8:inventoryDetail xsi:type="ns11:InventoryDetail" xmlns:ns11="urn:common_2021_1.platform.webservices.netsuite.com">

<ns11:inventoryAssignmentList xsi:type="ns11:InventoryAssignmentList" replaceAll="false">

<ns11:inventoryAssignment xsi:type="ns11:InventoryAssignment">

<ns11:binNumber xsi:type="ns12:RecordRef" internalId="401" xmlns:ns12="urn:core_2021_1.platform.webservices.netsuite.com"/>

<ns11:quantity xsi:type="xsd:double">1.0</ns11:quantity>

<ns11:inventoryStatus xsi:type="ns13:RecordRef" internalId="1" xmlns:ns13="urn:core_2021_1.platform.webservices.netsuite.com"/>

</ns11:inventoryAssignment>

</ns11:inventoryAssignmentList>

</ns8:inventoryDetail>

<ns8:item xsi:type="ns14:RecordRef" internalId="2829" xmlns:ns14="urn:core_2021_1.platform.webservices.netsuite.com"/>

<ns8:orderLine xsi:type="xsd:long">2</ns8:orderLine>

<ns8:itemIsFulfilled xsi:type="xsd:boolean">true</ns8:itemIsFulfilled>

</ns8:item>

<ns8:item xsi:type="ns8:ItemFulfillmentItem">

<ns8:quantity xsi:type="xsd:double">0.0</ns8:quantity>

<ns8:item xsi:type="ns15:RecordRef" internalId="5225" xmlns:ns15="urn:core_2021_1.platform.webservices.netsuite.com"/>

<ns8:orderLine xsi:type="xsd:long">5</ns8:orderLine>

<ns8:itemIsFulfilled xsi:type="xsd:boolean">false</ns8:itemIsFulfilled>

</ns8:item>

</ns8:itemList>

<ns8:customFieldList xsi:type="ns16:CustomFieldList" xmlns:ns16="urn:core_2021_1.platform.webservices.netsuite.com">

</ns8:customFieldList>

</record>

</add>

</soapenv:Body>

</soapenv:Envelope>

In response I get this error:

The total inventory detail quantity must be 1.

Could you tell me what I am wrong in the request?

Thanks

 

Rookie Asked on February 10, 2022 in Other.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor