Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
promoCode in salesOrders via soap
Hello,
I am having trouble using the promotion code field in salesOrders. Below is the soap request I'm using. It works find except for the promotion code line which I have to leave out.
<ns6:promoCode internalId="1" type="promoCode" xsi:type="ns7:RecordRef"/>
Specifically I am confused about what to put in the type field. Is there some place in the documentation or UI where I can figure out the proper value?
thanks,
Aaron
<record xmlns:ns6="urn:sales_2_5.transactions.webservices.netsuite.com" xsi:type="ns6:SalesOrder">
<ns6:entity xmlns:ns7="urn:core_2_5.platform.webservices.netsuite.com" internalId="332" type="customer" xsi:type="ns7:RecordRef"/>