Namespace CRMScript.Native
Class
AppointmentSlicerSlices appointments into single entities that are within a single day. This class is essential when having calender data (with entries possibly spanning several days), which you would like to display in the calender control (which only accepts data for single days).
AttachmentHandles Service attachments.
CacheCache to often used db tables and structures and retrieve them in a useful and structured fashion
CategoryFor accessing and changing a ticket category.
CompanyRepresents a company.
CustomerRepresents a customer.
DbConverterThis class is only allowed in a ConverterApp context. Any attempts of using this in any other contexts will yield an exception.
DbiControlUsed for communicating with DBI agents to share data with external systems.
EabEntryReads and writes entries from the email address book. The class is also used when you want to synchronize the address book using DBI.
EmailClass for representing and sending emails.
EventDataGives you access to contextual information in an event handler. For example, the name of a created company or the amount of a sale.
You can also check EventData properties after the event handler has run, to for example display a message or prevent an entity from being saved. EventDataDialogDefinitionUtility class to generate a dialog to use in CRMScript triggers.
EventDataDialogFieldUtility class to generate a field for dialog to use in CRMScript triggers.
ExtraFieldsInfoWith this class, you can retrieve meta-information about an extra field.
The class will only retrieve information, thus it is not possible to change an extra field from this class. ExtraTableA class to access extra tables and create, edit and delete entries.
ExtraTableInfoWith this class you can retrieve meta information about an extra table. The class will only retrieve information, thus it is not possible to change an extra table from this class.
FHBitSetUsed to represent and manipulate a 32 bit bitset.
FileRepresents a file. This class is not available in CRM Online.
Use open() before you call any other methods. GenericGeneric is the base type of all other intrinsic CRMScript data types. Any variable can be up-casted to Generic.
There's a close connection between Generic and structs. simpler iteration of variables (struct members); easier to access and set new variables in structs; possible to change which variables are members without having to hard-code each field. GenericSearchObsolete. Use SearchEngine instead.
Represents a generic database search. GenericSearch has less functionality for adding criteria than SearcEngine. The GenericSearch is originally made for searching and fetching data from the database. Thereby its name. GenericSearch is a tool for building up SQL queries, by adding fields and criteria. GenericSearch extends theSearchEngine class with options for how to list fields. Displayfields, datafields, idfields. The fields must be given as starttablename.fieldname, for example "ticket.title" For tables that have foreign keys to other tables, you can reach them with starttablename.fieldname.fieldname Make sure that all fields you use start with the same table, for example ticket, or else you will recieve a big join that you probably do not want. For many-to-many relations there is a special notation: table1.(table2->field2a).field2b Where field2a is field in table2 that has a foreign key to table1. HtmlElementRepresents HTML elements in the SuperOffice UI.
HTTPUsed to retrieve the result of a URL.
InboxA class for managing the inbox.
InvoiceEntryRepresents invoice entries and lets you create new or modify existing invoice entries
JSONBuilderThe JSONBuilder class simplifies building JSON hierarchies. The result will be a string in correct JSON format, with string values properly escaped. This class is useful for example in combination with the HTTP class to make REST-calls.
KnowledgeKnowledge class
LicenseDeprecated in 7.1.
LocalizedFieldRepresents fields. Used by Company.set/getAddress() functions.
MacroParameterMacroParameter class
MacroReturnValueMacroReturnValue
MainMenuUsed to control the main (left-side) menu of SuperOffice CRM. Customizing the main menu means modifying the corresponding trigger.
MapA map is a collection of key-value pairs. Both the key and the value are strings.
The elements in a map are automatically sorted on their keys. The Map class supports two constructors. The default constructor accepts no parameters and initializes a Map with an empty key-value pair collection. The other constructor accepts a String. MessageRepresents a Service ticket message.
NotifyHandles notification of different types.
ParserA template engine. A Parser instance can set template variable values, then parse a formatted string containing template variable placeholders to replace their values.
PbesUsed to provide encryption of data using a password. The encryption is a PBKDF2 cryptographic key derivation function. The underlying encryption algorithm is rc2. Note that all Service installations will be using the same salt.
PriorityUsed to handle priorities.
ProfileMethods for fetching info about a users profile.
ReplyTemplateRepresents a reply template.
RsaFor creating and verifying RSA signatures in CRMScript.
SearchEngineA tool for building up SQL queries, by adding fields, criteria, and data. The fields must be given on the following form: starttablename.fieldname, for example "ticket.title". For tables that have foreign keys to other tables, you can reach them with the following notation: starttablename.fieldname.fieldname For example, the firstname of the primary customer of a ticket is: "ticket.cust_id.firstname". The company name of the primary customer of a ticket is: "ticket.cust_id.company.name".
Make sure that all fields you use that start with the same table, for example, ticket, or else you will receive a big join that you probably do not want. For many-to-many relations there is a special notation: table1.(table2->field2a).field2b Where field2a is a field in table2 that has a foreign key to table1. From CS version 7, the aggregate functions are no longer supported, since the query is sent to NetServer instead of directly to the database. It is possible to circumvent this by setting the reg_id 235 to 1 and explicitly use bypassNetserver(true) in the SearchEngine. Be aware of any security implications this might cause. SpmCustomerListSpmCustomerList
SpmMessageRepresent a message in the eMarketeer module. You can create or modify such objects, which later is used by the SpmShipment class to send such messages.
SpmShipmentDenotes a shipment in the eMarketeer module. A SpmShipment object will be responsible for the actual shipment. This object needs a SpmStaticList and a SpmMessage object as input.
SpmStaticListWith this class you can create and edit static lists in the eMarketeer. A static list consist of one or more email addresses (and possible a matching name) which will be used when creating a shipment.
StatLibClass for using the Service statistics library.
StatResultUsed to access the results of a StatLib execution.
StringObjectDictionaryA StringObjectDictionary is a collection of key-value pairs. The key is a string and the value can be an integer, float, string, boolean or datetime.
StringMatrixTwo-dimensional string array.
TicketClass for representing an SuperOffice Service Ticket.
TimerTimer class
TimeSpanA class for representing a time span.
TimeZoneGives access to timezone info. Call the global function getLocalTimeZone() to get the object.
UserClass for representing a user.
VectorThis class represents a Vector, in which you can add objects of the type String..
WeekScheduleThis class is used to represent a week schedule - what hours a day are "active" for each day, etc.
XMLNodeThis class represents an XML DOM structure.
YearScheduleThis class is used to represent a year schedule. A year can be composed of several WeekSchedules.