C1-REFUNDSUB
This algorithm checks the following:
-
Whether the approval is required for the refund request. If the approval is required for a refund request, the status of the refund request is changed to Approval In Progress. However, if the approval is not required for a refund request, the status of the refund request is changed to Creating Adjustment.
-
If the account on which the refund request is created is on an active hold request, then the status of the refund request is changed to Hold.
-
At least one entity, such as payment event, payment, or credit bill line item (such as credit bill segment or adjustment) is selected in the refund request.
-
Whether the approval profile attached to the refund request type has the credit hierarchy and C1-REFRQ To Do type is defined.