Please enable JavaScript to view this site.

Contains the options for the Update functions

This class is composed of 7 boolean properties, by default they are created on false. These are the properties and their meaning:

 

readAfter. When its value is established to true, the Update function, once you have updated the record, reads it again and returns it to the client. If this property was established to true, the Update function, once the record has been updated, carries out a Read, and if you wish you will be able to establish the calculated, conversion, formatSpec, originalRecords and dictionaries to true.

 

ücalculated: when its value is established to true and readAfter is also true, the Update function returns calculated fields and the names of the calculated field dictionaries

 

Conversion: when its value is established to true, the conversions that are defined in each of the field dictionaries are applied before returning the record fields to the client.

 

FormatSpec: when its value is established to true, the format specifications defined in each of the field dictionaries are applied before returning the record fields to the client.

 

üoriginalRecords: when its value is established to true, a copy of the recently created record is added. This copy can be used afterwards in a new Update or Delete operation with the Optimistic Lock features.

 

üdictionaries: when its value is established to true, a copy of the dictionaries definitions is returned

 

optimisticLockControl

boolean

false

checks out if the file has not been modified by another user

 

readAfter

boolean

false

reads the record again and returns it after the update. Calculated, dictionaries, conversion, formatSpec and originalBuffer will only be effective if this option is true

 

calculated

boolean

false

return the resulting values from the calculated dictionaries.

 

conversion

boolean

false

execute the defined conversions in the dictionaries before returning.

 

formatSpec

boolean

false

execute the defined formats in the dictionaries before returning.

 

originalRecords

boolean

false

return a copy of the records in MV format.

 

 

       Constructors