Skip to main content
Collection of all services that work with Lists. These are typical lists of data shown in dropdown-list, checkbox lists, etc.

Constructors

NSListAgent()

Collection of all services that work with Lists. These are typical lists of data shown in dropdown-list, checkbox lists, etc.

Methods

AddFromListDefinition(Integer,NSListItemEntity)

Saves a new list item for the specified list definition
Returns: CRMScript.NetServer.NSListItemEntity Example:

AddFromListName(String,NSListItemEntity)

Saves a new list item for the specified list definition
Returns: CRMScript.NetServer.NSListItemEntity Example:

AddHierarchyToPath(Integer,String,String)

Adds a hierarchy item to a path
Returns: CRMScript.NetServer.NSHierarchyEntity Example:

ChangeCurrency(Float,String,String)

Recalculates the amount to the new currency.
Returns: CRMScript.Global.Float Example:

CreateDefaultAmountClassEntity()

Sets default values into a new NSAmountClassEntity.
Returns: CRMScript.NetServer.NSAmountClassEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultCountry()

Gets a new country
Returns: CRMScript.NetServer.NSCountry Example:

CreateDefaultCurrencyEntity()

Sets default values into a new NSCurrencyEntity.
Returns: CRMScript.NetServer.NSCurrencyEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultDocumentTemplateEntity()

Sets default values into a new NSDocumentTemplateEntity.
Returns: CRMScript.NetServer.NSDocumentTemplateEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultDocumentTemplateLanguage(Integer,String)

Creates a new document template language based on an existing template
Returns: CRMScript.Global.Void Example:

CreateDefaultExtAppEntity()

Sets default values into a new NSExtAppEntity.
Returns: CRMScript.NetServer.NSExtAppEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultHeadingEntity()

Sets default values into a new NSHeadingEntity.
Returns: CRMScript.NetServer.NSHeadingEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultHeadingFromListDefinition(Integer)

Gets a heading for the specified list definition
Returns: CRMScript.NetServer.NSHeadingEntity Example:

CreateDefaultHierarchyEntity()

Sets default values into a new NSHierarchyEntity.
Returns: CRMScript.NetServer.NSHierarchyEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultListEntity()

Sets default values into a new NSListEntity.
Returns: CRMScript.NetServer.NSListEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultListItemEntity()

Sets default values into a new NSListItemEntity.
Returns: CRMScript.NetServer.NSListItemEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultProjectTypeEntity()

Sets default values into a new NSProjectTypeEntity.
Returns: CRMScript.NetServer.NSProjectTypeEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultRelationDefinitionEntity()

Sets default values into a new NSRelationDefinitionEntity.
Returns: CRMScript.NetServer.NSRelationDefinitionEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultResourceEntity()

Sets default values into a new NSResourceEntity.
Returns: CRMScript.NetServer.NSResourceEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultSaleStageEntity()

Sets default values into a new NSSaleStageEntity.
Returns: CRMScript.NetServer.NSSaleStageEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultSaleTypeEntity()

Sets default values into a new NSSaleTypeEntity.
Returns: CRMScript.NetServer.NSSaleTypeEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultTicketCategoryEntity()

Sets default values into a new NSTicketCategoryEntity.
Returns: CRMScript.NetServer.NSTicketCategoryEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultTicketPriorityEntity()

Sets default values into a new NSTicketPriorityEntity.
Returns: CRMScript.NetServer.NSTicketPriorityEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultTicketStatusEntity()

Sets default values into a new NSTicketStatusEntity.
Returns: CRMScript.NetServer.NSTicketStatusEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

CreateDefaultWebPanelEntity()

Sets default values into a new NSWebPanelEntity.
Returns: CRMScript.NetServer.NSWebPanelEntity
NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
Example:

DeleteAllFromListDefinition(Integer)

Marks all items in the list deleted
Returns: CRMScript.Global.Void Example:

DeleteAllFromListName(String)

Marks all items in the list deleted
Returns: CRMScript.Global.Void Example:

DeleteAllHeadingsFromListDefinition(Integer)

Deletes all headings for list resolved by the provided ID.
Returns: CRMScript.Global.Void Example:

DeleteAllHeadingsFromName(String)

Deletes all headings for list resolved by the provided name.
Returns: CRMScript.Global.Void Example:

DeleteAppWebPanels()

Permanently delete all web panels owned by your app.
Returns: CRMScript.Global.Void
Works in Online only, for registered Apps that send a valid ApplicationToken; otherwise nothing happens
Example:

DeleteDocumentTemplateLanguage(Integer,String)

Deletes language variant of the document template
Returns: CRMScript.Global.Void Example:

DeleteFromListDefinition(Integer,Integer)

Deletes a list item from the specified list definition
Returns: CRMScript.Global.Void Example:

DeleteFromListName(Integer,String)

Deletes a list item from the specified list definition
Returns: CRMScript.Global.Void Example:

DeleteHierarchyEntity(Integer)

Deletes the NSHierarchyEntity
Returns: CRMScript.Global.Void Example:

DeleteHierarchyFromPath(Integer,String)

