The validation and processing of the entity correction is performed by algorithms linked to the entity correction type. This allows for various business use cases to be implemented without requiring different business objects. A specific business object for a type of entity correction is only required if there are explicit elements that need to be provided for a given use case.
The validation algorithms are executed for the entity correction “parent” record. Validation algorithms are responsible for checking that the linked entities for the entity correction are valid records in the system and that the mass action is appropriate for each record. Any record that the validation algorithm detects should not be processed should be updated with an appropriate Link Status and for a link status of Skipped, an appropriate Skip Reason should be populated. Refer to the Entity Link Status section of Common Entity Correction Functionality for more information.
The correction algorithm is called for each Active entity for the entity correction by the mass update background process. The correction algorithm should reverify any condition checked by the validation algorithm that could have changed since that algorithm was run. For example, if the validation algorithm checked that the status of the entity was valid, the entity’s status could have changed while waiting for approval so it should be checked again. If there is any reason that the entity should not be processed, the algorithm should return to the batch job the appropriate Link Status and for a link status of Skipped, an appropriate Skip Reason should be populated. The batch job will update the record. Otherwise, the algorithm should perform the appropriate mass action.
Copyright © 2007, 2016, Oracle and/or its affiliates. All rights reserved. Documentation build: 2.5.2016 10:21:45 [T1_1454696505000]