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 Sublists in <strong>Web</strong> <strong>Services</strong>60The itemList element (listed above) is of type CheckItemList, which is defined in theCheckItem complex type (defined in transactions.bank.xsd). The CheckItem type (shownbelow) includes all the properties that can be set for the Item sublist on the Check record. Alsonotice the replaceAll attribute in CheckItemList. You will set the value of replaceAll to true orfalse depending on whether you are working with keyed sublists or non-keyed sublists. SeeUpdating Sublists in <strong>Web</strong> <strong>Services</strong> for details.....Updating Sublists in <strong>Web</strong> <strong>Services</strong>When working with sublists, the approach for updating the lines in a sublist will varydepending on whether you are working with Keyed Sublists or Non-Keyed Sublists.Keyed SublistsKeyed sublists have an indexing line element or internal ID that can be used as a key. Keyedsublists allow you to set the replaceAll attribute to FALSE to update only the lines you aresubmitting in your SOAP request. When working with keyed sublists, the value of thereplaceAll attribute has the following effects:• replaceAll = TRUE: The existing sublist is replaced with the sublist submitted in the<strong>Web</strong> services request. The newly submitted sublist should include all values.• Lines that do not match the newly submitted lines are removed.• Currently existing lines that match lines in the new sublist submission are updated.• Newly submitted lines with no matches are added.The default value for the replaceAll attribute is TRUE.<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!