Functional Description
Purpose
This function will accumulate the amounts of accounts of greater level of detail under the passed in
account. These amounts will constitute the roll-up amounts for the Trial Balance Report. This
business function will return one specific amount per call when using balance types 0 - 3. Four amounts will
be returned in one call when using balance types 4 and 5.
Setup Notes and Prerequisites
The amount for the roll-up account will be calculated using either the Return Account Balance or the
Multi Ledger Account Balance Calculate business functions.
The amount for Prior Year End Balance will be calculated with AccumulateBalForAndPriorYear for
balance types other than 4 and 5.
The Account Master must be read with CC.Obj.Sub as key until LOD decreases.
The balance type parameter may be one of six different values. One amount will be returned for each
of balance types 0 - 3. Four amounts will be returned for balance types 4 and 5. The amounts
returned for each of the balance types is specified below.
Balance Type 4 will return the prior year end balance, year to date, period to date, and current
balance amount. This type should be used for balance sheet accounts.
Balance Type 5 will return prior year end balance, year to date, period to date, and current balance
amount. This type should be used for profit and loss accounts. The prior year end balance amount
returned will be zero.
The Thru Date parameter MUST be used for balance types 0 -3. The Fiscal Year, Century, and Period
Number parameters should not be used for these balance types.
The Fiscal Year, Century, and Period Number parameters MUST be used for balance type 4 and 5. The
Thru Date parameter should not be used for these balance types.
Technical Specifications
While Level of Detail > Account to Summarize LOD
Add Amount to Amount Accumulated
Accumulate Period To Date, Year To Date, Prior Year End Balance, and Accumulated Amounts.
Add Amount to Amount Accumulated
Year To Date Amount = Accumulated Year To Date
Period To Date Amount = Accumulated Period To Date
Amount = Current Balance Amount Accumulated
Year To Date Balance = Accumulated Year To Date
Period To Date Balance = Accumulated Period To Date
Amount = Current Balance Amount Accumulated
D0900044 - Accumulate Accounts of Greater LOD
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBusinessUnit | MCU | char | NONE | NONE |
Special Input Expected
| ||||
szObject | OBJ | char | NONE | NONE |
Special Input Expected
| ||||
szSubsidiary | SUB | char | NONE | NONE |
Special Input Expected
| ||||
szAccountid | AID | char | NONE | NONE |
Special Input Expected
| ||||
szCompany | CO | char | OPT | 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
| ||||
szCurrency | CRCD | char | NONE | NONE |
Special Input Expected
| ||||
jdThruDate | D02 | JDEDATE | NONE | NONE |
Special Input Expected
| ||||
cIncludeUnposted | POST | char | NONE | NONE |
Special Input Expected
| ||||
cBalanceType | EV01 | char | NONE | NONE |
Special Input Expected
| ||||
mnAmount | MATH01 | MATH_NUMERIC | NONE | NONE |
Special Output Returned
| ||||
cLevelOfDetail | LDA | char | NONE | NONE |
Special Input Expected
| ||||
mnYearToDateBalance | AA | MATH_NUMERIC | NONE | NONE |
Special Output Returned
| ||||
mnPeriodToDateBalance | AA | MATH_NUMERIC | NONE | NONE |
Special Output Returned
| ||||
mnPriorYearEndBalance | AA | MATH_NUMERIC | NONE | NONE |
Special Output Returned
| ||||
mnFiscalYear | FY | MATH_NUMERIC | OPT | NONE |
A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal
| ||||
mnCentury | CTRY | MATH_NUMERIC | OPT | NONE |
The calendar century associated with the year. Enter is the first two digits of
the year. For example, 19 indicates any year beginning with 19
| ||||
mnPeriodNumber | PN | MATH_NUMERIC | OPT | NONE |
A number indicating the current accounting period. This number, used in conjunction with the Company Constants table (F0010) and the
|
B0900008 Return Account Balance | ||||
B0900050 Accumulate Balance Forward and Prior Year Postings | ||||
B0900087 Multi Ledger Account Balance Calculate |
F0901 Account Master |