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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Transaction Body Fields
Hi guys,
I'm pulling Purchase Orders and need to get the description the custom fields.
For instance,
custbody4 is really "Ship Booked For Date"
custbody_vesselname is really "Vessel Name".
If it is a SelectCustomFieldRef, I can get that description, but can't figure out the search or get for the others.
Thanks in advance,
Shanon
<?xml version="1.0" encoding="utf-8" ?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2009_2.platform.webservices.netsuite.com"> <platformMsgs:nsId>WEBSERVICES_1106483_020820101394985206248688897_3b2e9c186c7d</platformMsgs:nsId> </platformMsgs:documentInfo> </soapenv:Header> <soapenv:Body> <getResponse xmlns="urn:messages_2009_2.platform.webservices.netsuite.com"> <readResponse> <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2009_2.platform.webservices.netsuite.com" /> <record internalId="159" xsi:type="tranPurch:PurchaseOrder" xmlns:tranPurch="urn:purchases_2009_2.transactions.webservices.netsuite.com"> <tranPurch:createdDate>2010-02-03T03:01:56.000-08:00</tranPurch:createdDate> <tranPurch:lastModifiedDate>2010-02-04T03:15:54.000-08:00</tranPurch:lastModifiedDate> ..... snipped .... <tranPurch:customFieldList xmlns:platformCore="urn:core_2009_2.platform.webservices.netsuite.com"> <platformCore:customField internalId="custbody3" xsi:type="platformCore:SelectCustomFieldRef"> <platformCore:value internalId="3" typeId="3" /> </platformCore:customField> <platformCore:customField internalId="custbody4" xsi:type="platformCore:DateCustomFieldRef"> <platformCore:value>2009-12-25T16:00:00.000-08:00</platformCore:value> </platformCore:customField> <platformCore:customField internalId="custbody_bb1_billoflading" xsi:type="platformCore:StringCustomFieldRef"> <platformCore:value>STD09S12200</platformCore:value> </platformCore:customField> <platformCore:customField internalId="custbody_bb1_containernumber" xsi:type="platformCore:StringCustomFieldRef"> <platformCore:value>CCLU2412502</platformCore:value> </platformCore:customField> <platformCore:customField internalId="custbody_bb1_datearrived" xsi:type="platformCore:DateCustomFieldRef"> <platformCore:value>2010-02-02T16:00:00.000-08:00</platformCore:value> </platformCore:customField> <platformCore:customField internalId="custbody_customshiptoaddress" xsi:type="platformCore:StringCustomFieldRef"> <platformCore:value>TO BE COLLECTED BY <br>Nadok<br>AND DELIVERED TO<br>Wednesbury</platformCore:value> </platformCore:customField> <platformCore:customField internalId="custbody_vesselname" xsi:type="platformCore:StringCustomFieldRef"> <platformCore:value>XIN YANTAI</platformCore:value> </platformCore:customField> </tranPurch:customFieldList> </record> </readResponse> </getResponse> </soapenv:Body> </soapenv:Envelope>
0