Child pages
  • ViewRecord

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Property SummaryReturns last occurred exception on this record (or null).Returns parent foundset of the record.Returns the validation object if there where validation failures for this record Can be set to null again if you checked the problems, will also be set to null when a save was succesful.

servoy sSummary12%30%58%height: 30px;3Methods SummaryReturns a JSDataSet with outstanding (not saved) changed data of this record.Returns an array with the primary key values of the record.Returns true if the current record has outstanding/changed data.voidReverts the in memory outstanding (not saved) changes of the record.

propertyservoy sDetail2100%height:30px2Property Detailsexceptionname

exception

dessIndent
Returns last occurred exception on this record (or null).
ret

Returns

sIndent The occurred exception.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowfoundsetname

foundset

dessIndent
Returns parent foundset of the record.
ret

Returns

sIndent The parent foundset of the record.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
recordMarkersname

recordMarkers

dessIndent
Returns the validation object if there where validation failures for this record
Can be set to null again if you checked the problems, will also be set to null when a save was succesful.
ret

Returns

sIndent The last validtion object if the record was not validated.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow

sam

Sample

sIdentjavascriptlastDetailRowisNewname

isNew()

dessIndentret

Returns

sIndentfunctionservoy sDetail2100%height:30px2Methods DetailsgetChangedDataname

getChangedData()

dessIndent
Returns a JSDataSet with outstanding (not saved) changed data of this record.
column1 is the column name, colum2 is the old data and column3 is the new data.

NOTE: To return an array of records with outstanding changed data, see the function foundset.getEditedRecords().
ret

Returns

sIndent a JSDataSet with the changed data of this record.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getPKsname

getPKs()

dessIndent
Returns an array with the primary key values of the record.
ret

Returns

sIndent an Array with the pk values.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
hasChangedDataname

hasChangedData()

dessIndent
Returns true if the current record has outstanding/changed data.
ret

Returns

sIndent true if the current record has outstanding/changed data.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
revertChangesname

revertChanges()

dessIndent
Reverts the in memory outstanding (not saved) changes of the record.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow