Class: RowChange

jsBusinessLogic~RowChange(nChecks, r, audits, varName, colName)

new RowChange(nChecks, r, audits, varName, colName)

Represents a changed row with related information to display a message
Parameters:
Name Type Description
nChecks int number of checks applied to the row
r DataRow DataRow being changed (added/modified/deleted)
audits Array.<ObjectRow> rows from auditcheckview related to this change
varName string variable name used in stored procedure invocation
colName string column name that will receive the result
Source:

Members

r

changed DataRow
Properties:
Name Type Description
r DataRow
Source:

tableName

Properties:
Name Type Description
tableName string
Source:

Methods

_getRelatedRow(relatedTableName) → {ObjectRow|null}

Searches a row in parent/child tables
Parameters:
Name Type Description
relatedTableName string
Source:
Returns:
Type
ObjectRow | null

_getRelatedRowExactTable(relatedTableName) → {ObjectRow|null}

Searches a row in parent/child tables
Parameters:
Name Type Description
relatedTableName string
Source:
Returns:
Type
ObjectRow | null

getRelated(tableName) → {DataRow|undefined}

Get a DataRow related to the RowChange, in a given tablename
Parameters:
Name Type Description
tableName string
Source:
Returns:
Type
DataRow | undefined

searchRelated(tableName) → {*}

Fills related searching the specified table
Parameters:
Name Type Description
tableName string
Source:
Returns:
Type
*