C1-CR-PROC

This algorithm is invoked when the status of the upload request is changed to Processing. It fetches a list of records which are in the Valid status. For each valid record, this algorithm checks whether the contract ID is specified in the record. If so, it updates the contract rider information of the respective contract. However, if the contract ID is not specified in the record, this algorithm derives the active contracts of the account which are created using the given contract type. For each such derived contract, this algorithm updates the contract rider information. However, if there are no active contracts of the respective contract type for the account, the status of the record is changed to Error.

Note: The system updates the contract using the entity business object specified in the respective upload request type.

If the record is successfully processed, the status of the record is changed to Processed. However, if the record could not be processed successfully due to any reason, the status of the record is changed to Error. Finally, the status of the upload request is changed to Processed.