Class: OneSubst

jsBusinessLogic~OneSubst(field, tableName, original, fromTable)

new OneSubst(field, tableName, original, fromTable)

Parameters:
Name Type Description
field string
tableName string
original string Table name.field as in original message
fromTable string Table name of changed row
Source:

Members

error

when true, substitution is wrong
Properties:
Name Type Description
error boolean
Source:

field

Field name
Properties:
Name Type Description
field string
Source:

fromTable

Table name of changed row
Properties:
Name Type Description
fromTable string
Source:

newValue

string that will replace the "original" sequence in the message
Properties:
Name Type Description
newValue string | null
Source:

original

%% or %%
Properties:
Name Type Description
original string
Source:

query

Properties:
Type Description
jsDataQuery
Source:

queryCols

Columns present
Properties:
Name Type Description
queryCols Set.<string>
Source:

queryString

Properties:
Type Description
string
Source:

Methods

setCols(cols)

Parameters:
Name Type Description
cols Array.<string>
Source:

setQuery(query)

Sets the first query and puts the hash in a property
Parameters:
Name Type Description
query jsDataQuery
Source: