The Contact Service. Implements all services working with the Contact object.
Constructors
Initializes a new instance of the NSContactEntity class.
Methods
GetActiveErpLinks()
Returns: CRMScript.Global.Integer - The number of active ERP links.
Example:
GetActiveInterests()
Returns: CRMScript.Global.Integer - The number of active interests.
Example:
GetActiveStatusMonitorId()
Returns: CRMScript.Global.Integer - Active status monitor identity with the lowest rank for contact.
Example:
GetAddress()
Returns: CRMScript.NetServer.NSAddress
Example:
GetAssociate()
Returns: CRMScript.NetServer.NSAssociate - The user that owns this contact.
Example:
GetBounceEmails()
Returns: CRMScript.Global.String[] - Email addresses with a positive bounce counter.
Example:
GetBusiness()
Returns: CRMScript.NetServer.NSBusiness - The business that the contact is associated with.
The GUI forces the user to enter a business type.
Example:
GetCategory()
Returns: CRMScript.NetServer.NSCategory - The category that is set on the company.
The GUI forces the user to enter a category type
Example:
Returns: CRMScript.Global.Integer - Primary key.
Example:
GetCountry()
Returns: CRMScript.NetServer.NSCountry - The country this contact is located in.
The country a contact is saved with, affects the phone number format, and the address layout.
Example:
GetCreatedBy()
Returns: CRMScript.NetServer.NSAssociate - The user that created the contact.
Example:
GetCreatedDate()
Returns: CRMScript.Global.DateTime - Date registered.
Example:
GetCustomerLanguage()
Returns: CRMScript.NetServer.NSCustomerLanguage - language.
Example:
GetCustomFields()
Gets the user-defined + extra fields on an NSContactEntity as a map.
Returns: CRMScript.Native.Map
Example:
GetDbiAgentId()
Returns: CRMScript.Global.Integer - Integration agent (eJournal).
Example:
GetDbiKey()
Returns: CRMScript.Global.String - The primary key for the integrated entry in the external data source.
Example:
GetDbiLastModified()
Returns: CRMScript.Global.DateTime - When the entry was last modified.
Example:
GetDbiLastSyncronized()
Returns: CRMScript.Global.DateTime - Last external synchronization.
Example:
GetDeleted()
Returns: CRMScript.Global.Integer - If nonzero, then this contact is ‘deleted’ and should generally not be shown.
Example:
GetDepartment()
Returns: CRMScript.Global.String - Department.
Example:
GetDescription()
Returns: CRMScript.Global.String - Description of the contact. Usually shown as a post-it note.
Example:
GetEmails()
Returns: CRMScript.NetServer.NSEntityElement[] - The contact’s email.
Example:
Gets the extra fields on NSContactEntity as a map.
Returns: CRMScript.Native.Map - Map containing extra field values by field name.
Example:
GetFaxes()
Returns: CRMScript.NetServer.NSEntityElement[] - The contact’s fax numbers.
Example:
GetGroupId()
Returns: CRMScript.Global.Integer - Group ID of original owning associate, semantics like appnt.grp_id.
Example:
GetInterests()
Returns: CRMScript.NetServer.NSSelectableMDOListItem[] - The contact’s available and selected interests.
Example:
GetKananame()
Returns: CRMScript.Global.String - Contact kana name, used in Japanese versions only.
Example:
GetName()
Returns: CRMScript.Global.String - Contact name.
Example:
GetNoMailing()
Returns: CRMScript.Global.Bool - Spam filter. Indicates if this contact should retrieve advertising.
Example:
GetNumber1()
Returns: CRMScript.Global.String - Alphanumeric user field.
Example:
GetNumber2()
Returns: CRMScript.Global.String - Alphanumeric user field.
Example:
GetOrgNr()
Returns: CRMScript.Global.String - VAT number or similar.
Example:
GetPersons()
Returns: CRMScript.NetServer.NSPerson[] - The persons belonging to the contact.
Example:
GetPhones()
Returns: CRMScript.NetServer.NSEntityElement[] - The contact’s phone numbers.
Example:
GetSource()
Returns: CRMScript.Global.Integer - How did we get this contact?
For future integration needs
Example:
GetSupportAssociate()
Returns: CRMScript.NetServer.NSAssociate
Example:
GetSupportPerson()
Returns: CRMScript.NetServer.NSPerson
Example:
GetTicketPriority()
Returns: CRMScript.NetServer.NSTicketPriority
Example:
GetUpdatedBy()
Returns: CRMScript.NetServer.NSAssociate - The user that last updated the contact.
Example:
GetUpdatedDate()
Returns: CRMScript.Global.DateTime - Date last updated.
Example:
GetUrls()
Returns: CRMScript.NetServer.NSEntityElement[] - The contact’s internet address.
Example:
GetUserDefinedFields()
Gets the user-defined fields on the NSContactEntity as a map.
Returns: CRMScript.Native.Map - Map containing user defined field values by field prog.id.
Example:
GetXstop()
Returns: CRMScript.Global.Bool - STOP flag.
Example:
SetActiveErpLinks(Integer)
Returns: CRMScript.Global.Void
Example:
SetActiveInterests(Integer)
Returns: CRMScript.Global.Void
Example:
SetActiveStatusMonitorId(Integer)
Returns: CRMScript.Global.Void
Example:
SetAddress(NSLocalizedField[][])
Sets a contact’s address. You can pass either an NSAddress object or NSLocalizedField[][].
Returns: CRMScript.Global.Void
Example:
SetAssociate(NSAssociate)
Returns: CRMScript.Global.Void
Example:
SetBounceEmails(String[])
Returns: CRMScript.Global.Void
Example:
SetBusiness(NSBusiness)
Returns: CRMScript.Global.Void
The GUI forces the user to enter a business type.
Example:
SSetCategory(NSCategory)
Returns: CRMScript.Global.Void
The GUI forces the user to enter a category type
Example:
Returns: CRMScript.Global.Void
Example:
SetCountry(NSCountry)
Returns: CRMScript.Global.Void
The country a contact is saved with, affects the phone number format, and the address layout.
Example:
SetCreatedBy(NSAssociate)
Returns: CRMScript.Global.Void
Example:
SetCreatedDate(DateTime)
Returns: CRMScript.Global.Void
Example:
SetCustomerLanguage(NSCustomerLanguage)
Returns: CRMScript.Global.Void
Example:
SetCustomFields(Map)
Sets the user-defined and extra fields on an NSContactEntity with a map.
Returns: CRMScript.Global.Void
Example:
SetDbiAgentId(Integer)
Returns: CRMScript.Global.Void
Example:
SetDbiKey(String)
Returns: CRMScript.Global.Void
Example:
SetDbiLastModified(DateTime)
Returns: CRMScript.Global.Void
Example:
SetDbiLastSyncronized(DateTime)
Returns: CRMScript.Global.Void
Example:
SetDeleted(Integer)
Returns: CRMScript.Global.Void
Example:
SetDepartment(String)
\
Returns: CRMScript.Global.Void
Example:
SetDescription(String)
Returns: CRMScript.Global.Void
Example:
SetEmails(NSEntityElement[])
Returns: CRMScript.Global.Void
Example:
Sets the extra field values on NSContactEntity with a map.
Returns: CRMScript.Global.Void
Example:
SetFaxes(NSEntityElement[])
Returns: CRMScript.Global.Void
Example:
SetGroupId(Integer)
Returns: CRMScript.Global.Void
Example:
SetInterests(NSSelectableMDOListItem[])
Returns: CRMScript.Global.Void
Example:
SetKananame(String)
Returns: CRMScript.Global.Void
Example:
SetName(String)
Returns: CRMScript.Global.Void
Example:
SetNoMailing(Bool)
Returns: CRMScript.Global.Void
Example:
SetNumber1(String)
Returns: CRMScript.Global.Void
Example:
SetNumber2(String)
Returns: CRMScript.Global.Void
Example:
SetOrgNr(String)
Returns: CRMScript.Global.Void
Example:
SetPersons(NSPerson[])
Returns: CRMScript.Global.Void
Example:
SetPhones(NSEntityElement[])
Returns: CRMScript.Global.Void
Example:
SetSource(Integer)
Returns: CRMScript.Global.Void
For future integration needs
Example:
SetSupportAssociate(NSAssociate)
Returns: CRMScript.Global.Void
Example:
SetSupportPerson(NSPerson)
Returns: CRMScript.Global.Void
Example:
SetTicketPriority(NSTicketPriority)
Returns: CRMScript.Global.Void
Example:
SetUpdatedBy(NSAssociate)
Returns: CRMScript.Global.Void
Example:
SetUpdatedDate(DateTime)
Returns: CRMScript.Global.Void
Example:
SetUrls(NSEntityElement[])
Returns: CRMScript.Global.Void
Example:
SetUserDefinedFields(Map)
Sets the user-defined fields on the NSContactEntity as a map.
Returns: CRMScript.Global.Void
Example:
SetXstop(Bool)
Returns: CRMScript.Global.Void
Example: