Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Sage_API_Product_1_0

Marcus Corner edited this page Dec 9, 2015 · 1 revision

Overview

The Product class represent the Salesforce standard sObject Product2. The class only implements the basic fields as this is a highly customised sObject and the FieldValueMap should be used to populate those additional fields.

Properties

Field Type Accessibility
Reference Sage_API_Reference_1_0 global
Tags List<Sage_API_Tag_1_0> global

Example

Sage_API_Product_1_0 product = new Sage_API_Product_1_0();
product.Reference = new Sage_API_Reference_1_0(null, 'Product X', 'Product X');
product.FieldValueMap.put('ProductCode', '123456');
Clone this wiki locally