Functional Description
Purpose
This function will update the Trial Balance Totalling Array each time a new balance is calculated for
an account in the Account Master. This function also clears the Array for all elements that have
being retrieved or popped from the Array.
Setup Notes and Prerequisites
An array of Accounts and their Amounts, with 9 elements, each corresponding to each level of detail
has to be defined globally.
Each time a new balance is calculated all cells with a smaller Level of Detail index, must be
updated by adding the new amount.
Another internal function will clear the array cells as the different totals are used.
Special Logic
None
Technical Specification
If szAccountID = Array[mnLevelOfDetail].AccountID
Array[mnLevelOfDetail].Description := szDescription
For i=1 to mnLevelOfDetail
increment I
^
D0900047 - Process Trial Balance Totalling Array
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cMode | EV01 | char | NONE | NONE |
Special Input Expected
| ||||
szAccountID | AID | char | NONE | NONE |
Special Input Expected
| ||||
szAccountDescription | DESC | char | NONE | NONE |
Special Input Expected
| ||||
mnAmount | AA | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnLOD | MATH01 | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnPeriodToDate | AA | MATH_NUMERIC | NONE | NONE |
Special Output Returned
| ||||
mnYearToDate | AA | MATH_NUMERIC | NONE | NONE |
Special Output Returned
| ||||
mnPriorYearEnd | AA | MATH_NUMERIC | NONE | NONE |
Special Output Returned
| ||||
idGenericLong | GENLNG | ID | OPT | NONE |
General purpose ID variable. | ||||
szCacheName | ALPH | char | OPT | NONE |
The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter
|
None |
None |