Customer (class)
The Customer CRMScript class represents the following entities:- Real-life: a customer (person) that may or may not work for a company or organization
- SuperOffice UI: contact
- Database table: person
All associates (internal employees) have a corresponding person record.The
associate table is an MDO list item table and has therefore not a corresponding CRMScript class.String makeSalutation()
makeSalutation() creates a greeting appropriate for the customer. The string can be used at the beginning of a document or email.
User (class)
The User CRMScript class represents the following entities:- Real-life: a user account
- SuperOffice UI: user
- Database table: ejuser
To get from a user object to a customer or company object, you must go via the associate table.
Parser variables
CallingtoParser() will load fields, prefix them based on the class, and make them available to templates.
Repeated calls will overwrite rather than append the values in the Parser instance.