Landed Cost
The landed cost subrecord is defined in the Common XSD.
For information about working with landed cost in the UI, see Landed Cost Overview.
The Landed Cost subrecord is not modeled the same way in SOAP web services as in the UI. Landed Cost in SuiteTalk SOAP Web Services is exposed as a sublist instead of body field. A script running in web services context has to account for this difference. For example, the field names change with the context and Field "landedcostsource103"
becomes [sublistId: 'landedcosts', fieldId: 'source']
. You can get the line with var lineNumber = objRecord.findSublistLineWithValue({
sublistId: 'landedcosts',
fieldId: 'category',
value: 103
});
The SOAP Schema Browser includes definitions for all body fields, sublist fields, search filters, and search joins available to this subrecord. For details, see the SOAP Schema Browser’s landed cost reference page.
For information about using the SOAP Schema Browser, see SOAP Schema Browser.