Removes a hierarchy item and its children from a path
Returns: CRMScript.Global.Void Example:

DeleteListEntity(Integer)

Deletes the NSListEntity
Returns: CRMScript.Global.Void Example:

DeleteListEntityByName(String)

Deletes an NSListEntity resolved by the provided name.
Returns: CRMScript.Global.Void Example:

DeleteProjectStatus(Integer)

Deletes a project status
Returns: CRMScript.Global.Void Example:

DeleteResourceEntity(Integer)

Deletes the NSResourceEntity
Returns: CRMScript.Global.Void Example:

DeleteTicketCategoryEntity(Integer)

Deletes the NSTicketCategoryEntity
Returns: CRMScript.Global.Void Example:

DeleteTicketPriorityEntity(Integer)

Deletes the NSTicketPriorityEntity
Returns: CRMScript.Global.Void Example:

DeleteTicketStatusEntity(Integer)

Deletes the NSTicketStatusEntity
Returns: CRMScript.Global.Void Example:

DeleteWebPanel(Integer)

Hard-delete (real, permanent DELETE in the database) the given web panel. Use with care!
Returns: CRMScript.Global.Void Example:

GenerateNavigationUrl(Integer,String)

Generates the navigation URL to be used to navigate to the panel
Returns: CRMScript.Global.String - See CRMScript.NetServer.Navigation Example:

GetAllCountries(Bool)

Returns all available countries a contact or person could belong to.
Returns: CRMScript.NetServer.NSCountry[] Example:

GetAllCurrencies(Bool)

Returns all currencies
Returns: CRMScript.NetServer.NSCurrencyEntity[] Example:

GetAllDocumentTemplates(Bool)

Returns all templates
Returns: CRMScript.NetServer.NSDocumentTemplateEntity[] Example:

GetAllDomains()

Gets list of all domains
Returns: CRMScript.Global.Integer[] - Domain types (scripts, extra tables, etc). Example:

GetAllFromListDefinition(Integer,Bool)

Gets all list items for the specified list definition
Returns: CRMScript.NetServer.NSListItemEntity[] Example:

GetAllFromListName(String,Bool)

Gets all list items for the specified list definition
Returns: CRMScript.NetServer.NSListItemEntity[] Example:

GetAllInDomain(Integer,Bool)

Gets all items in a domain
Returns: CRMScript.NetServer.NSHierarchyEntity[] Example:

GetAllSaleStages(Bool)

Returns all ratings
Returns: CRMScript.NetServer.NSSaleStageEntity[] Example:

GetAllSaleType()

Returns all sale types as simple list items
Returns: CRMScript.NetServer.NSSaleType[] Example:

GetAllSaleTypeEntities(Bool)

Returns all sale types as entities with stakeholders, guide and quote properties
Returns: CRMScript.NetServer.NSSaleTypeEntity[] Example:

GetAllTasks(Bool)

Returns all appointment tasks
Returns: CRMScript.NetServer.NSTaskListItem[] Example:

GetAllTicketPriorities(Bool)

Returns all available ticket priorities.
Returns: CRMScript.NetServer.NSTicketPriorityEntity[] Example:

GetAmountClassEntity(Integer)

Gets an NSAmountClassEntity object.
Returns: CRMScript.NetServer.NSAmountClassEntity Example:

GetAppWebPanels()

Gets all web panels owned by your app; works in Online only, for registered Apps that send a valid ApplicationToken
Returns: CRMScript.NetServer.NSWebPanelEntity[] Example:

GetBaseCurrency()

Gets the base currency, used for calculating exchange rates
Returns: CRMScript.NetServer.NSCurrencyEntity Example:

GetBusiness(Integer)

Gets an NSBusiness object.
Returns: CRMScript.NetServer.NSBusiness Example:

GetBusinesses()

Returns all available businesses that a contact could have.
Returns: CRMScript.NetServer.NSBusiness[] Example:

GetBusinessList(Integer[])

Gets an array of NSBusiness objects.
Returns: CRMScript.NetServer.NSBusiness[] Example:

GetCategories()

Returns all categories a contact could belong to
Returns: CRMScript.NetServer.NSCategory[] Example:

GetCategory(Integer)

Gets an NSCategory object.
Returns: CRMScript.NetServer.NSCategory Example:

GetCategoryList(Integer[])

Gets an array of NSCategory objects.
Returns: CRMScript.NetServer.NSCategory[] Example:

GetCompetitor(Integer)

Gets an NSCompetitor object.
Returns: CRMScript.NetServer.NSCompetitor Example:

GetCompetitorList(Integer[])

Gets an array of NSCompetitor objects.
Returns: CRMScript.NetServer.NSCompetitor[] Example:

GetCompetitors()

Returns all competitors
Returns: CRMScript.NetServer.NSCompetitor[] Example:

GetConsentPurpose(Integer)

Gets an NSConsentPurpose object.
Returns: CRMScript.NetServer.NSConsentPurpose Example:

GetConsentPurposeList(Integer[])

Gets an array of NSConsentPurpose objects.
Returns: CRMScript.NetServer.NSConsentPurpose[] Example:

