Saturday, December 8, 2018

Link Invoice to Sales Order using upsertList

This article is applicable if there is a need to link Invoices and Sales Orders using upsertList. For the created from field to be produced and the Invoice be linked to the Sales Order, the upsertList Invoice request must not contain the itemList. Take note that these records are past transactions, thus data such as transaction dates must be maintained.

Below is a sample SOAP request:

   <soapenv:Body>
      <platformMsgs:upsertList
          xmlns:s0="urn:sales_2012_1.transactions.webservices.netsuite.com"
          xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:platformMsgs="urn:messages_2012_1.platform.webservices.netsuite.com"
          xmlns:tranInvt="urn:inventory_2012_1.transactions.webservices.netsuite.com"
          xmlns:platformCore="urn:core_2012_1.platform.webservices.netsuite.com">
         <platformMsgs:record xsi:type="s0:Invoice" externalId="invoiceTest1">
            <s0:tranDate>2012-06-21T09:41:31.000Z</s0:tranDate>
            <s0:createdFrom internalId="2949" type="salesOrder" />
            <s0:dueDate>2012-06-21T09:41:41.000Z</s0:dueDate>
            <s0:startDate>2012-06-21T09:42:00.000Z</s0:startDate>
            <s0:salesEffectiveDate>2012-06-21T09:42:07.000Z</s0:salesEffectiveDate>
         </platformMsgs:record>
      </platformMsgs:upsertList>
   </soapenv:Body>

4 comments:

  1. You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming. קורס מכירות

    ReplyDelete
  2. Sales individuals need to the have certainty that their procedures and learning will get them almost the entire way when making a sale. They likewise need to have faith in the association they speak to and the market they work in.cold calling

    ReplyDelete
  3. Sales individuals need to the have certainty that their procedures and learning will get them almost the entire way when making a sale. They likewise need to have faith in the association they speak to and the market they work in.\sales calls

    ReplyDelete
  4. Experience shows that a mixture sales association, made out of a mix of immediate and backhanded sales workers (producers' delegates), joins ideal execution, cost viability and adaptability. https://www.callcenterdeluxecalls.nl

    ReplyDelete