GetSalesAndInvoiceTotal

Get Sales & Invoice Total - ARG - 42 - 42 - 76A

Minor Business Rule

Object Name: B76A0270

Parent DLL: CLOC

Location: Client/Server

Language: C

mok,mk
^

Data Structure

D76A0270 - Get Sales & Invoice Total - ARG - 42                  - 76A

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

mnSalesTaxesDomesticTLA1MATH_NUMERICNONENONE

A number that indicates the maximum amount by which you can change the tax amount on an invoice, voucher, or journal entry before the 
system issues a warning message. For example, if you specify 5.00, the system allows you to change the tax amount on a transaction by up to 
5.00 without issuing a warning message. The system issues a warning message for changes to the tax amount when the amount of the 
change is between the amount specified in the Warning field and the amount specified in the Error field.  This system uses the tolerance limits only 
for tax explanation codes V, B, and C. For all other tax explanation codes, the system issues a warning regardless of the amount of the 
change.  You must turn on the option Allow Understatement of Tax Amt before the system allows you to understate the tax amounts on A/R invoices 
up to the amount specified. 

mnSalesTaxesForeignTLA2MATH_NUMERICNONENONE

A number that specifies the maximum amount by which you can change the tax amount on an invoice, voucher, or journal entry before the 
system issues an error message. For example, if you specify 20.00, the system allows you to change the tax amount on a transaction up to 
20.00. If the amount of the change exceeds the tolerance limit that you specify, the system does not allow the change. The system issues a 
warning message for changes to the tax amount when the percent of the change is between the percent specified in the Warning field and the 
percent specified in the Error field.  The system uses the tolerance limits only for tax explanation codes V, B, and C. For all other tax explanation 
codes,  the system issues a warning regardless of the change.  You must turn on the option Allow Understatement of Tax Amt before the 
system allows you to understate the tax amounts on A/R invoices up to the percent specified. 

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

mnInvoiceTotalForeignACRMATH_NUMERICNONENONE

The foreign currency amount entered on the transaction. If the Multi-Currency Conversion option on the General Accounting constants is set 
to Y, the foreign amount is multiplied by the exchange rate to arrive at the domestic amount. If the Multi-Currency Conversion option is set to Z, 
the foreign amount is divided by the exchange rate.

Related Functions

None

Related Tables

F76A09 Invoice Total - ARG - 03B - 76A
F76A18 Taxes - Tax Amounts by Sales Order Line - ARG - 03B - 76A