GetConsentPurposes()

Returns all defined purposes.
Returns: CRMScript.NetServer.NSConsentPurpose[] Example:

GetConsentSource(Integer)

Gets an NSConsentSource object.
Returns: CRMScript.NetServer.NSConsentSource Example:

GetConsentSourceList(Integer[])

Gets an array of NSConsentSource objects.
Returns: CRMScript.NetServer.NSConsentSource[] Example:

GetConsentSources()

Returns all defined Sources.
Returns: CRMScript.NetServer.NSConsentSource[] Example:

GetCountries()

Returns all available countries a contact or person could belong to.
Returns: CRMScript.NetServer.NSCountry[] Example:

GetCountry(Integer)

Gets an NSCountry object.
Returns: CRMScript.NetServer.NSCountry Example:

GetCountryList(Integer[])

Gets an array of NSCountry objects.
Returns: CRMScript.NetServer.NSCountry[] Example:

GetCredited(Integer)

Gets an NSCredited object.
Returns: CRMScript.NetServer.NSCredited Example:

GetCreditedList(Integer[])

Gets an array of NSCredited objects.
Returns: CRMScript.NetServer.NSCredited[] Example:

GetCrediteds()

Returns all credited
Returns: CRMScript.NetServer.NSCredited[]

GetCurrencies()

Returns all currencies
Returns: CRMScript.NetServer.NSCurrency[] Example:

GetCurrency(Integer)

Gets an NSCurrency object.
Returns: CRMScript.NetServer.NSCurrency Example:

GetCurrencyEntity(Integer)

Gets an NSCurrencyEntity object.
Returns: CRMScript.NetServer.NSCurrencyEntity Example:

GetCurrencyList(Integer[])

Gets an array of NSCurrency objects.
Returns: CRMScript.NetServer.NSCurrency[] Example:

GetCustomerLanguage(Integer)

Gets an NSCustomerLanguage object.
Returns: CRMScript.NetServer.NSCustomerLanguage Example:

GetCustomerLanguageList(Integer[])

Gets an array of NSCustomerLanguage objects.
Returns: CRMScript.NetServer.NSCustomerLanguage[] Example:

GetCustomerLanguages()

Returns: CRMScript.NetServer.NSCustomerLanguage[] Example:

GetDeliveryTerm(Integer)

Gets an NSDeliveryTerm object.
Returns: CRMScript.NetServer.NSDeliveryTerm Example:

GetDeliveryTerms()

Returns all DeliveryTerms in SuperOffice database.
Returns: CRMScript.NetServer.NSDeliveryTerm[] Example:

GetDeliveryType(Integer)

Gets an NSDeliveryType object.
Returns: CRMScript.NetServer.NSDeliveryType Example:

GetDeliveryTypes()

Returns all DeliveryTypes in SuperOffice database.
Returns: CRMScript.NetServer.NSDeliveryType[] Example:

GetDepartment(Integer)

Gets an NSDepartment object.
Returns: CRMScript.NetServer.NSDepartment Example:

GetDepartmentList(Integer[])

Gets an array of Department objects.
Returns: CRMScript.NetServer.NSDepartment[] Example:

GetDepartments()

Gets all departments/user groups for the internal phone list with the user’s colleagues.
Returns: CRMScript.NetServer.NSDepartment[] Example:

GetDocumentTemplate(Integer)

Gets an NSDocumentTemplate object.
Returns: CRMScript.NetServer.NSDocumentTemplate Example:

GetDocumentTemplateEntity(Integer)

Gets an NSDocumentTemplateEntity object.
Returns: CRMScript.NetServer.NSDocumentTemplateEntity Example:

GetDocumentTemplateExtension(Integer)

Gets the file extension for the document template
Returns: CRMScript.Global.String Example:

GetDocumentTemplateLanguages(Integer)

Gets the supported language variations for a document template
Returns: CRMScript.Global.String[] Example:

GetDocumentTemplateList(Integer[])

Gets an array of NSDocumentTemplate objects.
Returns: CRMScript.NetServer.NSDocumentTemplate[] Example:

GetDocumentTemplateProperties(Integer,String[])

Retrieves a list of key-value pairs of document template propertiesGets document template properties.. <code>Map GetDocumentTemplateProperties(Integer documentTemplateId, String[] requestedProperties)</code>
Returns: CRMScript.Native.Map - key-value pairs with the requested properties. Example:

GetDocumentTemplates()

Returns all available document templates
Returns: CRMScript.NetServer.NSDocumentTemplate[] Example:

GetDocumentTemplatesTasks()

The appointment’s task is a Document template item when the appointment is a document.
Returns: CRMScript.NetServer.NSTask[] Example:

GetDocumentTemplateStreamFromId(Integer,String)

Retrieves a stream to a document template based on its ID
Returns: CRMScript.NetServer.NSStream Example:

GetDocumentTemplateTask(Integer)

Returns a Document Template list item as a TaskListItem.
Returns: CRMScript.NetServer.NSTask
The appointment’s task is a Document template item when the appointment is a document.
Example:

