C1-FUNDSUBMT

This algorithm is invoked when you submit a funding request. If the approval process is not configured in the funding request type, it changes the status of the funding request to either Deferred Processing or Create Funding depending on whether the number of bills in the funding request exceeds the defer processing count. If the approval process is configured in the funding request type, it calculates the sum of total debit and credit amount in the funding request. Depending on whether the sum total is debit or credit, it uses the debit or credit hierarchy in the approval profile (which is specified in the funding request type), respectively. If the sum total is less than the minimum threshold amount in the approval hierarchy, the funding request is automatically approved by the system and the status of the funding request is changed to either Deferred Processing or Create Funding depending on whether the number of bills in the funding request exceeds the defer processing count. However, if the sum total is equal to or greater than the threshold amount specified at the first level in the approval hierarchy, the status of the funding request is changed to Approval In Progress.

Note: If the Currency Conversion Required option is selected in the approval profile, the system does currency conversion when the sum total of the debit and credit amount is in a currency which is different from the installation options currency. During the currency conversion of the sum total which is in debit, the system uses the currency conversion algorithm specified in the Currency Conversion Payment Algorithm field of the funding request type. However, during the currency conversion of the sum total which is in credit, the system uses the currency conversion algorithm specified in the Currency Conversion Adjustment Algorithm field of the funding request type.