Functional Description
Purpose
This function calculates the voucher open amount.
Setup Notes and Prerequisites
Special Logic
In add mode, open amount is equal to gross amount. In change mode, if gross amount changes, open
amount changes by the same amount.
Technical Specification
^
D0400286 - CalculateVoucherOpenAmount
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAmountOpen | AAP | MATH_NUMERIC | NONE | NONE |
The amount of an invoice or voucher pay item that is unpaid. | ||||
mnAmountGross | AG | MATH_NUMERIC | NONE | NONE |
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on
| ||||
mnPrevAmountGross | AG | MATH_NUMERIC | NONE | NONE |
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on
|
None |
None |