GetDocumentTemplateUrl(Integer,Bool,String)

Gets a url to the document template
Returns: CRMScript.Global.String Example:

GetDocumentTemplateUsedInProjectStage(Integer)

Gets a String array of names in project guide that this template is used in
Returns: CRMScript.Global.String[] Example:

GetDocumentTemplateUsedInSalesStage(Integer)

Gets a String array of names in sales guide that this template is used in
Returns: CRMScript.Global.String[] Example:

GetDocumentTypesForPlugin(Integer)

Gets a list of document types supported by a given document plugin. Use the document template type when creating a new template.
Returns: CRMScript.Native.Map Example:

GetEmarketingStrictMode()

Gets the value of the Emarketing strict mode setting
Returns: CRMScript.Global.Bool Example:

GetExtAppEntity(Integer)

Gets an NSExtAppEntity object.
Returns: CRMScript.NetServer.NSExtAppEntity Example:

GetFromListDefinition(Integer,Integer)

Gets a list item for the specified list definition
Returns: CRMScript.NetServer.NSListItemEntity Example:

GetFromListName(Integer,String)

Gets a list item for the specified list definition
Returns: CRMScript.NetServer.NSListItemEntity Example:

GetHeadingEntity(Integer)

Gets an NSHeadingEntity object.
Returns: CRMScript.NetServer.NSHeadingEntity Example:

GetHeadings(Integer,Integer,Bool)

Gets a selectable MDO list of the headings for this list item
Returns: CRMScript.NetServer.NSSelectableMDOListItem[] Example:

GetHeadingsForListItemFromListName(String,Integer,Bool)

Gets a selectable MDO list of the headings for this list item
Returns: CRMScript.NetServer.NSSelectableMDOListItem[] Example:

GetHeadingsFromListDefinition(Integer)

Gets headings for list resolved by the provided ID.
Returns: CRMScript.NetServer.NSHeadingEntity[] Example:

GetHeadingsFromName(String)

Gets headings for list resolved by the provided name.
Returns: CRMScript.NetServer.NSHeadingEntity[] Example:

GetHierarchyEntity(Integer)

Gets an NSHierarchyEntity object.
Returns: CRMScript.NetServer.NSHierarchyEntity Example:

GetHierarchyFromPath(Integer,String,Bool)

Gets a hierarchy item from a path
Returns: CRMScript.NetServer.NSHierarchyEntity Example:

GetInstalledLanguages()

Returns the list of all languages installed in this database.
Returns: CRMScript.NetServer.NSLanguageInfo[] Example:

GetLanguageInfo(Integer)

Gets an NSLanguageInfo object.
Returns: CRMScript.NetServer.NSLanguageInfo Example:

GetLanguageInfoList(Integer[])

Gets an array of NSLanguageInfo objects.
Returns: CRMScript.NetServer.NSLanguageInfo[] Example:

GetLegalBase(Integer)

Gets an NSLegalBase object.
Returns: CRMScript.NetServer.NSLegalBase Example:

GetLegalBaseList(Integer[])

Gets an array of NSLegalBase objects.
Returns: CRMScript.NetServer.NSLegalBase[] Example:

GetLegalBases()

Returns all defined bases.
Returns: CRMScript.NetServer.NSLegalBase[] Example:
Gets an NSLink object.
Returns: CRMScript.NetServer.NSLink Example:
Gets an array of Link objects.
Returns: CRMScript.NetServer.NSLink[] Example:

GetListDefinitions(Bool)

Gets a list of the lists, built-in and user-defined.
Returns: CRMScript.NetServer.NSListEntity[] Example:

GetListEntity(Integer)

Gets an NSListEntity object.
Returns: CRMScript.NetServer.NSListEntity Example:

GetListEntityByName(String)

Gets an NSListEntity resolved by the provided name.
Returns: CRMScript.NetServer.NSListEntity Example:

GetListItemsForHeading(Integer,Integer)

Returns: CRMScript.NetServer.NSSelectableMDOListItem[] - List of list items that is selected if under this heading. Example:

GetListItemsForHeadingFromListName(String,Integer)

Returns: CRMScript.NetServer.NSSelectableMDOListItem[] - List of list items that is selected if under this heading. Example:

GetListItemsForUserGroup(Integer,Integer)

Returns: CRMScript.NetServer.NSSelectableMDOListItem[] - List of list items that is visible in the usergroup. Example:

GetListItemsForUserGroupFromListName(String,Integer)

Returns: CRMScript.NetServer.NSSelectableMDOListItem[] - List of list items that is visible in the usergroup. Example:

GetLocalizedText(Integer)

Gets an NSLocalizedText object.
Returns: CRMScript.NetServer.NSLocalizedText Example:

GetLocalizedTextByType(Integer,Integer,Integer)

Returns a localized text based on the resource ID for the selected language.
Returns: CRMScript.NetServer.NSLocalizedText Example:

GetLocalizedTextList(Integer[])

Gets an array of NSLocalizedText objects.
Returns: CRMScript.NetServer.NSLocalizedText[] Example:

GetLocalizedTexts()

