CalculateVoucherCheckAmount

Calculate Check Amount

Minor Business Rule

Object Name: B0400013

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function calculates the voucher Check Amount to be paid.


Setup and Prerequisites


Special Logic


Technical Specification


Data Structure

D0400402 - Calculate Voucher Check Amount

Parameter NameData ItemData TypeReq/OptI/O/Both
mnCheckAmountAGMATH_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.

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.

mnAmtdiscountavailableADSCMATH_NUMERICNONENONE

The amount of the invoice or voucher pay item that is eligible to be subtracted from the gross amount when the transaction is paid. The 
system calculates discount amounts based on the payment term entered on the transaction.  Note: If the system calculates the discount, verify 
that it applies to the pay item specified. Usually, freight, sales tax, and labor charges that are included in the gross amount do not qualify for 
discounts.

Related Functions

None

Related Tables

None