CalculateTaxes

Tax Calculator - ARG - 03B - 76A

Minor Business Rule

Object Name: B76A0200

Parent DLL: CLOC

Location: Client/Server

Language: C

Data Structure

D76A0200 - Tax Calculator - ARG - 03B                            - 76A

Parameter NameData ItemData TypeReq/OptI/O/Both
cNumberAccessTaxGroupsARG00ANATcharNONENONE

Indicates the different ways to access in the Tax Groups Process.       1.- TAX AREA/*BLANKS/*BLANKS       2.- TAX 
AREA/COMPANY/*BLANKS             TAX AREA/*BLANKS/*BLANKS       3.- TAX AREA/COMPANY/BUSINESS UNIT             TAX AREA/COMPANY/*BLANKS             
TAX AREA/*BLANKS/*BLANKS

cTaxonTaxYNARG00AOTTcharNONENONE

Indicates if the Tax on Tax concept will be utilized.

szCompanyKeyKCOcharNONENONE

A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry. If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
document company to retrieve the correct next number for that company. If two or more original documents have the same document number and 
document type, you can use the document company to locate the desired document.

szDocumentTypeDCTcharNONENONE

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

mnDocVoucherInvoiceEDOCMATH_NUMERICNONENONE

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

szDocumentPayItemSFXcharNONENONE

A number that identifies the pay item for a voucher or an invoice. The system assigns the pay item number. If the voucher or invoice has 
multiple pay items, the numbers are sequential.

szCompanyCOcharNONENONE

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.

szCompanyKeyOrderNoKCOOcharNONENONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

szOrderTypeDCTOcharNONENONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

mnDocumentOrderInvoiceEDOCOMATH_NUMERICNONENONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

mnLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnAddressNumberAN8MATH_NUMERICNONENONE

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

mnAddressNumberShipToSHANMATH_NUMERICNONENONE

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

mnAddressNumberParentPA8MATH_NUMERICNONENONE

The address book number of the parent company. The system uses this number to associate a particular address with a parent company 
or location. Any value that you enter in this field updates the Address Organizational Structure Master table (F0150) for the blank structure 
type. This address number must exist in the Address Book Master table (F0101) for validation purposes. Examples of address book records 
that would have a parent number include:   o  Subsidiaries with parent companies     o  Branches with a home office     o  Job sites with a general 
contractor 

mnShortItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szTaxArea1TXA1charNONENONE

A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter 
against the Tax Areas table (F4008). The system uses the tax rate area in conjunction with the tax explanation code and tax rules to calculate tax 
and G/L distribution amounts when you create an invoice or voucher.

szCostCenterMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

jdTransactionDateDIVJJDEDATENONENONE

The date that either you or the system assigns to an invoice or voucher. This can be either the date of the supplier's invoice to you or the 
date of your invoice to the customer.

szLineTypeLNTYcharNONENONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

mnUnitsPrimaryQtyOrderSOQSMATH_NUMERICNONENONE

The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this 
item. In the Manufacturing system and Work Order Time Entry, this field can indicate completed or scrapped quantities. The quantity type is 
determined by the type code entered.

mnCurrencyConverRateOvCRRMATH_NUMERICNONENONE

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. 

cArrearTaxsYNARYNcharNONENONE

This field controls whether or not an employee's arreared taxes are applied to their current taxes when running a manual interim check that 
has tax overrides. Valid values are the following:    1   Apply the employee's arreared tax to the tax that is being overriden.    0   DO NOT apply 
the employee's arreared tax to tax that is being overriden. NOTE: Taxes that are in arrears and do not have a tax override will automatically 
have the tax that is in arrears applied to the regular tax.

mnUnitTaxSumUNCSMATH_NUMERICNONENONE

The amount per unit, derived by dividing the total cost by the unit quantity.

cDataFieldErrorCodeERRcharNONENONE

The Data Field Error Code field is simply a generic data field to pass an error condition flag.  This field is one of the fields that make up the 
external parameter data structure of the Data Dictionary Server.

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.

mnAmtTax2STAMMATH_NUMERICNONENONE

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

szTaxExplanationCode1EXR2charNONENONE

A value in user defined code table 00/EX that controls how a tax is assessed and distributed to the general ledger revenue and expense 
accounts. You assign this code to customers or suppliers to set up a default code for their transactions. Do not confuse this code with the 
taxable, non-taxable code. A single invoice or voucher can have both taxable and non-taxable items. The entire invoice or voucher, however, 
must have one tax explanation code.

szPaymentTermsCode01PTCcharNONENONE

A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date. 
Use a blank code to indicate the most frequently-used payment term. You define each type of payment term on the Payment Terms Revisions 
form. Examples of payment terms include: Blank Net 15 001      1/10 net 30 002      2/10 net 30 003      Due on the 10th day of every month 006     
Due upon receipt  This code prints on customer invoices.

mnAmountTaxExemptATXNMATH_NUMERICNONENONE

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.

mnAmountDistributeAGMATH_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.

cCurrencyFlagCRYRcharNONENONE

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.

cGLAlt5ALT5charNONENONE

This code is used to distinguish entries made through alternate journal entry program.  The valid codes are as follows:    M  Multicurrency 
Journal Entry T, V, and O. Tax Journal Entry Changes may only be made through these alternate journal  entry programs. This code is also 
used to distinguish entries made through alternate voucher entry programs, The valid codes are as follows:    C  Multi-Company Voucher Entry    
S  Sub-Contract Voucher Entry    P  Invoice Logging Voucher Entry Changes for codes C and S may only be made through these alternate 
Voucher Entry  entry programs.

cTaxWriteDistFlagEV01charNONENONE

An option that specifies the type of processing for an event.

cOPVATAllowWCurrencyEV01charNONENONE

An option that specifies the type of processing for an event.

cSystemCodeFlagEV01charNONENONE

An option that specifies the type of processing for an event.

mnGoodsValueAGMATH_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.

mnUnroundedTaxAmtSTAMMATH_NUMERICNONENONE

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

cSummaryDetailFlagEV01charNONENONE

An option that specifies the type of processing for an event.

mnDiscountPercentageDCPMATH_NUMERICNONENONE

The percent of the total invoice or voucher that you will discount if it is paid within the discount period. You enter the discount percent as a 
decimal, for example, a 2 percent discount is .02.

cItemNumberUsedFlagEV01charNONENONE

An option that specifies the type of processing for an event.

cBypassAAIEditEV01charNONENONE

An option that specifies the type of processing for an event.

szCostCenterAAIEditMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnRunTotalUnroundTaxSTAMMATH_NUMERICNONENONE

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

mnUnroundedDiscAvailADSCMATH_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.

mnRunTotalUnroundDiscADSCMATH_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.

mnPSTTaxAmtSTAMMATH_NUMERICNONENONE

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

cBypassTaxEditsEV01charNONENONE

An option that specifies the type of processing for an event.

szComputerIDCTIDcharNONENONE

mnJobnumberJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

szUnitOfMeasureAsInputUOMcharNONENONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

mnAmountUnitCost_2UNCSMATH_NUMERICNONENONE

The amount per unit, derived by dividing the total cost by the unit quantity.

mnAmountTaxableATXAMATH_NUMERICNONENONE

The amount on which taxes are assessed.

mnTaxRate1TXR1MATH_NUMERICNONENONE

A number that identifies the percentage of tax that should be assessed or paid to the corresponding tax authority, based on the tax area.  
Enter the percentage as a whole number and not as the decimal equivalent. For example, to specify 7 percent, enter 7, not .07. 

mnTaxAuthority1ATA1MATH_NUMERICNONENONE

The address book number of the tax agency that has jurisdiction in the tax area. You pay and report sales, use, or VAT taxes to this 
agency. Examples include states, counties, cities, transportation districts, provinces, and so on. You can specify up to five tax authorities for a single 
tax area.

mnAmtSalesTaxTaxAuth1STA1MATH_NUMERICNONENONE

Of the total taxes calculated for this document (invoice, voucher, etc.), the dollar value of the tax liability attributable to the first of five 
possible taxing authorities who may comprise the tax area.

cTaxCalcMethod2TC2charNONENONE

An option that is used in Canada to specify whether to calculate PST tax after GST has been added to the product value. Valid settings 
are: On The system calculates PST tax after GST has been added to the product value. Off The system calculates the PST before GST has been 
added to the product value.  For example, suppose that you have a tax area set up with 7% GST and 8% PST, and you turn on the option to 
calculate tax on tax. If you enter a voucher for a taxable amount of 1000 CAD, the system calculates the GST as 70 CAD, adds it to the taxable 
amount, and multiplies the PST by that result (1070 CAD). If you do not use compound taxes, the system calculates PST on the taxable 
amount only. Note: This option is valid only for tax explanation codes that begin with the letters B and C. To calculate compound taxes for tax 
explanation code V, use tax explanation code V+.

szDescriptionTaxAreaTAXAcharNONENONE

Text that names or describes the tax rate/area.  You can use this 30-character field, for example, to identify a zip code for a tax area or to 
partially describe the geographic area.

mnTotalAreaTaxRateTRATMATH_NUMERICNONENONE

A number that indicates the total percentage of taxes for the transaction or tax rate area.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szGlClassByTaxArea1GL01charNONENONE

A code that indicates how to locate the tax account for general ledger entries. This field points to automatic accounting instructions (AAIs) 
that, in turn, point to the tax account. Examples are:        PTyyyy - for A/P (VAT only)        RTyyyy - for A/R (VAT only)        GTyyyy - for G/L (VAT 
only)        4320 - for Sales Orders        4400 and 4410 - for Purchase Orders  When setting up VAT and Canadian GST, PTyyyy, RTyyyy, and 
GTyyyy are the only valid values. For the A/P system, a second G/L Offset (PT_ _ _ _) is required when your tax setup involves VAT plus use 
taxes (tax explanation code B). Use AAI PT_ _ _ _ to designate the use tax portion of the setup. For sales taxes, the Accounts Payable and 
Accounts Receivable systems ignore the values in this field. However, the Sales Order Management and Procurement systems require values in 
this field.

cCurrencyModeCRRMcharNONENONE

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.

szCompanyKeyOriginalOKCOcharNONENONE

A number that is used in conjunction with the values in the ODOC and ODCT fields to identify a transaction.

szOriginalDocumentTypeODCTcharNONENONE

A user defined code (system 00, type DT) that identifies the origin and purpose of the original document.

mnOriginalDocumentNoODOCMATH_NUMERICNONENONE

A number that is used in conjunction with the values in the ODCT and OKCO fields to identify a transaction.

szOriginalDocPayItemOSFXcharNONENONE

The number that identifies a specific pay item associated with the document.

szDocTypeMatchingDCTMcharNONENONE

Within Auto Bank Statement process, a document type is needed for the following:       1) Document Type is needed for creating Variance 
Journal Entries for payments, receipts, and journal entries when running the Auto Bank Statement Process (R09616).  If Document Type on the 
Payment Clear tab is left blank, it will default to PN.  If Document Type on the Receipt Clear tab is left blank, it will default to RC.  If Document 
Type on the Journal Entry Reconcile tab is left blank, it will default to JE.      2) Document Type is needed for creating Journal Entries on the 
Journal Entry Create tab, and the Draft Paid tab.  For both of these, it will default to JE if left blank. 

mnDocMatchingCheckOrDOCMMATH_NUMERICNONENONE

The number of the matching document, such as a receipt, payment, adjustment,or credit. You apply a matching document (DOCM) against 
an original document (DOC), such as an invoice or voucher.

szProgramIdPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

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.

Related Functions

B0000055 ValidateAAICompletely
B4000520 Get Item UoM Conversion Factor
B76A0230 Legal Number - ARG - 03B - 76A
B76A0240 Get Global Tax Setup - ARG - 42 - 76A
B9800100 Get Audit Information

Related Tables

F0014 Payment Terms
F0022 Tax Rules
F0101 Address Book Master
F0311 Accounts Receivable Ledger
F03B11 Customer Ledger
F4008 Tax Areas
F4101 Item Master
F4211 Sales Order Detail File
F49211 Sales Order Detail File - Tag File
F76A00 Taxes - Initial Set Up - ARG - 00 - 76A
F76A10 Taxes - Tax Definition - ARG - 00 - 76A
F76A12 Taxes - Minimum Tax By Date - ARG - 00 - 76A
F76A13 Taxes - Tax Values - ARG - 00 - 76A
F76A14 Taxes - Tax Predecessor - ARG - 00 - 76A
F76A15 Taxes - Effective and Expiration Dates - ARG - 00 - 76A
F76A16 Taxes - Tax Groups - ARG - 00 - 76A
F76A17 Taxes - Invoice/Shipment Note Letter - ARG - 03B - 76A
F76A18 Taxes - Tax Amounts by Sales Order Line - ARG - 03B - 76A
F76A19Z1 Taxes - Tax Amounts by Invoice Suffix Batch Entry A - - 76A
F76AUI18 Taxes - Tax amount by order line - Work File - ARG - - 76A
F76AUI23 Taxes - Totals by Tax Code - ARG - 42 - 76A
F76AUI24 Taxes Work File - ARG - 03B - 76A