DXT4314ZA - F4314 Begin Doc
Functional Description
F4314BeginDoc is part of the Voucher Match MBF that is contained in the source file xt4314zn.
This function has to be called before any other functions of the voucher match MBF are called.
Purpose
This function is used to obtain the different Job Numbers that will be used to write/ accesss records
from the AP ( system 04) and GL (09),.
Setup Notes and Prerequisites
The Open Batch function needs to be run before this business function is run to create/open a batch
in the batch header file. The batch number then needs to be assigned in the data structure of this
business function.
Special Logic
General Flow of processing
1.Validate that the ComputerID has been provided. If not then set error and exit.
2.Call the AP BeginDoc. If errors exist then set ER_ERROR and exit
3.Call the GL BeginDoc. If errors exist then set ER_ERROR and exit
Technical Specification
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAPJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
| ||||
mnGLJobNumber | JOBS | MATH_NUMERIC | NONE | NONE |
| ||||
szComputerID | CTID | char | NONE | NONE |
Special Input Expected
| ||||
cHeaderActionCode | ACTN | char | NONE | NONE |
Special Input Expected
| ||||
cProcessEdits | EV01 | char | NONE | NONE |
| ||||
szAPPrOptVersion | VERS | char | NONE | NONE |
| ||||
szGLPrOptVersion | VERS | char | NONE | NONE |
| ||||
mnDocumentNumber | DOC | MATH_NUMERIC | NONE | NONE |
| ||||
szDocumentType | DCT | char | NONE | NONE |
A user defined code (00/DT) that identifies the origin and purpose of the transaction. PeopleSoft reserves several prefixes for document
| ||||
szDocumentCompany | KCO | char | NONE | NONE |
A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher,
| ||||
szBranchPlant | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szCompany | CO | char | NONE | NONE |
| ||||
mnSupplierNumber | AN8 | MATH_NUMERIC | NONE | NONE |
| ||||
szInvoiceNumber | VINV | char | NONE | NONE |
| ||||
jdInvoiceDate | DIVJ | JDEDATE | NONE | NONE |
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
| ||||
jdTaxServiceDate | DSVJ | JDEDATE | NONE | NONE |
A date that indicates when you purchased goods or services, or when you incurred a tax liability. | ||||
jdGLDate | DGL | JDEDATE | NONE | NONE |
A date that identifies the financial period to which the transaction is to be posted.
The company constants specify the date range for each
| ||||
cPaymentInstrument | PYIN | char | NONE | NONE |
A user defined code (00/PY) that determines the means by which a payment is issued to a supplier or received from the customer.
| ||||
szPaymentTerms | PTC | char | NONE | NONE |
A code that specifies the terms of payment, including the percentage of discount available if the invoice is paid by the discount due date.
| ||||
szTaxExplCode | EXR1 | char | NONE | NONE |
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
| ||||
szTaxRateArea | TXA1 | char | NONE | NONE |
A code that identifies a tax or geographic area that has common tax rates and tax authorities. The system validates the code you enter
| ||||
mnBatchNumber | ICU | MATH_NUMERIC | NONE | NONE |
| ||||
szBatchType | ICUT | char | NONE | NONE |
| ||||
jdBatchDate | DICJ | JDEDATE | NONE | NONE |
| ||||
szCompanyCurrencyCode | CRDC | char | NONE | NONE |
A code that identifies the domestic (base) currency of the company on a transaction. | ||||
szTranscationCurrencyCode | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
cCurrencyMode | CRRM | char | NONE | NONE |
| ||||
mnExchangeRate | CRR | MATH_NUMERIC | NONE | NONE |
A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.
The number in this field
| ||||
cCurrencyProcessingFlag | CRYR | char | NONE | NONE |
| ||||
cVoucherLogging | EV02 | char | NONE | NONE |
| ||||
szVMPrOptVersion | VERS | char | NONE | NONE |
| ||||
mnAddressNumberSentTo | SNTO | MATH_NUMERIC | OPT | NONE |
The address number of the individual who is authorized to approve voucher logging transactions. This address number must exist in the
| ||||
mnGrossAmtEntered | AG | MATH_NUMERIC | OPT | INPUT |
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on
| ||||
mnDomGrossAmt | AG | MATH_NUMERIC | OPT | OUTPUT |
A value that specifies the total amount of the invoice or voucher pay item. The gross amount might include the tax amount, depending on
| ||||
mnForGrossAmt | ACR | MATH_NUMERIC | OPT | OUTPUT |
The foreign currency amount entered on the transaction. If the Multi-Currency Conversion option on the General Accounting constants is set
| ||||
cOverrideGrossAmtFlag | EV03 | char | OPT | INPUT |
A radio button that specifies the level at which trace/track result is to be displayed. Select the Detail to display all transactions except IB, IX,
| ||||
mnTriangulationRateFromCurrenc | TRR1 | MATH_NUMERIC | OPT | NONE |
The triangulation currency rate used to convert the From currency code to the Triangulation currency code. | ||||
mnTriangulationRateToCurrency | TRR2 | MATH_NUMERIC | OPT | NONE |
The triangulation currency rate that used to convert from the Triangulation currency code to the To currency code. | ||||
cCurrencyConversionMethod | CRCM | char | OPT | NONE |
A value that specifies which method to use when converting from one currency to another. Valid values are:
Y
Multiplier method. The
| ||||
jdDateEffectiveRates | EFT | JDEDATE | OPT | NONE |
The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost
| ||||
cCurrencySpotRateNotAllowed | CSR | char | OPT | NONE |
An option that indicates whether a spot rate is applicable for a particular currency relationship. Spot rates are exchange rates entered at the
| ||||
szLongAddressNumber | ALKY | char | OPT | NONE |
A user-defined name or number that identifies an address book record. You can use this number to locate and enter information about the
|
B0000009 Get Next Journal Entry Line Number | ||||
B0000019 Calculate Tax Authority Tax Amts | ||||
B0000027 CurrencyConvForAndDom | ||||
B0000032 RetrieveCurrencyConvFlag | ||||
B0000033 Get Exchange Rate | ||||
B0000055 ValidateAAICompletely | ||||
B0000130 Retrieve Company From Business Unit | ||||
B0400047 Voucher Entry Master Business Function | ||||
B0900049 Journal Entry | ||||
B0900085 Retrieve Ptr To F0911 Record | ||||
B1100006 Decimal Trigger Get By Currency | ||||
B4000150 Get Branch Constants | ||||
B4000260 Line Type - Activity Rules | ||||
B4000350 Retrieve Distribution AAI | ||||
B4000520 Get Item UoM Conversion Factor | ||||
B4000530 Get Distribution Constants | ||||
B4000940 Calculate Qty on hand for Inventory Cost Level | ||||
B4001040 Get Item Master Description UOM | ||||
B4002000 Compute Unit Or Extended Amount | ||||
B4100040 Write Cardex Record | ||||
B4100210 Check Item Branch | ||||
B4300030 Edit Purchasing Tolerance Rules | ||||
B4300060 Get Purchasing Instructions | ||||
B4300110 Get Purchase Order Detail | ||||
B4300130 Get Purchase Order Header | ||||
B4300330 Update PO Next Status | ||||
B4300370 Get Purchase Order Receipt | ||||
B4301410 Maintain Purchasing Parms Cache | ||||
B4301420 Retrieve Outstanding Logs | ||||
B4302090 Compute/Write COGS Variance | ||||
N0400121 F0411 Redistribution | ||||
N7000190 XT4314ZN - Plug & Play - 43B | ||||
X4181 Average Cost Update | ||||
XF4105 Item Cost I/O | ||||
XT4311Z1 Purchase Order Entry | ||||
XX0901 Validate Account Number |
F4301 Purchase Order Header | ||||
F4311T Purchase Order Detail Tag File | ||||
F43121 Purchase Order Receiver File | ||||
F43121T Purchase Order Receiver Tag File | ||||
F4314Z Voucher Match Selection File |