IGVCalculationAlgorithm_76P

Withholding Calculator - PER - 04 - 76P

Minor Business Rule

Object Name: B76P4520

Parent DLL: CLOC

Location: Client/Server

Language: C

Data Structure

D76P4520B - IGV Calculation Algorithm - PER - 04                  - 76P

Parameter NameData ItemData TypeReq/OptI/O/Both
szIGVConceptP76CC01charOPTNONE

mnAddressNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnAmountGrossAGMATH_NUMERICOPTNONE

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.

mnAmountTaxableATXAMATH_NUMERICOPTNONE

The amount on which taxes are assessed.

mnAmountTaxExemptATXNMATH_NUMERICOPTNONE

The amount upon which taxes are not assessed. This is the portion of the transaction not subject to sales, use, or VAT taxes because the 
products are tax-exempt or zero-rated.

mnAmtTax2STAMMATH_NUMERICOPTNONE

The amount assessed and payable to tax authorities. It is the total of the VAT, use, and sales taxes (PST).

jdDateMatchingCheckOrDMTJJDEDATEOPTNONE

The date on a payment or the date on which a receipt was entered.  In Accounts Payable, the manual payment date and the general ledger 
date that the system uses when it posts payments. The system also uses this date to retrieve the exchange rate for foreign payments from 
the Currency Exchange Rates table (F0015).  In Accounts Receivable, the date on the check or the date that you enter the receipt into the 
system. The receipt date is used for information and reporting purposes only.

szCompanyCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

mnCurrencyConverRateOvCRRMATH_NUMERICOPTNONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

cCurrencyModeCRRMcharOPTNONE

An option that specifies whether the system displays amounts in the domestic or foreign currency. On  The system displays amounts in the 
foreign currency of the transaction. Off  The system displays amounts in the domestic currency of the transaction.

mnPaymentGroupControlNbrHDCMATH_NUMERICOPTNONE

The Payment Control Group Number is used to group all payments and payment detail together in the A/P payments work files.  This 
number identifies a group of payments run for the same bank account, payment instrument, DREAM Writer version, Originator ID and currency.

mnCkControlNoAPChCKCMATH_NUMERICOPTNONE

The Check Control Number is used to group all A/P payment transactions for each individual check.

cModeFLAGcharOPTNONE

Contains an indicator for the operation.

mnWithholdingAmount_DomesticAA1MATH_NUMERICOPTNONE

A number that identifies the actual amount.

mnWithholdingAmount_ForeignAA2MATH_NUMERICOPTNONE

Amount.

mnBaseAmountAAMATH_NUMERICOPTNONE

A number that identifies the amount that the system will add to the account balance of the associated account number.  Enter credits with a 
minus sign (-) either before or after the amount. 

mnPercentageP76WHPCMATH_NUMERICOPTNONE

nDecimalsINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

mnAmtDiscountAvailableADSCMATH_NUMERICOPTNONE

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.

cCurrencyConverYNARCRYRcharOPTNONE

A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use: Codes are:    N Do not 
use multi-currency accounting. Use if you enter transactions in only one currency for all companies. The multi-currency fields will not appear 
on forms. The system supplies a value of N if you do not enter a value.    Y Activate multi-currency accounting and use multipliers to convert 
currency. The system multiplies the foreign amount by the exchange rate to calculate the domestic amount.    Z Activate multi-currency 
accounting and use divisors to convert currency. The system divides the foreign amount by the exchange rate to calculate the domestic amount.

Related Functions

B0000129 Retrieve Currency Decimals
B9800100 Get Audit Information

Related Tables

F0411 Accounts Payable Ledger
F04571 A/P Payment Processing - Header
F04572 A/P Payment Processing - Summary
F04573 A/P Payment Processing - Detail
F76P101T Address Book Tag File - PER - 01 - 76P
F76P411T Peru AP Tag File - PER - 04 - 76P
F76P473T F04573 Tag File - PER - 04 - 76P
WithholdingCalculator_76P

WithholdingCalculator_76P

Withholding Calculator - PER - 04 - 76P

Minor Business Rule

Object Name: B76P4520

Parent DLL: CLOC

Location: Client/Server

Language: C

Data Structure

D76P4520A - Withholding Calculator - PER - 04                     - 76P

Parameter NameData ItemData TypeReq/OptI/O/Both
szVersionVERScharOPTNONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

mnPaymentGroupControlNbrHDCMATH_NUMERICOPTNONE

The Payment Control Group Number is used to group all payments and payment detail together in the A/P payments work files.  This 
number identifies a group of payments run for the same bank account, payment instrument, DREAM Writer version, Originator ID and currency.

mnCkControlNoAPChCKCMATH_NUMERICOPTNONE

The Check Control Number is used to group all A/P payment transactions for each individual check.

Related Functions

B0000129 Retrieve Currency Decimals
B9800100 Get Audit Information

Related Tables

F0411 Accounts Payable Ledger
F04571 A/P Payment Processing - Header
F04572 A/P Payment Processing - Summary
F04573 A/P Payment Processing - Detail
F76P101T Address Book Tag File - PER - 01 - 76P
F76P411T Peru AP Tag File - PER - 04 - 76P
F76P473T F04573 Tag File - PER - 04 - 76P