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.

<strong>Web</strong> <strong>Services</strong> OperationsgetSelectValue182Getting Dependent Select ValuesThe getSelectValue operation can also be used to get select values that are available on thecondition of other field values. For example, in OneWorld accounts the values that appear inmany dropdown fields are based on the values specified for either Customer or Subsidiary. Asanother example, on the Item sublist of a Sales Order, the values for the Tax Code field dependon both customer and item values.In your getSelectValue call, you will use the GetSelectFilterByFieldValueList andGetSelectFilterByFieldValue objects to specify the filterBy field of a dependent field. (Thedependent field is the field you want to get the values for. The filterBy field is the field thatcontrols which values are available for the dependent field.)The sublist, field, and internalId arguments will contain:• the name of the sublist the filterBy field appears on (if it appears on a sublist)• the schema name of the filterBy field (for example, “entity”)• the internalId of the specific entity record (for example, “87”)A getSelectValue call for a dependent field with no filterBy (“master”) field specified returns 0records. This type of call also returns a warning that notes the filterBy field, so the call can becorrected.<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!