Namespace CRMScript.Native
Classes
AppointmentSlicer
Slices 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).
Attachment
Handles Service attachments.
Cache
Cache to often used db tables and structures and retrieve them in a useful and structured fashion
Category
For accessing and changing a ticket category.
Company
Represents a company.
Customer
Represents a customer.
DbConverter
This class is only allowed in a ConverterApp context. Any attempts of using this in any other contexts will yield an exception.
DbiControl
Used for communicating with DBI agents to share data with external systems.
EabEntry
Reads and writes entries from the email address book. The class is also used when you want to synchronize the address book using DBI.
Class for representing and sending emails.
EventData
Gives 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.EventDataDialogDefinition
Utility class to generate a dialog to use in CRMScript triggers.
EventDataDialogField
Utility class to generate a field for dialog to use in CRMScript triggers.
ExtraFieldsInfo
With 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.ExtraTable
A class to access extra tables and create, edit and delete entries.
ExtraTableInfo
With 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.
FHBitSet
Used to represent and manipulate a 32 bit bitset.
File
Represents a file. This class is not available in CRM Online.
Use open() before you call any other methods.Generic
Generic 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.GenericSearch
Obsolete. 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.HtmlElement
Represents HTML elements in the SuperOffice UI.
HTTP
Used to retrieve the result of a URL.
Inbox
A class for managing the inbox.
InvoiceEntry
Represents invoice entries and lets you create new or modify existing invoice entries
JSONBuilder
The 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.
Knowledge
Knowledge class
License
Deprecated in 7.1.
LocalizedField
Represents fields. Used by Company.set/getAddress() functions.
MacroParameter
MacroParameter class
MacroReturnValue
MacroReturnValue
MainMenu
Used to control the main (left-side) menu of SuperOffice CRM. Customizing the main menu means modifying the corresponding trigger.
Map
A 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.Message
Represents a Service ticket message.
Notify
Handles notification of different types.
Parser
A template engine. A Parser instance can set template variable values, then parse a formatted string containing template variable placeholders to replace their values.
Pbes
Used 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.
Priority
Used to handle priorities.
Profile
Methods for fetching info about a users profile.
ReplyTemplate
Represents a reply template.
Rsa
For creating and verifying RSA signatures in CRMScript.
SearchEngine
A 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.SpmCustomerList
SpmCustomerList
SpmMessage
Represent 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.
SpmShipment
Denotes 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.
SpmStaticList
With 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.
StatLib
Class for using the Service statistics library.
StatResult
Used to access the results of a StatLib execution.
StringObjectDictionary
A 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.
StringMatrix
Two-dimensional string array.
Ticket
Class for representing an SuperOffice Service Ticket.
Timer
Timer class
TimeSpan
A class for representing a time span.
TimeZone
Gives access to timezone info. Call the global function getLocalTimeZone() to get the object.
User
Class for representing a user.
Vector
This class represents a Vector, in which you can add objects of the type String..
WeekSchedule
This class is used to represent a week schedule - what hours a day are "active" for each day, etc.
XMLNode
This class represents an XML DOM structure.
YearSchedule
This class is used to represent a year schedule. A year can be composed of several WeekSchedules.