Skip to main content
To be able to respond with more than just a true/false, but also an explanation. Such an explanation can be displayed on for instance a disabled Place Order button.

Constructors

NSPluginResponse()

Initializes a new instance of the NSPluginResponse class.

Methods

GetChanges()

Returns: CRMScript.NetServer.NSChangedData - Table name/record ID of data changed by this method, that the client may need to reload. Example:

GetErrorCode()

Returns: CRMScript.Global.String - An error code, if available. Example:

GetIsOk()

Returns: CRMScript.Global.Bool - Answer to the question / An indication if the operation went well. Example:

GetTechExplanation()

Returns: CRMScript.Global.String - Always in English. Example:

GetUserExplanation()

Returns: CRMScript.Global.String - A localized explanation to the answer. Example:

SetChanges(NSChangedData)

Returns: CRMScript.Global.Void Example:

SetErrorCode(String)

Returns: CRMScript.Global.Void Example:

SetIsOk(Bool)

Returns: CRMScript.Global.Void Example:

SetTechExplanation(String)

Returns: CRMScript.Global.Void Example:

SetUserExplanation(String)

Returns: CRMScript.Global.Void Example: