CSMSCalculateTaxes

S/WM Calculate Taxes

Minor Business Rule

Object Name: N1701460

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Functional Description

Purpose

Calculate Discount amount, Vertex tax amounts, and JD Edwards tax amounts.


Setup Notes and Prerequisites

EV01/cMode:

'1' = Calculate Taxes, do NOT update Vertex Tax Register

'2' = Calculate Taxes, do update Vertex Tax Register

'3' = Delete Vertex Tax Cache

'4' = Calculate Taxes, do NOT update Vertex Tax Register and Delete Vertex Tax Cache.


Data Structure

D1701460 - S/WM Calculate Taxes

Parameter NameData ItemData TypeReq/OptI/O/Both
cModeEV01charOPTNONE

1 = Calculate Taxes, do NOT update Vertex Tax Register
2 = Calculate Taxes, do update Vertex Tax Register

3 = Delete Vertex Tax Cache

4 = Calculate Taxes, do NOT update Vertex Tax Register and Delete Vertex Tax Cache.

^

cModuleEV01charOPTNONE

1 = Service Orders
2 = Contracts

3 = Calls

^

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTNONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cTaxableFlagTX01charOPTNONE

A code that indicates whether the monetary value of this order line is subject to applicable taxes and which taxes to apply. Valid values are:  
  Y The line is subject to applicable taxes.    N The line is not subject to applicable taxes.    3-8   Yes, the line is subject to applicable taxes at 
the rate indicated by the group number (3-8). The system uses group numbers for VAT (value added tax).

mnDiscountPercentDCPMATH_NUMERICOPTNONE

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.

szTaxRateAreaTXA1charOPTNONE

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.

szTaxExplanationCodeEXR1charOPTNONE

A hard-coded user defined code (00/EX) that controls the algorithm that the system uses to calculate tax and G/L distribution amounts. The 
system uses the tax explanation code in conjunction with the tax rate area and tax rules to determine how the tax is calculated. Each 
transaction pay item can be defined with a different tax explanation code.

szPaymentTermsCodePTCcharOPTNONE

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.

cValidGeoCodeEV01charOPTNONE

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

szVertexFRTransactionTypeVVTYcharOPTNONE

Vertex Flat Rate Transaction Type
^

szVertexTMTransactionTypeVVTYcharOPTNONE

Vertex Time and Material Transaction Type
^

mnVertexCacheJobNoJOBSMATH_NUMERICOPTNONE

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

cMethodOfPricingMTHPRcharOPTNONE

T = Time and Material

F = Flat Rate


Blank = Do not calculate logic based on Method of Pricing. This will indicate to the function to use 

the "VertexTMTransactionType".

^

szVertexShipFromGeoCodeVGCSTcharOPTNONE

The location to which a product is delivered. This location is used by the Quantum calculation system for determining the appropriate taxing 
jurisdiction.

szVertexShipToGeoCodeVGCSTcharOPTNONE

The location to which a product is delivered. This location is used by the Quantum calculation system for determining the appropriate taxing 
jurisdiction.

szVertexOrderAccGeoCodeVGCSTcharOPTNONE

The location to which a product is delivered. This location is used by the Quantum calculation system for determining the appropriate taxing 
jurisdiction.

cActiveVertexCacheEV01charOPTNONE

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

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.

mnItemNumberITMMATH_NUMERICOPTNONE

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

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

szLineTypeLNTYcharOPTNONE

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

szOrderTypeDCTOcharOPTNONE

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

mnDocumentNumberDOCOMATH_NUMERICOPTNONE

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.

szOrderSuffixSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

mnLineNumberLNIDMATH_NUMERICOPTNONE

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.

mnAmountToTaxTOTBMATH_NUMERICOPTNONE

The total amount billed through this application number.

mnAmountToTaxForeignFTOLMATH_NUMERICOPTNONE

The total amount of the invoice or bill.  The total of the individual line items must match this amount.

mnJournaledTaxJTAXMATH_NUMERICOPTNONE

The portion of the tax amount calculated for this entry that is not automatically generated by the post program.

mnJournaledForeignTaxJTXFMATH_NUMERICOPTNONE

The portion of the tax amount calculated for this entry that is not automatically generated by the post program.

mnGrossAmountITOLMATH_NUMERICOPTNONE

The invoice amount for a billing detail transaction.

mnGrossAmountForeignCITLMATH_NUMERICOPTNONE

The total amount of the invoice in foreign currency.

mnTaxAmountITAMMATH_NUMERICOPTNONE

The tax amount in the invoice.  This can be either the sales, use or VAT tax.

mnTaxAmountForeignFTOLMATH_NUMERICOPTNONE

The total amount of the invoice or bill.  The total of the individual line items must match this amount.

mnDiscountAvailableIDSCMATH_NUMERICOPTNONE

The amount of the discount available, as opposed to the amount of the discount actually taken.  The discount calculated is based on the 
invoice amount rather than the revenue amount.

mnDiscountAvailableForeignCIDSMATH_NUMERICOPTNONE

The foreign currency amount of the discount available, as opposed to the amount of the discount actually taken.  The discount calculated is 
based on the foreign invoice amount.

mnUnitsUMATH_NUMERICOPTNONE

The quantity of something that is identified by a unit of measure. For example, it can be the number of barrels, boxes, cubic yards, gallons, 
hours, and so on.

mnUnitPriceACUNBMATH_NUMERICOPTNONE

The actual unit billable amount.

mnUnitPriceForeignACUNBMATH_NUMERICOPTNONE

The actual unit billable amount.

szDomesticCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

szForeignCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

mnTriangulationRate1CRRDMATH_NUMERICOPTNONE

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

mnTriangulationRate2CRRDMATH_NUMERICOPTNONE

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

cConversionMethodCRCMcharOPTNONE

A value that specifies which method to use when converting from one currency to another. Valid values are:  Y  Multiplier method. The 
system multiplies the foreign amount by the multiplier exchange rate to calculate the domestic amount. Z Divisor method. The system divides the 
foreign amount by the divisor exchange rate to calculate the domestic amount.

jdCurrencyDateDATE01JDEDATEOPTNONE

Date that will be used for Tax Calculations and Currency Conversions.
^

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

szVertexProductCategory_VVTCVVTCcharOPTINPUT

User defined code used in the Vertex Tax Decision Maker for products or services that are non-taxable or are at a non-stanard rate.

Related Functions

None

Related Tables

None