10.07.2015 Views

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Records, Fields, Forms, and Sublists in <strong>Web</strong> <strong>Services</strong>Working with Fields in <strong>Web</strong> <strong>Services</strong>52Record TypeVendor PaymentWin Loss ReasonShared Internal and External IDsSystem-generated internal IDs and custom external IDs can be shared among recordsbelonging to the same high-level group. Therefore, when referencing a record using RecordRef,providing the system internal ID or custom external ID without specifying the record type issufficient to uniquely identify the record within a given group.The following list provides examples of these high-level groups and some of the recordsbelonging to each group:• Entities: contact, customer, employee, group, partner, vendor• Transactions: invoice, journal entry, customer deposit, check• Items: inventory item, markup item, payment item, serialized inventory item• Activities: task, event, phone call• Support: campaign, case, event, solution, taskWorking with Fields in <strong>Web</strong> <strong>Services</strong><strong>NetSuite</strong> records contain standard body fields and custom fields. Standard fields are those thatcome with all <strong>NetSuite</strong> accounts. In <strong>Web</strong> services, a record’s standard body fields are itsattributes, for example: Customer.email, SalesOrder.salesRep. Standard fieldsmust be of one of the following logical types.TypeStringIntDoubleBooleanDatetimeRecordRefEnumDescriptionCorresponds to the xsd:string type in the XML SchemaCorresponds to the xsd:int type in the XML SchemaCorresponds to the xsd:double in the XML SchemaCorresponds to the xsd:boolean type in the XML Schema and has valid values of true orfalse. If not explicitly set to either true or false, then set as false.Corresponds to the xsd:dateTime type in the XML Schema which conforms to the ISO8601 standard.Corresponds to the RecordRef type in the XML Schema. References an nsKey value for anyother record in the system including system defined constants that are controlled by thesystem.Corresponds to a specific type defined as an enum in the XSD that represents systemconstants that are also available in the UI.<strong>SuiteTalk</strong> <strong>Platform</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!