Constructors
NSSelectionAgent()
Methods
AddContactSelectionMembers(Integer,NSContactPersonId[])
Adds the collection of ContactPersonId as members to the static selectionAddContactSelectionMembersFromSearch(Integer,String)
Adds members to the selection from the search result.AddRemoveContactSelectionMemberInterests(Integer,Integer[],Integer[],Integer[],Integer[])
Adds or removes interests on companies and persons in a selection.AddSelectionMembers(Integer,Integer[])
Add selection members to a static selection of type others than contacts.AddSelectionMembersFromSearch(Integer,String)
Adds members from the selection using the search result.CopyContactSelectionMembers(Integer,Integer)
Copies contact selection members from selection into an existing selection.CopySelectionMembers(Integer,Integer)
Copies selection members from selection into an existing selection.CreateContactSelectionFromSelection(Integer,String,Integer,Bool)
Creates a new selection based on selection members from an existing selection.CreateContactSelectionFromShadowSelection(Integer,String)
Creates a new contact selection based on contact selection members from an existing shadow sale, appointment, project or document selection.The new selection will always be static even if the original selection is dynamic.
CreateDefaultMailMergeSettings()
Sets default values into a new NSMailMergeSettings.NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
CreateDefaultMailMergeTask()
Sets default values into a new NSMailMergeTask.NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
CreateDefaultSelectionEntity()
Sets default values into a new NSSelectionEntity.NetServer calculates default values (for example, Country) on the entity, which is required when creating/storing a new instance
CreateNewEntry(NSDuplicateEntry)
Creates a new selection based on external duplicateCreateSelectionEntity(String)
Creates (but do not save) a new selection entity, for the current user and the given target table; other fields populated as by CreateDefaultSelectionEntity()CreateSelectionFromSelection(Integer,String,Integer,Bool)
Creates a new selection based on selection members from an existing selection.CreateTemporaryContactSelection()
Creates a temporary selection.CreateTemporaryContactSelectionFromContactPersonIds(NSContactPersonId[])
Creates a temporary selection with members from a collection of ContactPerson IDs.CreateTemporaryContactSelectionFromProjectMembers(Integer)
Creates a temporary selection with members from an existing project.CreateTemporaryContactSelectionFromSelectionMemberIds(Integer,Integer[])
Creates a temporary selection with members from a collection of selection-member IDs.CreateTemporarySelectionFromIds(Integer[],Integer)
Creates a temporary selection with members from a collection of entity IDs.DeleteContacts(Integer)
Deletes all contacts from a selection.If a contact does not have delete rights, it will be skipped.
DeleteEntities(Integer)
Deletes all entities from a selection.If an entity does not have delete rights, it will be skipped.
DeletePersons(Integer)
Deletes all persons from a selection.If a person does not have delete rights, it will be skipped.
DeleteSelectionEntity(Integer)
Deletes the NSSelectionEntityEditContactSelectionMemberDetails(Integer,NSSelectionMemberEditValues)
Edits company and contact details in a selection based on contents in selectionMemberEditValues.ExportSelectionMembers(Integer,String,Bool)
Generates a string that is the result of substituting the template variables with values from selection members.ExportSelectionMembersWithOrderBy(Integer,String,Bool,String)
Generates a string that is the result of substituting the template variables with values from selection members.GenerateFollowUps(Integer,NSAppointmentEntity,Integer,Bool,Bool)
Generates follow-ups for members in the selection.GetDuplicateRules()
Retrieves all available duplicate rules for selectionGetDuplicates(String)
Gets duplicates(exact or similar in the database) based on the nameGetDynamicSelectionCriteria(Integer)
Gets the criteria for this dynamic selection.GetDynamicSelectionCriteriaGroups(Integer)
Gets the criteria for this dynamic selection. This call supports multiple criteria groups.GetParentCombinedSelections(Integer)
Gets a list of all selection ids where the given selection is used to create a combined selection.GetRecipientStatistics(Integer)
Returns an NSRecipientStatistics object with a count of addresses and email addresses.GetRecipientStatisticsFromContactPersonIds()
Returns an NSRecipientStatistics object with a count of addresses and email addresses based on contact and persons in a collection of ContactPersonId.GetRecipientStatisticsFromProjectMembers(Integer)
Returns an NSRecipientStatistics object with a count of addresses and email addresses based on members in a project.GetSelectionEntity(Integer)
Gets an NSSelectionEntity object.GetSelectionForFind(String,Integer)
Obtains a selection for the given entity, for the current user, of type WorkingSetForFind.GetSelectionMembersArchiveRows(Integer,String)
Gets the list of members in this selection. The type of members depends on the target table of the selection.GetSelectionShadowMembersArchiveRows(Integer,String)
Gets the list of members in this selection’s shadow (i.e. the list of contacts + persons referenced in the main selection).RemoveContactSelectionMembers(Integer,NSContactPersonId[])
Removes members from the selection as specified in the collection of ContactPersonId.RemoveContactSelectionMembersFromIds(Integer,Integer[])
Removes members from the selection using a collection a selection-member IDs.Members can only be removed from single selection.
RemoveContactSelectionMembersFromSearch(Integer,String)
Removes members from the selection using the search result.RemoveSelectionMembers(Integer,Integer[])
Removes members from the selection as specified in the collection of entity IDs. The IDs are selection member IDs (selection member primary key)RemoveSelectionMembersById(Integer,Integer[])
Removes members from the selection as specified in the collection of entity IDs. The IDs can be a collection of sale IDs, or other supported types.RemoveSelectionMembersFromSearch(Integer,String)
Removes members from the selection using the search result.SaveSelectionEntity(NSSelectionEntity)
Updates the existing NSSelectionEntity or creates a new NSSelectionEntity if the ID parameter is 0.SetDuplicateRulesStatus(NSDuplicateRule[])
Sets which duplicate rules should be active or notSetDynamicSelectionCriteria(Integer,NSArchiveRestrictionInfo[])
Updates the criteria for this dynamic selection. Replaces existing criteria with the new values.SetDynamicSelectionCriteria2(Integer,String)
Updates the criteria for this dynamic selection using string.Criteria are parsed from the OData filter form: ”name startswith ‘foo’ and category in (1,2,3)”n
SetDynamicSelectionCriteria3(Integer,NSArchiveRestrictionInfo[],String)
Updates the criteria for this dynamic selection. Use criteria as either restriction objects or OData string format.Criteria are parsed from the OData filter form: ”name startswith ‘foo’ and category in (1,2,3)”n