Functional Description
Purpose
This function receives the amount passed in and spreads it to the fourteen period amounts that are
returned as parameters. The business function determines the number of period to spread to by looking
at the account's company information. The manner in which the amount is spread is determined by the
budget pattern code that is passed in as a parameter.
Setup Notes and Prerequisites
When spreading the amounts the business function will use the rounding increment and rounding method
parameters to resolve any rounding issues, and when the annual budget amount is not an even multiple
of the rounding increment the balancing method.
Technical Specification
Determine the type of spread to perform.
If the budget pattern code is equal to do not spread
If the ledger type is set to do not spread
Perform an even spread
Else
return without spreading
If the budget pattern code is not equal to do not spread and the budget pattern code is not blank
Perform a spread according the budget pattern code
Else If even spread
Perform an even spread
Else If budget pattern code is blank
Perform spread according to blank budget pattern code
If spread failed
Perform even spread
^
^
D1400451 - Spread Annual Budget to Periods
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szAccountId | AID | char | NONE | NONE |
Special Input Expected
| ||||
mnCentury | CTRY | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnFiscalYear | FY | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
szFiscalQtr | FQ | char | NONE | NONE |
Special Input Expected
| ||||
szLedgerType | LT | char | NONE | NONE |
Special Input Expected
| ||||
szSubledger | SBL | char | NONE | NONE |
Special Input Expected
| ||||
cSubledgerType | SBLT | char | NONE | NONE |
Special Input Expected
| ||||
szCurrencyCode | CRCD | char | NONE | NONE |
Special Input Expected
| ||||
mnAmount1 | AN01 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount2 | AN02 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount3 | AN03 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount4 | AN04 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount5 | AN05 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount6 | AN06 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount7 | AN07 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount8 | AN08 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount9 | AN09 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount10 | AN10 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount11 | AN11 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount12 | AN12 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount13 | AN13 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnAmount14 | AN14 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnMath01 | MATH01 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
szBudgetPatternCode | BPC | char | NONE | NONE |
A unique three-character code that identifies a seasonal pattern. The system uses this code to calculate budget amounts for an accounting
| ||||
szCompany | CO | char | NONE | NONE |
Special Input Expected
| ||||
mnIncrm | MATH02 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
cBal | EV02 | char | NONE | NONE |
Special Input Expected
| ||||
cRound | EV04 | char | NONE | NONE |
Special Input Expected
|
None |
F0010 Company Constants | ||||
F0025 Ledger Type Master File | ||||
F0902 Account Balances | ||||
F1401 Budget Patterns |