C1-HLD-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 with a unique combination of the hold request type, hold request start date, hold request end date, hold reason, hold entity, hold entity start date, hold entity end date, comments, hold process details, and hold characteristic details, it creates one hold request using the entity business object specified in the upload request type. However, if there are multiple entity IDs with the same combination, it adds all the entities in the same hold request.

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

If the Activation Approval option is selected in the respective hold request type, the status of the hold request is set to Activation Approval In Progress. However, if the Activation Approval option is not selected in the respective hold request type, the system checks the number of entities added in the hold request. If the number of entities added in the hold request does not exceed the defer processing count, the status of the hold request is set to Active. However, if the number of entities added in the hold request exceeds the defer processing count, the status of the hold request is set to Deferred Processing.

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.