EditVoucherGrossAmount

Edit Voucher Gross Amount

Minor Business Rule

Object Name: B0400285

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

This function edits the voucher gross amount against the discount available.  Gross must be greater 

than discount available.  


Setup Notes and Prerequisites

This function must be attached after the tax calculator since taxes may calculate gross amount and/or 

discount available.


Special Logic


Technical Specification

^

Data Structure

D0400285 - Edit Voucher Gross Amount

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