AccumTaxesByGLOffset_TaxAreaCol

Summarize Taxes / Minimum Control Message - COL - 00 - 76C

Minor Business Rule

Object Name: B76C0021

Parent DLL: CLOC

Location: Client/Server

Language: C

Functional Description

Purpose
The purpose of this business function is to summarize the taxes by either G/L Offset or Tax Area.

Setup Notes and Prerequisites

None

Special Logic

• The source "AccumTaxesByGLOffset_TaxAreaCol" is based on the file F76CUI02, so if  there is not an 
equivalence (relationship 1:1) between  either the file F0411  F76CUI02 or  the file F03B11  F76CUI02, 

the taxes will not be summarized properly.



Technical Specifications
Parameters:
CTRszCountryIRequired.If the 
country is Colombia the 

function runs. Otherwise 

it doesn't.

PIDszCallingProgramIdINo Required.

Calling Program

VERSszCallingVersionINo Required.

Version

FATNszCallingFormIdINo Required.

Calling Form

ACTN szFormActionINo Required.

Action Mode.

DOCO mnDocVoucherInvoiceEIRequired.

DCT szDocumentTypeIRequired.

KCOO szCompanyKey            IRequired.

GENLNG idPointerToCursorI/ORequired.

when Action Code is 

equal to '2'

DTAIszErrorMessageI/ONo Required.

EV01cCacheActionCodeIRequired.

STAM mnAmtTax2O

ATXA mnAmountTaxableO

GL01 szGlOffsetO

TXA1 szTaxArea1O

EV01 cGlOffsetOrTaxAreaIRequired.

This parameter 

indicates how the 

taxes must be 

summarized.

TXR1 mnTaxRateO

EXR1 szTaxExplanationCode1O





^

Data Structure

D76C0021 - Summarize Taxes / Minimum Contol Message - COL -      - 76C

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

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.

idPointerToCursorGENLNGIDNONENONE

General purpose ID variable.

szErrorMessageDTAIcharNONENONE

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.

cCacheActionCodeEV01charNONENONE

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

mnAmtTax2STAMMATH_NUMERICNONENONE

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

mnAmountTaxableATXAMATH_NUMERICNONENONE

The amount on which taxes are assessed.

szGlOffsetGLCcharNONENONE

A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates 
the value that you enter to the AAI item RC (for Accounts Receivable) or PC (for Accounts Payable) to locate the trade account. For 
example, if you enter TRAD, the system searches for the AAI item RCTRAD (for receivables) or PCTRAD (for payables).  You can assign up to four 
alphanumeric characters to represent the G/L offset or you can assign the three-character currency code (if you enter transactions in a 
multicurrency environment). You must, however, set up the corresponding AAI item for the system to use; otherwise, the system ignores the G/L 
offset and uses the account that is set up for PC or RC for the company specified.  If you set up a default value in the G/L Offset field of the 
customer or supplier record, the system uses the value during transaction entry unless you override it.  Note: Do not use code 9999. It is reserved for 
the post program and indicates that offsets should not be created.

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.

cGlOffsetOrTaxAreaEV01charNONENONE

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

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

szTaxExplanationCode1EXR1charNONENONE

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.

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.

Related Functions

None

Related Tables

F76CUI02 Tax Detail - Work File - COL - 76C
InformMinimumControlChangesCol

InformMinimumControlChangesCol

Summarize Taxes / Minimum Control Message - COL - 00 - 76C

Minor Business Rule

Object Name: B76C0021

Parent DLL: CLOC

Location: Client/Server

Language: C

Functional Description

Purpose
The purpose of this business function is to call a window dynamically when the taxes changes because 
of the minimum control process.


Setup Notes and Prerequisites

None

Special Logic

• Calls dynamically the application P76C001.

Technical Specifications

Parameters:
CTRszCountryIRequired.If the 
country is Colombia the 

function runs. Otherwise 

it doesn't.

PIDszCallingProgramIdINo Required.

Calling Program

VERSszCallingVersionINo Required.

Version

FATNszCallingFormIdINo Required.

Calling Form

ACTN szFormActionINo Required.

Action Mode.

DOCO mnDocVoucherInvoiceEINo Required.

DCT szDocumentTypeINo Required.

KCOO szCompanyKey            INo Required.

GENLNGidPointerToCursorI/ONo Required.

DTAIszErrorMessageI/ONo Required.

EV01cCacheActionCodeINo Required.

STAMmnAmtTax2O

ATXA mnAmountTaxableO

GL01 szGlOffsetO

TXA1 szTaxArea1O

EV01 cGlOffsetOrTaxAreaINo Required.

TXR1 mnTaxRateONo Required.

EXR1 szTaxExplanationCode1ONo Required.



^

Data Structure

D76C0021 - Summarize Taxes / Minimum Contol Message - COL -      - 76C

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

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.

idPointerToCursorGENLNGIDNONENONE

General purpose ID variable.

szErrorMessageDTAIcharNONENONE

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.

cCacheActionCodeEV01charNONENONE

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

mnAmtTax2STAMMATH_NUMERICNONENONE

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

mnAmountTaxableATXAMATH_NUMERICNONENONE

The amount on which taxes are assessed.

szGlOffsetGLCcharNONENONE

A code that determines the trade account that the system uses as the offset when you post invoices or vouchers. The system concatenates 
the value that you enter to the AAI item RC (for Accounts Receivable) or PC (for Accounts Payable) to locate the trade account. For 
example, if you enter TRAD, the system searches for the AAI item RCTRAD (for receivables) or PCTRAD (for payables).  You can assign up to four 
alphanumeric characters to represent the G/L offset or you can assign the three-character currency code (if you enter transactions in a 
multicurrency environment). You must, however, set up the corresponding AAI item for the system to use; otherwise, the system ignores the G/L 
offset and uses the account that is set up for PC or RC for the company specified.  If you set up a default value in the G/L Offset field of the 
customer or supplier record, the system uses the value during transaction entry unless you override it.  Note: Do not use code 9999. It is reserved for 
the post program and indicates that offsets should not be created.

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.

cGlOffsetOrTaxAreaEV01charNONENONE

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

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

szTaxExplanationCode1EXR1charNONENONE

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.

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.

Related Functions

None

Related Tables

F76CUI02 Tax Detail - Work File - COL - 76C