Gets all localized texts in the CRM database.
Returns: CRMScript.NetServer.NSLocalizedText[] Example:

GetLocalizedTextsByLanguageId(Integer)

Gets all localized text belonging to a specific language.
Returns: CRMScript.NetServer.NSLocalizedText[] Example:

GetLocalizedTextsByType(Integer[])

Gets localized text by their typeGets localized text by their type.
Returns: CRMScript.NetServer.NSLocalizedText[] Example:

GetMrMrs(Integer)

Gets an NSMrMrs object.
Returns: CRMScript.NetServer.NSMrMrs Example:

GetMrMrses()

Returns all Items from the NSMrMrs table sorted by their value.
Returns: CRMScript.NetServer.NSMrMrs[] Example:

GetMrMrsList(Integer[])

Gets an array of NSMrMrs objects.
Returns: CRMScript.NetServer.NSMrMrs[] Example:

GetOurCurrency()

Gets the Our currency object if currency is enabled
Returns: CRMScript.NetServer.NSCurrency Example:

GetOwnerCompanysCurrency()

Gets the currency of the user’s owner company
Returns: CRMScript.NetServer.NSCurrency Example:

GetPaymentTerm(Integer)

Gets an NSPaymentTerm object.
Returns: CRMScript.NetServer.NSPaymentTerm Example:

GetPaymentTerms()

Returns all PaymentTerms in SuperOffice database.
Returns: CRMScript.NetServer.NSPaymentTerm[] Example:

GetPaymentType(Integer)

Gets an NSPaymentType object.
Returns: CRMScript.NetServer.NSPaymentType Example:

GetPaymentTypes()

Returns all PaymentTypes in SuperOffice database.
Returns: CRMScript.NetServer.NSPaymentType[] Example:

GetPluginCapabilities(Integer)

Gets a list of plugin-dependent capabilities for a given document archive plugin.
Returns: CRMScript.Native.Map
A standard set of properties is defined in SuperOffice.CRM.Documents.Constants.Capabilities.
Example:

GetPluginList()

Gets a list of installed document plugins
Returns: CRMScript.Native.Map Example:

GetPosition(Integer)

Gets an NSPosition object.
Returns: CRMScript.NetServer.NSPosition Example:

GetPositionList(Integer[])

Gets an array of NSPosition objects.
Returns: CRMScript.NetServer.NSPosition[] Example:

GetPositions()

Returns all the positions a person could have.
Returns: CRMScript.NetServer.NSPosition[] Example:

GetPriorities()

Returns all priorities an appointment could have.
Returns: CRMScript.NetServer.NSPriority[] Example:

GetPriority(Integer)

Gets an NSPriority object.
Returns: CRMScript.NetServer.NSPriority Example:

GetPriorityList(Integer[])

Gets an array of Priority objects.
Returns: CRMScript.NetServer.NSPriority[] Example:

GetProductCategories()

Returns all ProductCategories in SuperOffice list.
Returns: CRMScript.NetServer.NSProductCategory[] Example:

GetProductCategory(Integer)

Gets an NSProductCategory object.
Returns: CRMScript.NetServer.NSProductCategory Example:

GetProductFamilies()

Returns all NSProductFamily in SuperOffice list.
Returns: CRMScript.NetServer.NSProductFamily[] Example:

GetProductFamily(Integer)

Gets an NSProductFamily object.
Returns: CRMScript.NetServer.NSProductFamily Example:

GetProductType(Integer)

Gets an NSProductType object.
Returns: CRMScript.NetServer.NSProductType Example:

GetProductTypes()

Returns all ProductTypes in SuperOffice list.
Returns: CRMScript.NetServer.NSProductType[] Example:

GetProjectStatus(Integer)

Gets an NSProjectStatus object.
Returns: CRMScript.NetServer.NSProjectStatus Example:

GetProjectStatuses()

Gets all items from the Project Status (ProjStatus) table.
Returns: CRMScript.NetServer.NSProjectStatus[] Example:

GetProjectStatusList(Integer[])

Gets an array of NSProjectStatus objects.
Returns: CRMScript.NetServer.NSProjectStatus[] Example:

GetProjectType(Integer)

Gets an NSProjectType object.
Returns: CRMScript.NetServer.NSProjectType Example:

GetProjectTypeEntity(Integer)

Gets an NSProjectTypeEntity object.
Returns: CRMScript.NetServer.NSProjectTypeEntity Example:

GetProjectTypeList(Integer[])

Gets an array of NSProjectType objects.
Returns: CRMScript.NetServer.NSProjectType[] Example:

GetProjectTypes()

Gets all items from the Project Type (ProjType) table.
Returns: CRMScript.NetServer.NSProjectType[] Example:

GetQuickReplies()

Method to return all quick replies for a given associate
Returns: CRMScript.NetServer.NSQuickReply[] Example:

GetRating(Integer)

Gets an NSRating object.
Returns: CRMScript.NetServer.NSRating Example:

GetRatingList(Integer[])

Gets an array of NSRating objects.
Returns: CRMScript.NetServer.NSRating[] Example:

GetRatings()

