Functional Description
Purpose
If the current bank statement is in-sequence with the existing bank statements and the previous bank
statement is reconciled, this business function will retrieve the previous bank statement's ending
balance. This business function requires the following input parameters: G/L Bank Account, current
statement date, and current statement number.
Setup Notes and Prerequisites
The business function contains a parameter named cExcludeCurrentStmnt. This parameter is used only
by the Bank Statement Journal (R09170) to avoid any edits (in-sequence and reconciliation) from being
performed on the bank statement in the process of being reconciled.
Technical Specifications
Determine if previous bank statement exists
Sequence the bank statements (by statement date and number) in descending order
Select the most recent bank statement for the specified bank account.
If bank statement exists and the entered bank statement is not in sequence
^
D0900088 - F0916 Retrieve Prev Stmnt End Bal
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szGlBankAccount | GLBA | char | NONE | NONE |
Special Input Expected
| ||||
jdStatementDate | STMD | JDEDATE | NONE | NONE |
Special Input Expected
| ||||
szBankStatementNumber | STBA | char | NONE | NONE |
Special Input Expected
| ||||
mnEndingBalance | ENBL | MATH_NUMERIC | NONE | NONE |
Special Output Returned
| ||||
cNonSeqStmntError | EV06 | char | NONE | NONE |
Special Output Returned
| ||||
cPrevStmntNotRecon | EV07 | char | NONE | NONE |
Special Output Returned
| ||||
cExcludeCurrentStmnt | EV09 | char | NONE | NONE |
Special Input Expected
| ||||
cPrevStmntDoesNotExist | EV11 | char | NONE | NONE |
Special Output Returned
|
None |
F0916 Bank Statement Header |