Code generation
For each component having a Change method, two functions are generated that calculate the checksum.
function string
<ComponentName>.CalculateChecksum()
Returns the checksum as a single-byte string of length 40.
The checksum is based on all table fields linked to an attribute implementation of all tables that are used within the component or one of its ancestors. These table fields are concatenated into one single string and passed to function calculate.checksum() that uses the Portingset SHA functions to calculate a checksum.
function string
<ComponentName>.CalculateChecksumRB()
Returns the checksum as a single-byte string of length 40.
The checksum is based on the complete record buffer of all tables that are used within the component or one of its ancestors. These table buffers are encoded and use the Portingset SHA functions to calculate a checksum.