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

Sage_API_Contact_1_0

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

Overview

The Contact class represent the Salesforce standard sObject Contact. 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
Account Sage_API_Reference_1_0 global

Example

Sage_API_Contact_1_0 contact = new Sage_API_Contact_1_0();
contact.Reference = new Sage_API_Reference_1_0(null, 'Contact X', 'Contact X');
contact.Account = new Sage_API_Reference_1_0(null, null, 'Amazon');
contact.FieldValueMap.put('AssistantPhone', '01910000000');
Clone this wiki locally