TransactionApp
Methods
blurFormField(fieldId, [justChanged])
isSaved() ⇒ boolean
setPropOnAllColumns()
clearGrid() ⇒ this
getGrid() ⇒ *
getGridRows() ⇒ Array.<any>
getCurrentGridRow() ⇒ *
getGridSchema() ⇒ Array.<any>
refreshGrid() ⇒ this
addGridColumn(column) ⇒ this
calcGridColumnFooterTotals() ⇒ this
getColumnAlias(columnId)
getGridColumnProperty(columnid, propertyName) ⇒ *
getGridColumnTotal(columnid) ⇒ number
hideGridColumn(columnid)
setColumnFooter(columnId, value)
setGridColumnProp(columnid, propertyName, propertyValue)
showGridColumn(columnid)
refreshGridRow(rowuid, [focusedFieldID]) ⇒ this
addGridRow(data, [executeBlurEvent]) ⇒ this
insertGridRow(data) ⇒ this
removeCurrentGridRow() ⇒ this
removeGridDataRow(eventInfo, rowIndex) ⇒ this
getGridFieldText(rowuid, fieldid) ⇒ *
getGridFieldValue(rowuid, fieldid) ⇒ *
setGridFieldText(rowuid, fieldid, text) ⇒ this
setGridFieldValue(rowuid, fieldid, value) ⇒ this
onDeleteEventHandler(e)
delete(data, callback)
Deletes the header and detail of a transaction.
onGetDetailEventHandler(e) ⇒ Type.Promise
getDetail(transactionRowID, callback) ⇒ *
Get transaction detail by id.
onGetHeaderEventHandler(e) ⇒ Type.Promise
getHeader(rowid, callback) ⇒ void
Get transaction header by id. Dynamically retrieves only the fields in the app setup.
onExportEventHandler(e)
onImportEventHandler(e)
onLoadEventHandler(e)
onNewEventHandler(e)
new()
onReadyEventHandler(e)
onSaveEventHandler(e) ⇒ Type.Promise
save(saveObject, callback)
validate(e, [callback]) ⇒ Type.Promise
blurFormField(fieldId, [justChanged])
Params
fieldId
string
[justChanged]
boolean
= true
isSaved() ⇒ boolean
boolean
setPropOnAllColumns()
clearGrid() ⇒ this
this
getGrid() ⇒ *
*
getGridRows() ⇒ Array.<any>
Array.<any>
getCurrentGridRow() ⇒ *
*
getGridSchema() ⇒ Array.<any>
Array.<any>
refreshGrid() ⇒ this
this
addGridColumn(column) ⇒ this
this
Params
column
Type.Column
calcGridColumnFooterTotals() ⇒ this
this
getColumnAlias(columnId)
Params
columnId
getGridColumnProperty(columnid, propertyName) ⇒ *
*
Params
columnid
string
propertyName
any
getGridColumnTotal(columnid) ⇒ number
number
Params
columnid
any
hideGridColumn(columnid)
Params
columnid
any
setColumnFooter(columnId, value)
Params
columnId
value
setGridColumnProp(columnid, propertyName, propertyValue)
Params
columnid
any
propertyName
any
propertyValue
any
showGridColumn(columnid)
Params
columnid
any
refreshGridRow(rowuid, [focusedFieldID]) ⇒ this
this
Params
rowuid
string
[focusedFieldID]
string
addGridRow(data, [executeBlurEvent]) ⇒ this
this
Params
data
any
[executeBlurEvent]
boolean
= true
insertGridRow(data) ⇒ this
this
Params
data
any
removeCurrentGridRow() ⇒ this
this
removeGridDataRow(eventInfo, rowIndex) ⇒ this
this
Params
eventInfo
Type.EventInfo
rowIndex
number
getGridFieldText(rowuid, fieldid) ⇒ *
*
Params
rowuid
string
fieldid
string
getGridFieldValue(rowuid, fieldid) ⇒ *
*
Params
rowuid
string
fieldid
string
setGridFieldText(rowuid, fieldid, text) ⇒ this
this
Params
rowuid
string
fieldid
string
text
any
setGridFieldValue(rowuid, fieldid, value) ⇒ this
this
Params
rowuid
string
fieldid
string
value
any
onDeleteEventHandler(e)
Params
e
Type.EventInfo
delete(data, callback)
Deletes the header and detail of a transaction.
Params
data
any
callback
Type.Callback
onGetDetailEventHandler(e) ⇒ Type.Promise
Type.Promise
Params
e
Type.EventInfo
getDetail(transactionRowID, callback) ⇒ *
*
Get transaction detail by id.
Params
transactionRowID
number
callback
Type.Callback
onGetHeaderEventHandler(e) ⇒ Type.Promise
Type.Promise
Params
e
Type.EventInfo
getHeader(rowid, callback) ⇒ void
void
Get transaction header by id. Dynamically retrieves only the fields in the app setup.
Params
rowid
number
callback
Type.Callback
onExportEventHandler(e)
Params
e
Type.EventInfo
onImportEventHandler(e)
Params
e
Type.EventInfo
onLoadEventHandler(e)
Params
e
Type.EventInfo
onNewEventHandler(e)
Params
e
Type.EventInfo
new()
onReadyEventHandler(e)
Params
e
Type.EventInfo
onSaveEventHandler(e) ⇒ Type.Promise
Type.Promise
Params
e
Type.EventInfo
save(saveObject, callback)
Params
saveObject
any
callback
Type.Callback
validate(e, [callback]) ⇒ Type.Promise
Type.Promise
Params
e
Type.EventInfo
[callback]
function
Last updated
Was this helpful?