3.7.3 Validation Procedure
The OFSA_TAB_CLASS_REQ package contains all of the
procedures and supporting functions that validates if a table meets the
requirements for a particular Table Classification.
The package performs the following validations:
VALIDATE_INST_KEYThis procedure validates if a table has
ID_NUMBERandIDENTITY_CODE, orID_NUMBER,IDENTITY_CODEandAS_OF_DATEas its unique index and if the Processing key designated in Column Properties isID_NUMBER, IDENTITY_CODE.UPDATABLE_INST_REQ_FIELDSThis procedure checks that all of the Instrument Required Fields are also listed as updatable in
USER_UPDATABLE_COLUMNSfor the specified table or view.VALIDATE_INST_LEAVESThis procedure will validate a table has all the required leaf columns
VALIDATE_TRANS_KEYThis procedure validates if a table has
ID_NUMBERandIDENTITY_CODEand one or more 'B' Leaf Columns in its unique index and that these columns match the Processing key designated in Column Properties.VALIDATE_CORR_KEYThis procedure will validate a table has a unique index with updatable columns.
All the above procedures return a success or failure status. The
REV_TAB_CLASS_ASSIGNMENTtable is updated as 'Y' if a table is successfully validated and 'N' in case of failure.