Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Error during push a payment to NetSuite via API
Hello Team,
We try to push a payment from our application to NetSuite via API, but NetSuite returns the following error:
<platformCore:message>Unable to find a matching line for sublist apply with key: [doc,line] and value: [473882,0].</platformCore:message>
The part of the request:
<ns8:apply xsi:type="ns8:CustomerPaymentApply">
<ns8:doc xsi:type="xsd:long">473882</ns8:doc>
<ns8:line xsi:type="xsd:long">0</ns8:line>
<ns8:type xsi:type="xsd:string">invoice</ns8:type>
<ns8:currency xsi:type="xsd:string">USD</ns8:currency>
<ns8:amount xsi:type="xsd:double">1.0</ns8:amount>
</ns8:apply>
Data that we use to push a payment: