DtvLong dal_dbi_chk_agg (idn, ent)

Checks whether the record of the passed ident number has aggregate relations bigger than or equal to the check value from the entity relation definition.

Input Parameters Significance
DtvLong idn ident number of the record
DtvLong ent ident number of the entity of the record

Output Parameters Significance
no -

Return Code Significance
1 record exceeds check value
0 record does not exceed check value
-1 data base error checking references

This function uses the check value you interactively defined in the relation data list.

The function returns a result at the first exceeded check value. Please note that this does not indicate the end of checking.