C1-WOAPPROVD
This algorithm is triggered when the approver clicks the Approve button. It checks whether the approval is required from users at the next level in the approval hierarchy. If the approval is required from the next level in the approval hierarchy, the status of the write off request is changed to Approval In Progress and the algorithm attached to the Approval In Progress status is invoked. If further approval is not required, the status of the write off request is changed to Creating Adjustment.