Discussions
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"/>