Returns all ratings
Returns: CRMScript.NetServer.NSRating[] Example:

GetReason(Integer)

Gets an NSReason object.
Returns: CRMScript.NetServer.NSReason Example:

GetReasonList(Integer[])

Gets an array of NSReason objects.
Returns: CRMScript.NetServer.NSReason[] Example:

GetReasons()

Returns all reasons
Returns: CRMScript.NetServer.NSReason[] Example:

GetReasonSold(Integer)

Gets an NSReasonSold object.
Returns: CRMScript.NetServer.NSReasonSold Example:

GetReasonSoldList(Integer[])

Gets an array of ReasonSold objects.
Returns: CRMScript.NetServer.NSReasonSold[] Example:

GetReasonStalled(Integer)

Gets an NSReasonStalled object.
Returns: CRMScript.NetServer.NSReasonStalled Example:

GetReasonStalledList(Integer[])

Gets an array of ReasonStalled objects.
Returns: CRMScript.NetServer.NSReasonStalled[] Example:

GetRelationDefinitionEntity(Integer)

Gets an NSRelationDefinitionEntity object.
Returns: CRMScript.NetServer.NSRelationDefinitionEntity Example:

GetResourceEntity(Integer)

Gets an NSResourceEntity object.
Returns: CRMScript.NetServer.NSResourceEntity Example:

GetSaleStageEntity(Integer)

Gets an NSSaleStageEntity object.
Returns: CRMScript.NetServer.NSSaleStageEntity Example:

GetSaleType(Integer)

Gets an NSSaleType object.
Returns: CRMScript.NetServer.NSSaleType Example:

GetSaleTypeEntity(Integer)

Gets an NSSaleTypeEntity object.
Returns: CRMScript.NetServer.NSSaleTypeEntity Example:

GetSaleTypeList(Integer[])

Gets an array of NSSaleType objects.
Returns: CRMScript.NetServer.NSSaleType[] Example:

GetSelectionCategory(Integer)

Gets an NSSelectionCategory object.
Returns: CRMScript.NetServer.NSSelectionCategory Example:

GetSelectionCategoryList(Integer[])

Gets an array of SelectionCategory objects.
Returns: CRMScript.NetServer.NSSelectionCategory[] Example:

GetSource(Integer)

Gets an NSSource object.
Returns: CRMScript.NetServer.NSSource Example:

GetSourceList(Integer[])

Gets an array of Source objects.
Returns: CRMScript.NetServer.NSSource[] Example:

GetSources()

Returns all sources
Returns: CRMScript.NetServer.NSSource[] Example:

GetTask(Integer)

Gets an NSTask object.
Returns: CRMScript.NetServer.NSTask Example:

GetTaskList(Integer[])

Gets an array of Task objects.
Returns: CRMScript.NetServer.NSTask[] Example:

GetTasks()

Returns all appointment tasks
Returns: CRMScript.NetServer.NSTask[] Example:

GetTicketCategories()

Returns: CRMScript.NetServer.NSTicketCategoryEntity[] Example:

GetTicketCategoriesForUserGroups(Integer[])

Returns: CRMScript.NetServer.NSMDOListItem[] - Ticket categories for user groups.

GetTicketCategory(Integer)

Gets an NSTicketCategory object.
Returns: CRMScript.NetServer.NSTicketCategory Example:

GetTicketCategoryEntity(Integer)

Gets an NSTicketCategoryEntity object.
Returns: CRMScript.NetServer.NSTicketCategoryEntity Example:

GetTicketCategoryList(Integer[])

Gets an array of NSTicketCategoryEntity objects.
Returns: CRMScript.NetServer.NSTicketCategoryEntity[] Example:

GetTicketPriorities()

Returns: CRMScript.NetServer.NSTicketPriority[] Example:

GetTicketPriority(Integer)

Gets an NSTicketPriority object.
Returns: CRMScript.NetServer.NSTicketPriority Example:

GetTicketPriorityEntity(Integer)

Gets an NSTicketPriorityEntity object.
Returns: CRMScript.NetServer.NSTicketPriorityEntity Example:

GetTicketPriorityList(Integer[])

Gets an array of NSTicketPriority objects.
Returns: CRMScript.NetServer.NSTicketPriority[] Example:

GetTicketStatusEntity(Integer)

Gets an NSTicketStatusEntity object.
Returns: CRMScript.NetServer.NSTicketStatusEntity Example:

GetTicketStatuses()

Returns: CRMScript.NetServer.NSTicketStatusEntity[] Example:

GetTicketStatusList(Integer[])

Gets an array of NSTicketStatusEntity objects.
Returns: CRMScript.NetServer.NSTicketStatusEntity[] Example:

GetVisibleForUserGroups(Integer,Integer)

Returns: CRMScript.NetServer.NSSelectableMDOListItem[] - List of User groups that this list item is visible for. Example:

GetVisibleForUserGroupsFromListName(String,Integer)

Returns: CRMScript.NetServer.NSSelectableMDOListItem[] - List of User groups that this list item is visible for. Example:

GetWebPanelByProgId(String)

