StoreAndRetrieveCOLTaxesFromWF

Retrieve Taxes From Detail Tax File - COL - 00 - 76C

Minor Business Rule

Object Name: B76C0013

Parent DLL: CLOC

Location: Client/Server

Language: C

Functional Description

Purpose
This function  provides  a  method of recalculating Colombian taxes. The Colombian taxes must be 
calculated by total document  An item in Colombia is taxed if the total amount of the document is greater 

than the amount that the user specifies in the Tax Area. We have called this requirement "minimum 

control".

This business function will be called from either A/P Master Business Function or A/R Master Business 

Functions.



Special Logic

• The records from (A/P or A/R Cache) are storing in the File F76CUI02 (Colombian Taxes Work File).
• The taxes are recalculated for those records that are not in cache
• The business function B76C0007 "Recalculate Taxes" is called which does the minimum control
• If  the taxes has changed, so the net tax amount, gross amount are update in the files F0411 or 
F03B11. 



Technical Specifications
Parameters:
CTIDszComputerIDIRequired 
JOBSmnJobnumberAIRequired 

SFXszDocumentPayItemIRequired 

EV01cSystemCodeIRequired

DOCmnDocVoucherInvoiceEI

KCOszCompanyKeyI

DCTszDocumentTypeI

SFXEmnPayItemExtensionNumberI

PIDszProgramIdI

VERSszVersionI

FIDszFormIdI

FATNszFormActionIRequired  

EV01cIsCustomerLedgerFileIRequired  



Related Business Functions
B76C007Recalculate Taxes
B76C0006GetColombianTaxSetUp

X00TAXCOValidate Tax Amts Colombia

B76C0009CalcTaxAuthTaxAmtsCol



^

Data Structure

D76C0013 - Store And Retrieve  Taxes From WF - COL - 00          - 76C

Parameter NameData ItemData TypeReq/OptI/O/Both
szComputerIDCTIDcharNONENONE

mnJobnumberAJOBSMATH_NUMERICNONENONE

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

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.

cSystemCodeEV01charNONENONE

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

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.

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 

mnPayItemExtensionNumberSFXEMATH_NUMERICNONENONE

A code to designate an adjusting entry to a pay item on a voucher or invoice. This field is required so that each record is unique.

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.

szVersionVERScharNONENONE

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.

szFormIdFIDcharNONENONE

The Form ID refers to the report (R), form (V), or table number (F).

szFormActionFATNcharNONENONE

Form Action for Localization Exits UDC 00/FA    1   ADD Add    2   CHG Change    3   DEL Delete    4   XIT Hypercontrol Exit

cIsCustomerLedgerFileEV01charNONENONE

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

Related Functions

None

Related Tables

None