Skip to main content
TimeZone maintenance.

Constructors

NSTimeZoneAgent()

TimeZone maintenance.

Methods

CheckNewTimeZoneDataAvailable()

Checks to see if new timezone data is available
Returns: CRMScript.Global.Bool Example:

DeleteTimeZones()

Deletes all time zone data (locations and rules) from the database
Returns: CRMScript.Global.Void

GetBaseTimeZoneId()

Gets the base timezone ID.
Returns: CRMScript.Global.Integer Example:

GetDefaultTimeZonePreference()

Returns the ID of the default timezone preference with deflevel system wide
Returns: CRMScript.Global.Integer Example:

InitializeTimeZoneData()

Initializes the NSTimeZoneData
Returns: CRMScript.NetServer.NSTimeZoneData[]

SetActiveTimeZoneRow(Integer,Bool)

Sets active state of singe row in the TZLocation table
Returns: CRMScript.Global.Void

SetActiveTimeZonesByFilter(String,Bool)

Toggles active state of a single row in the TZLocation table
Returns: CRMScript.Global.Void

SetBaseTimeZoneId(Integer)

Sets the base timezone ID.
Returns: CRMScript.Global.Bool Example:

TimeOfLastTimeZoneUpdate()

Gets the time time zone data was last updated
Returns: CRMScript.Global.DateTime Example:

ToggleActiveTimeZoneRow(Integer)

Toggles active state of a single row in the TZLocation table
Returns: CRMScript.Global.Void

UpdateTimeZoneData()

Retrieves time zone data from the SuperOffice server and update TimeZone data in the database
Returns: CRMScript.Global.Bool Example: