Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Applying Customer Payment Sublist
I've been struggling with automating Applying a deposit in SuiteScripts and even Webservices. According to my case#1292244 it is not possible.
I was told to Apply the deposit using a Customer Payment and was given the soap below.
<soapenv:Body> <platformMsgs:add xmlns:s0="urn:customers_2010_2.transactions.webservices.netsuite.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:platformMsgs="urn:messages_2010_2.platform.webservices.netsuite.com" xmlns:platformCore="urn:core_2010_2.platform.webservices.netsuite.com"> <platformMsgs:record xsi:type="s0:CustomerPayment"> <s0:customer internalId="1" /> ////customer ID <s0:payment>100.0</s0:payment> //// amount you want to apply <s0:applyList> <s0:apply> <s0:apply>true</s0:apply> <s0:doc>386</s0:doc> ////invoice ID <s0:due>100.0</s0:due> ////amount due of the invoice </s0:apply> </s0:applyList> <s0:depositList> <s0:deposit> <s0:apply>true</s0:apply> <s0:doc>384</s0:doc> ////customer deposit ID <s0:amount>100.0</s0:amount> ////amount you want to apply </s0:deposit> </s0:depositList> </platformMsgs:record> </platformMsgs:add> </soapenv:Body>
0