Please enable JavaScript to view this site.

Contains the options for the New function

 

This class is composed of these properties:

 

ReadAfter. When its value is established to true, the New function, once you have saved the record, reads it again and returns it to the client. If this property was established to true, the New function, once the record has been saved, carries out a Read, and if you wish you will be able to establish to true the Calculated, Conversion, FormatSpec, OriginalRecords and Dictionaries properties.

Calculated: when its value is established to true, the New function returns calculated fields and the names of the calculated fields 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 saved to be used afterward 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

 

newRecordIdType

NewRecordIdType

null

options for the creation of codes. Linkar, Custom, Random. This is compulsory if record codes are not indicated

 

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