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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Getting You do not have permissions to set a value for element expense.location
I am trying to push/add VendorCredit using SOAP API & below is my payload
<add xmlns="urn:messages_2023_1.platform.webservices.netsuite.com"><record xsi:type="ns1:VendorCredit" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="urn:purchases_2023_1.transactions.webservices.netsuite.com" xmlns:platformCore="urn:core_2023_1.platform.webservices.netsuite.com"><ns1:entity internalId="5023"/><ns1:tranDate>2025-05-23T12:00:00.000-00:00</ns1:tranDate><ns1:exchangeRate>1</ns1:exchangeRate><ns1:expenseList><ns1:expense><ns1:account internalId="1284"/><ns1:amount>0.41</ns1:amount><ns1:memo>Supplier credit discount for invoice Test</ns1:memo><ns1:location internalId="1"/></ns1:expense></ns1:expenseList><ns1:location internalId="1"/></record></add>
I am getting the following error →
0