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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Records, Fields, Forms, and Sublists in <strong>Web</strong> <strong>Services</strong>Working with Fields in <strong>Web</strong> <strong>Services</strong>56Note: Some user-defined lists can also be edited through <strong>Web</strong> services to modify thevalues for the list. For details, see Other Lists in the <strong>NetSuite</strong> Help Center.Enumerated ListsIf values being returned for WSEnum and Enum fields in a get or search operation do NOTmatch the values enumerated in the schema, the following warning is returned:Code = Invalid_dataMessage = “Error in record number : Invalid field value .Please refer to the XSD for enumerated list of valid field values.”In these cases, the existing data is corrupt and must be corrected before it can be retrievedusing <strong>Web</strong> services.Field LengthsThe <strong>SuiteTalk</strong> Schema Browser provides field length limitations for most string fields. If thelimit is exceeded, an error is returned indicating which field exceeded the limit and themaximum number of characters allowed for that field.Note: For information on using the <strong>SuiteTalk</strong> Schema Browser, see Using the <strong>SuiteTalk</strong>Schema Browser in the Help Center.Field Level ErrorsIf a required field is missing for a given record within a request, an error is generated. Theassociated record is not processed and an appropriate error status code is returned.Only the records without errors are processed. If multiple records are submitted within thesame request, records without errors are processed; records with errors are not processed.Required FieldsRequired fields in the UI do not necessarily correspond to required fields in <strong>Web</strong> services. Thisis because there can be standard defaults that are applied if the field is not populated. For<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!