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!
Receiving adjustments with type CHARGE via API
Hi Guys,
I need your help.
The reason that I need to receive adjustments with type CHARGE via API.
To do it, I use SOAP.
Steps:
I created an adjustment with type CHARGE.
ID 13828
Then I used the following API request:
<soap-env:Body> <search xmlns="urn:messages_2020_1.platform.webservices.netsuite.com"> <searchRecord xmlns:platformCommon="urn:common_2020_1.platform.webservices.netsuite.com" xmlns:platformCore="urn:core_2020_1.platform.webservices.netsuite.com" xsi:type="platformCommon:ChargeSearchBasic"> <platformCommon:internalId operator="anyOf"> <platformCore:searchValue internalId="13828" xsi:type="platformCore:RecordRef"/> </platformCommon:internalId></searchRecord> </search></soap-env:Body>
But NetSuite returns the empty response:
What is the reason of empty response and how to change the request to receive CHARGE via API?