C1-BCRVALID
This algorithm is invoked when the user clicks the Validate button. It validates the records which are in the Pending status. It validates the following:
-
Whether the account ID given in the record is valid.
Note: If the account ID is invalid, it derives the account ID using the respective account identifier type and account identifier combination. Once the account ID is derived, the corresponding record is updated in the C1_UPLOAD_REQ_DTLS table. If the system could not derive the account ID using the account identifier type and account identifier combination, the status of the record in the C1_UPLOAD_REQ_DTLS table is changed to Invalid. -
Whether the bill cycle rule code is a valid billing preference.
-
Whether the two or more records with the same account ID and effective date combination does not exist in the upload request.
Note: If duplicate records exist in the upload request, it validates and changes the status of one record to Valid and the status of the remaining records to Invalid.
If any of above validations fail, the status of the record in the C1_UPLOAD_REQ_DTLS table is changed to Invalid. However, if all the above validations are successful, the status of the record in the C1_UPLOAD_REQ_DTLS table is changed to Valid. Once all the pending records in the upload request are validated, the status of the upload request is changed to Validated.