Gets a web panel using the ProgId key that was specified when it was created
Returns: CRMScript.NetServer.NSWebPanelEntity Example:

GetWebPanelEntity(Integer)

Gets an NSWebPanelEntity object.
Returns: CRMScript.NetServer.NSWebPanelEntity Example:

GetWebPanelList()

Return a list of all web panels.
Returns: CRMScript.NetServer.NSWebPanelEntity[] Example:

GlobalChangeTicketStatus(Integer,Integer)

Changes all references from one ticket status to another.
Returns: CRMScript.Global.Void
Typically used in conjunction with delete.
Example:

MoveAllTickets(Integer,Integer)

Moves all tickets from one ticket category to another
Returns: CRMScript.Global.Void Example:

MoveListItem(Integer,Integer,Integer)

Moves a list item up or down in the list based on rank
Returns: CRMScript.Global.Void

RebuildFullnames()

Updates the fullname field of all categories
Returns: CRMScript.Global.Void
Use this for example when changing parentId or renaming a category with children.
Example:

SaveAllFromListDefinition(Integer,NSListItemEntity[])

Saves all list items for the specified list definition
Returns: CRMScript.NetServer.NSListItemEntity[] Example:

SaveAllFromListName(String,NSListItemEntity[])

Saves all list items for the specified list definition
Returns: CRMScript.NetServer.NSListItemEntity[] Example:

SaveAmountClassEntity(NSAmountClassEntity)

Updates the existing NSAmountClassEntity or creates a new NSAmountClassEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSAmountClassEntity Example:

SaveConsentPurpose(NSConsentPurpose)

Saves an NSConsentPurpose object
Returns: CRMScript.NetServer.NSConsentPurpose Example:

SaveConsentSource(NSConsentSource)

Returns: CRMScript.NetServer.NSConsentSource Example:

SaveCountry(NSCountry)

Saves a country
Returns: CRMScript.NetServer.NSCountry Example:

SaveCurrencyEntity(NSCurrencyEntity)

Updates the existing NSCurrencyEntity or creates a new NSCurrencyEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSCurrencyEntity Example:

SaveDocumentTemplateEntity(NSDocumentTemplateEntity)

Updates the existing NSDocumentTemplateEntity or creates a new NSDocumentTemplateEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSDocumentTemplateEntity Example:

SaveDocumentTemplateStream(Integer,NSStream,String,Integer)

Writes content in stream to document template file
Returns: CRMScript.NetServer.NSTemplateInfo Example:

SaveExtAppEntity(NSExtAppEntity)

Updates the existing NSExtAppEntity or creates a new NSExtAppEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSExtAppEntity Example:

SaveFromListDefinition(Integer,Integer,NSListItemEntity)

Saves a list item for the specified list definition
Returns: CRMScript.NetServer.NSListItemEntity Example:

SaveFromListName(Integer,String,NSListItemEntity)

Saves a list item for the specified list definition
Returns: CRMScript.NetServer.NSListItemEntity Example:

SaveHeadingEntity(NSHeadingEntity)

Updates the existing NSHeadingEntity or creates a new NSHeadingEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSHeadingEntity Example:

SaveHeadingFromListDefinition(Integer,NSHeadingEntity)

Saves new heading for list resolved by the provided ID.
Returns: CRMScript.NetServer.NSHeadingEntity Example:

SaveHeadingFromName(String,NSHeadingEntity)

Saves new heading for list resolved by the provided name.
Returns: CRMScript.NetServer.NSHeadingEntity Example:

SaveHeadingsForListItemFromListDefinition(Integer,Integer,NSSelectableMDOListItem[])

Saves the active headings for the list item.
Returns: CRMScript.NetServer.NSSelectableMDOListItem[] Example:

SaveHeadingsForListItemFromListName(String,Integer)

Saves the headings for the list item.
Returns: CRMScript.NetServer.NSSelectableMDOListItem[] Example:

SaveHeadingsFromListDefinition(Integer)

Save headings for list resolved by the provided id.
Returns: CRMScript.NetServer.NSHeadingEntity[] Example:

SaveHeadingsFromName(String)

Saves headings for list resolved by the provided name.
Returns: CRMScript.NetServer.NSHeadingEntity[] Example:

SaveHierarchyEntity(NSHierarchyEntity)

Updates the existing NSHierarchyEntity or creates a new NSHierarchyEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSHierarchyEntity Example:

SaveLegalBase(NSLegalBase)

Returns: CRMScript.NetServer.NSLegalBase

SaveListEntity(NSListEntity)

Updates the existing NSListEntity or creates a new NSListEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSListEntity Example:

SaveListEntityByName(String,NSListEntity)

Saves an NSListEntity resolved by the provided name.
Returns: CRMScript.NetServer.NSListEntity Example:

SaveListItemEntity(NSListItemEntity)

Saves the NSListItemEntity.
Returns: CRMScript.NetServer.NSListItemEntity Example:

SaveProjectTypeEntity(NSProjectTypeEntity)

Updates the existing NSProjectTypeEntity or creates a new NSProjectTypeEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSProjectTypeEntity Example:

SaveQuickReplies(NSQuickReply[])

