Sublist Line Numbers

The index number for each sublist line is assigned by the system. SOAP web services developers cannot change these values. When lines are added or removed from a sublist (using either the UI or SOAP web services), the system does not re-index the line numbers. Therefore, it is best practice to perform a get operation on the sublist data before trying to update individual lines, otherwise you may be updating the wrong line in the sublist.

For example, if you perform a get operation on an Items sublist on a transaction record, the index values for the first three line items might be:

<ns3:line>1</ns3:line>
<ns3:line>8</ns3:line>
<ns3:line>9</ns3:line>

Related Topics

Sublists in SOAP Web Services
Updating Sublists in SOAP Web Services
Deleting All Lines on a Sublist
Searching a Sublist

General Notices