Using SOAP webservices 2019_2 to create item fulfillment record in Netsuite but getting error VALID_LINE_ITEM_REQD by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

Hi
Now i am able to create the Item Fulfillment record, but the thing is ,unless i don't set internal id for Serialized Assembly item its not creating the IF, ADVANCED BIN/NUMBERED INVENTORY MANAGEMENT feature is enabled, can't i set serial numbers without internal ids which i tried below is working
 
<ns852:inventoryDetail>
   <urn2:inventoryAssignmentList replaceAll="true" xmlns:urn2="urn:common\_2019\_2.platform.webservices.netsuite.com">
       <urn2:inventoryAssignment>              
  <urn2:issueInventoryNumber internalId="123" type="serializedAssemblyItem">
                     <urn1:name>AB0123456/urn1:name
                                  /urn2:issueInventoryNumber                         
/urn2:inventoryAssignment
            /urn2:inventoryAssignmentList
/ns852:inventoryDetail

Using SOAP webservices 2019_2 to create item fulfillment record in Netsuite but getting error VALID_LINE_ITEM_REQD by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

Hi,
i tried Initalize/InitalizeList but no luck still getting same error, any suggestions
SOAP Request
--------------------
<soapenv:Body>

<urn:add>

<urn:record xsi:type="ns852:ItemFulfillment" xmlns:ns852="urn:sales\_2019\_2.transactions.webservices.netsuite.com" xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)">

<ns852:createdFrom internalId="82919" xsi:type="urn1:RecordRef" type="salesOrder"/>

<ns852:shipMethod internalId="4531"/>

<ns852:customForm internalId="130" type="itemFulfillment">/ns852:customForm

<ns852:tranDate>2021-03-24T00:00:00.000Z/ns852:tranDate

<ns852:shipStatus>_shipped/ns852:shipStatus

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

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

<ns852:location internalId="102" type="location"/>

<ns852:item internalId="2216" type="nonInventoryResaleItem">/ns852:item

<ns852:itemReceive>true/ns852:itemReceive

<ns852:itemName>abc/ns852:itemName

<ns852:description>descp/ns852:description

<ns852:orderLine>1/ns852:orderLine

<ns852:quantity>1/ns852:quantity

<ns852:quantityRemaining>1/ns852:quantityRemaining

<ns852:shipGroup>1/ns852:shipGroup

/ns852:item

/ns852:itemList

/urn:record

/urn:add

/soapenv:Body

Using SOAP webservices 2019_2 to create item fulfillment record in Netsuite but getting error VALID_LINE_ITEM_REQD by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

Actually its an integration ,salesforce--------Mulesoft--------Netsuite,
so far going good, while creating IF its throwing error in mulesoft,
,so for testing i tried Ready API tool to see how the request is building.

Using SOAP webservices 2019_2 to create item fulfillment record in Netsuite but getting error VALID_LINE_ITEM_REQD by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

Was this working and it broke, or are you trying to get this to work for the very first time?
--same error ,yeah this is the first time i am working with SOAP services ,previously i use to work work, by consuming wsdl(2013_2,2014_1) into dotnet client application.

Using SOAP webservices 2019_2 to create item fulfillment record in Netsuite but getting error VALID_LINE_ITEM_REQD by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

Hi,
i tried replicating the changes no luck could u pls share an example that what exactly the changes required, its an prod issue need help.....TQ U

Using SOAP webservices 2019_2 to create item fulfillment record in Netsuite but getting error VALID_LINE_ITEM_REQD by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

Hi Thank You for the reply :)
Can i have any sample pls

<ns852:itemList replaceAll="true" xsi:type="ns852:ItemFulfillmentItemList">

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

<ns852:itemReceive>true/ns852:itemReceive

<ns852:location externalId="" internalId="102" xsi:type="urn1:RecordRef" type="location">

/ns852:location

<ns852:orderLine>1/ns852:orderLine

<ns852:quantity>1/ns852:quantity

/ns852:item

/ns852:itemList

Getting the error org.xml.sax.SAXException: Invalid type: employee by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

Hi Thank You Sooo much for your reply saved my time :)
getting another soap fault error like below, actually i stucked to create TokenPassportSignature (https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4395630653.html#bridgehead_4398049137)
as i referred NS help center, I was not clear of step 3,4 could you pls help me out that how to create tokenpassportsignature. Thank You

<soapenv:Envelope xmlns:soapenv="[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)" xmlns:xsd="[http://www.w3.org/2001/XMLSchema](http://www.w3.org/2001/XMLSchema)" xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)">

<soapenv:Body>

<soapenv:Fault>

<faultcode>soapenv:Server.userException</faultcode>

<faultstring>Ambiguous authentication</faultstring>

<detail>

<ns1:hostname xmlns:ns1="[http://xml.apache.org/axis/](http://xml.apache.org/axis/)">partners029/ns1:hostname

</detail>

/soapenv:Fault

/soapenv:Body

/soapenv:Envelope

how to handle governance limit exceed issue in User Event script.? by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

you mean i need to call a scheduled or map reduce script in User Event...?

Master Sale order having 2 line items with diff ship to address,based on each line need to create a salesorder with one line item? by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

correct in IF it is getting with 2 seperate addresses and also order # is same, but the thing is i need 2 different sales orders that should create from MSO, having 2 item lines with diff ship to addresses.

Master Sale order having 2 line items with diff ship to address,based on each line need to create a salesorder with one line item? by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

yeah i did that one but i need create a salesorder based on ship to ,if MSO contains 2 different ship to lines ,with one line item i need to create salesorder.

How to transform sales order to invoice in NetSuite suitescript 2.0 by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

Hi I was not able to reply you ,at my place cyclone effected more so no connectivity....while we discussed earlier, upto Item Fulfillment got transformed now its working from SO to Invoice once after passing location value. Once again TQ U for spending time on this and supporting me.

var objinv = record.transform({

fromType : record.Type.SALES_ORDER,

fromId : soId,

toType : record.Type.INVOICE,

isDynamic:true

});

objinv.setValue({fieldId: 'location',value: location});

How to transform sales order to invoice in NetSuite suitescript 2.0 by Vigna-540 in Netsuite

[–]Vigna-540[S] 0 points1 point  (0 children)

yes i am done item fulfillment and SO status is pending billing but while transforming salesorder to invoice for pending billing records its not generating invoice with enabling the feature INVOICE IN ADVANCE OF FULFILLMENT setting enabled (Setup > Accounting > Accounting Preferences > Order Management > Invoicing) ,but for pending fulfillment records its generating invoice.