Saves all quick replies for a given associate
Returns: CRMScript.Global.Void

SaveRelationDefinitionEntity(NSRelationDefinitionEntity)

Updates the existing NSRelationDefinitionEntity or creates a new NSRelationDefinitionEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSRelationDefinitionEntity Example:

SaveResourceEntity(NSResourceEntity)

Updates the existing NSResourceEntity or creates a new NSResourceEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSResourceEntity Example:

SaveSaleStageEntity(NSSaleStageEntity)

Updates the existing NSSaleStageEntity or creates a new NSSaleStageEntity if the id parameter is
Returns: CRMScript.NetServer.NSSaleStageEntity Example:

SaveSaleTypeEntity(NSSaleTypeEntity)

Updates the existing NSSaleTypeEntity or creates a new NSSaleTypeEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSSaleTypeEntity Example:

SaveTicketCategoryEntity(NSTicketCategoryEntity)

Updates the existing NSTicketCategoryEntity or creates a new NSTicketCategoryEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSTicketCategoryEntity Example:

SaveTicketPriorityEntity(NSTicketPriorityEntity)

Updates the existing NSTicketPriorityEntity or creates a new NSTicketPriorityEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSTicketPriorityEntity Example:

SaveTicketStatusEntity(NSTicketStatusEntity)

Updates the existing NSTicketStatusEntity or creates a new NSTicketStatusEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSTicketStatusEntity Example:

SaveWebPanelEntity(NSWebPanelEntity)

Updates the existing NSWebPanelEntity or creates a new NSWebPanelEntity if the id parameter is 0
Returns: CRMScript.NetServer.NSWebPanelEntity Example:

SetDocumentTemplateFromDocumentTemplate(Integer,NSDocumentTemplateEntity)

Creates a new document template based on another template
Returns: CRMScript.NetServer.NSDocumentTemplateEntity Example:

SetDocumentTemplateStream(NSDocumentTemplateEntity,NSStream,String,Integer)

Stores a document template from its stream.
Returns: CRMScript.NetServer.NSDocumentTemplateEntity
Since there is a potential for a name conflict (the file name stored by the document entity earlier may prove to be invalid), the (possibly amended) document entity is returned. The client should not assume that any earlier, cached entity information is valid.
Example:

SetEmarketingStrictMode(Bool)

Turns on the Emarketing strict mode, which will enable full GDPR rules concerning Emarketing consents and subscriptions
Returns: CRMScript.Global.Void Example:

SetHeadingsForListItem(Integer,Integer,Bool)

Sets headings which this list item should be listed under
Returns: CRMScript.Global.Void

SetListItemsForHeading(Integer,Integer,Integer[],Bool)

Updates listItems that will be visible for this usergroup
Returns: CRMScript.Global.Void

SetListItemsForHeadingFromListName(String,Integer,Integer[],Bool)

Updates listItems under this heading
Returns: CRMScript.Global.Void

SetListItemsForUserGroup(Integer,Integer,Integer[],Bool)

Updates listItems that will be visible for this usergroup
Returns: CRMScript.Global.Void

SetListItemsForUserGroupFromListName(String,Integer,Integer[],Bool)

Updates listItems that will be visible for this usergroup
Returns: CRMScript.Global.Void

SetRankOnHeadings(Integer,Integer[])

Sets rank order on headings
Returns: CRMScript.Global.Void

SetRankOnProjectActivity(Integer,Integer[])

Sets rank order on project activity
Returns: CRMScript.Global.Void

SetRankOnProjectDocument(Integer,Integer[])

Sets rank order on project document
Returns: CRMScript.Global.Void

SetRankOnSaleActivity(Integer,Integer[])

Sets rank order on sale activity
Returns: CRMScript.Global.Void

SetRankOnSaleDocument(Integer,Integer[])

Sets rank order on project document
Returns: CRMScript.Global.Void

SetTicketCategoriesForUserGroup(Integer,Integer[])

Sets ticket categories for one user group
Returns: CRMScript.Global.Void Example:

SetVisibleForUserGroup(Integer,Integer,Integer[],Bool)

Sets a group which this list item should be visible for
Returns: CRMScript.Global.Void

SetVisibleForUserGroups(Integer,Integer,NSSelectableMDOListItem[])

Updates User groups that this list item is visible for
Returns: CRMScript.NetServer.NSSelectableMDOListItem[] Example:

SetVisibleForUserGroupsFromListName(String,Integer)

Updates User groups that this list item is visible for
Returns: CRMScript.NetServer.NSSelectableMDOListItem[] Example:

SortListItems(Integer,String)

Sort the list items in a given list alphabetically
Returns: CRMScript.Global.Void

UpdateHierarchyFromPath(Integer,String,NSHierarchyEntity)

Updates a hierarchy item from a path
Returns: CRMScript.NetServer.NSHierarchyEntity Example:

UpdateCategoryMemberships(NSTicketCategoryMembershipEntity[],NSTicketCategoryMembershipEntity[],NSTicketCategoryMembershipEntity[])

Updates a TicketCategory memberships.
Returns: CRMScript.Global.Void Example: