C1-PA-SUBMIT
This algorithm used to perform following task:
-
Used to validate payment agreement request on submitting.
-
If request type is without approval then PA status will move from Draft to Active automatically
-
If request type is with approval then PA will be sent for approval depending on following parameters defined at this algorithm.
-
Number of days before to consider in calculation - This parameter is used to search payment agreement specified days back to calculate number of Payment Agreement.
-
Maximum Payment Agreement allowed without approval - If this parameter is less than calculated value then it will go without approval, otherwise with approval.
-
Status - One status at a time like Active. These defined status are used in the calculation of the number of payment agreement
-
