Skip to main content
Used for communicating with DBI agents to share data with external systems.

Constructors

DbiControl()

Initializes a new instance of the DbiControl class.

Methods

getObject()

When fetching data from external system, this function is called repeatedly.
Returns: CRMScript.Native.Map - Field-value pairs for the currently fetched object.

getParameter(String)

Returns the value of the given parameter.
Returns: CRMScript.Global.String - The value of the named parameter.

getParameters()

Retrieves parameters for a DBI setup.
Returns: CRMScript.Native.Map - Field-value pairs.
It can among else define parameters for limiting the data set, or whatever else you define under the “Settings/DBI” section of eJournal. You will also get saved parameters so that you can store values from one run to another.

saveParameter(String,String)

Saves a parameter to the object.
Returns: CRMScript.Global.Void

sendObject(Map)

This function will send an object to the external system agent, during a DBI integration session.
Returns: CRMScript.Global.Void
This may be a map of table.field_name and value, for instance, for an ODBC agent.

setParameter(String,String)

Allows you to set parameter values that are sent to the external DBI agent.
Returns: CRMScript.Global.Void
The parameters set using this function are not saved for later retrieval.