CalculateVoucherOpenAmount

Calculate Voucher Open Amount

Minor Business Rule

Object Name: B0400286

Parent DLL: CFIN

Location: Client/Server

Language: C

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

^

Data Structure

D0400286 - CalculateVoucherOpenAmount

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAmountOpenAAPMATH_NUMERICNONENONE

The amount of an invoice or voucher pay item that is unpaid.

mnAmountGrossAGMATH_NUMERICNONENONE

A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on 
the tax explanation code. The system does not decrease the gross amount when payments are applied. When you void a transaction, the 
system clears the gross amount field.

mnPrevAmountGrossAGMATH_NUMERICNONENONE

A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on 
the tax explanation code. The system does not decrease the gross amount when payments are applied. When you void a transaction, the 
system clears the gross amount field.

Related Functions

None

Related Tables

None