Algorithms Used in C1-WORequest
The following table lists the algorithms which are attached to the C1-WORequest business object:
System Event | Algorithm | Algorithm Type | Description |
---|---|---|---|
Information | C1-REFREQINF | C1-REFREQINF | This algorithm generates the refund and write off request
information string which appears throughout the application. It concatenates
the following fields:
|
Post-Processing | C1-WOPOSP | C1-WOPOSP | This algorithm recalculates and updates the total write off amount in the Write Off Request zone when you change the write off amount against an entity while editing a write off request. |
Validation | C1-WOBOVAL | C1-WOBOVAL | This algorithm validates the following for each entity that
you have selected in the write off request:
|
The following table lists the algorithms which are used in the lifecycle of the C1-WORequest business object:
Status | System Event | Algorithm | Algorithm Type | Description |
---|---|---|---|---|
Draft | - | - | - | - |
Submitted | Enter | C1-WOSUBMIT | C1-WOSUBMIT | This algorithm checks the following:
|
Approval In Progress | Enter | C1-WOAPPROVL | C1-WOAPPROVL | This algorithm creates the following:
|
Approved | Enter | C1-WOAPPROVD | 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. |
Rejected | - | - | - | - |
Creating Adjustment | Enter | C1-WOADJCRT | C1-WOADJCRT | This algorithm does the following:
|
Processed | - | - | - | - |
Cancelled | Enter | C1-WOCANCEL | C1-WOCANCEL |
This algorithm is invoked on click of the Cancel button for a write off request which is in the Processed state. This algorithm cancels all the frozen adjustments created for the write off request. The algorithm fetches the adjustment cancel reason required for cancelling the adjustments in the status reason characteristics (F1_BUS_OBJ_STATUS_RSN_ C HAR table). If the reason is not found, it will use the status reason selected by the user. |