Skip to main content
Information about a connection to the ERP system.

Constructors

NSQuoteConnection()

Initializes a new instance of the NSQuoteConnection class.

Methods

GetAllAccess()

Returns: CRMScript.Global.Bool - Is this connection accessible to everyone? If not, then the QuoteConnectionAccess table tells us who can access it. Example:

GetAssociateAccessIds()

Returns: CRMScript.Global.Integer[] - Array of IDs containing associates that will have access to this connection. Example:

GetConnectorName()

Returns: CRMScript.Global.String - Programmatic name of the Connector plugin that implements this kind of connection. Example:

GetDeleted()

Returns: CRMScript.Global.Bool - If set, then this is a row that has been ‘deleted’; we do not physically delete rows to avoid disaster. Example:

GetDisplayDescription()

Returns: CRMScript.Global.String - Tooltip/description shown to user; multi-language support. Any other info available that would make an uncertain user chose the right connector. Typically, used for tooltip. Example:

GetDisplayName()

Returns: CRMScript.Global.String - Connection name shown to user; multi-language support. The name of the connector to display in a list so that the users can choose between them. Typically the name of the client, with maybe the ERP system in parenthesis. Example:

GetErpConnectionId()

Returns: CRMScript.Global.Integer - The ERP Connection that this Quote connection is an extension of. Example:

GetERPName()

Returns: CRMScript.Global.String - Name of the ERP system (programmatic). Example:

GetExtraData()

Returns: CRMScript.Global.String - Optional extra data, in XML format, for configuring the connector. Connector-specific! Example:

GetInitializeResponse()

Returns: CRMScript.NetServer.NSPluginResponse - Status and Error message when the system called the connector Initialize method. Null if the connector has not been initialized yet. Example:

GetIsAvailable()

Returns: CRMScript.Global.Bool - Whether or not the specified connection is available. Typically, without network access the availability is false. Example:

GetPriceLists()

Returns: CRMScript.NetServer.NSPriceList[] - The PriceLists that this connection offers. Example:

GetQuoteConnectionId()

Returns: CRMScript.Global.Integer - Primary key. Example:

GetRank()

Returns: CRMScript.Global.Integer - Rank order. Example:

GetUserGroupAccessIds()

Returns: CRMScript.Global.Integer[] - Array of ids containing user groups that will have access to this connection. Example:

SetAllAccess(Bool)

Returns: CRMScript.Global.Void Example:

SetAssociateAccessIds(Integer[])

Returns: CRMScript.Global.Void Example:

SetConnectorName(String)

Returns: CRMScript.Global.Void Example:

SetDeleted(Bool)

Returns: CRMScript.Global.Void Example:

SetDisplayDescription(String)

Returns: CRMScript.Global.Void Example:

SetDisplayName(String)

Returns: CRMScript.Global.Void Example:

SetErpConnectionId(Integer)

Returns: CRMScript.Global.Void Example:

SetERPName(String)

Returns: CRMScript.Global.Void Example:

SetExtraData(String)

Returns: CRMScript.Global.Void Example:

SetInitializeResponse(NSPluginResponse)

Returns: CRMScript.Global.Void Example:

SetIsAvailable(Bool)

Whether or not the specified connection is available. Typically, without network access the availability is false.
Returns: CRMScript.Global.Void Example:

SetPriceLists(NSPriceList[])

Returns: CRMScript.Global.Void Example:

SetQuoteConnectionId(Integer)

Returns: CRMScript.Global.Void Example:

SetRank(Integer)

Returns: CRMScript.Global.Void Example:

SetUserGroupAccessIds(Integer[])

Returns: CRMScript.Global.Void Example: