1.Functional Description
1.1Purpose
This function completes all pre-post edits by batch for Manual Payment post processing. It is
called from the G/L Post UBE (R09801) and creates the offsetting
entries in the F0911, cash entry and discount entries.
Note :
The version to be run to execute this BSFN is the ZJDE0004,ZJDE0005 version, the selection
on which is "Batch Status" Approved, Batch Type "M" for Manual with Match and "W" for Manual
without match
1.2Setup Notes and Prerequisites
Since this business function is never attached by the user directly, there are no Setup
Notes or Prerequisites.
2.Technical Specifications
2.1Processing:
a) Deletes any partial records that match the entered batch number and type in the
F0911,F09UI005,F09UI006 tables. For Payment Pre-Post, the batch type is either a "W"
or an "M"
b) Loads the data structure for the business function "WriteHUBCompany"(which is
executed during the F09UI005 flush routine when the F0911 "AE'records are written.
c) Opens the relevant tables.
d) Loads the key to the Batch number on the F0413 table.
e) Selects all F0413 records with the matching batch number and type and a blank
posted code. If the offset method for posting is a "B" (Batch method) then using the
apymentid from the selected F0413 all F0414 records mathcing the PYID are read
f) For each record selected (this is in a while loop)
- If record is a gain/loss record perform the intercompany Gain/Loss function.
Read next F0414 record.
- Write F0911 AE entries
- Write Discount available record
- Write discount lost record
- update F0414 to posted status
- Write Cash record
- update F0413 to posted
g) If Pre-Post completes successfully with no errors then the UBE R09801 will
continue to do more editing however if the Pre-Post found errors/Out of balance conditions
etc, it will send back an error flag to the R09801 who will then issue the error report
R09801E.
^
D0000062 - Accounts Payable Payments Pre Post
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBatchType | ICUT | char | REQ | INPUT |
Batch type of Manual Payment to be posted. It could be a "W" or an "M" based on whether its a manual
| ||||
mnBatchNumber | ICU | MATH_NUMERIC | REQ | INPUT |
Batch Number of Payment to be posted
| ||||
cErrorFlag | FLAG | char | OPT | BOTH |
Flag that returns an error if the prepost detects any.
| ||||
cAutoOffMode | OFFP | char | OPT | BOTH |
This is the method of posting i.e
| ||||
cIntercompanysettlements | ICO | char | OPT | INPUT |
Intercompany settlement flag used by the UBE R09801
| ||||
jdDatebatchjulian | DICJ | JDEDATE | OPT | INPUT |
Batch date for vouchers to be posted. Also used for 2nd level error messaging
| ||||
szGlBankAccount | GLBA | char | OPT | INPUT |
Bank Account from the F0413 record i.e the G/L Bank account
| ||||
mnPayeeAddressNumber | PYE | MATH_NUMERIC | OPT | INPUT |
The address number receiving the payment
| ||||
mnDocMatchingCheckor | DOCM | MATH_NUMERIC | OPT | INPUT |
Number of the matching document. In this case the payment/Check number
| ||||
cTaxFlag | EV01 | char | OPT | INPUT |
Used to indicate whether information need be updated to the tax file or not. At present not
| ||||
cAdjustVATFlag | EV01 | char | OPT | INPUT |
Flag to indicate what tax was used on the payment.
| ||||
szOffsetByDocument | DL01 | char | OPT | INPUT |
A user defined name or remark. | ||||
szOffsetByBatch | DL02 | char | OPT | INPUT |
Additional text that further describes or clarifies a field in the system. | ||||
szOffSetBySummary | DL03 | char | OPT | INPUT |
Additional text that further describes or clarifies an element. | ||||
szIntercompanyCacheName | PID | char | OPT | BOTH |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
cMultiCurrencyIntercompanyJE | DOT1 | char | OPT | INPUT |
An option that specifies whether to allow intercompany transactions between companies with different base currencies. If you turn on this
| ||||
cCurrencyConverYNAR | CRYR | char | OPT | INPUT |
A code that specifies whether to use multi-currency accounting, and the method of multi-currency accounting to use:
Codes are:
N Do not
|
B0000009 Get Next Journal Entry Line Number | ||||
B0000023 Intercompany Settlements + | ||||
B0000055 ValidateAAICompletely | ||||
B0000068 Delete F09UI005 Records | ||||
B0000115 AAI Range Of Accounts + | ||||
B0100039 Is Address Number in Address Book Master Table | ||||
B0400009 Get Account Company | ||||
B0900143 Delete F0911 Records | ||||
B9800100 Get Audit Information | ||||
X0005 Get User Defined Codes | ||||
X0903 Fiscal Date Edits + | ||||
XX0901 Validate Account Number |
B0000009 Get Next Journal Entry Line Number | ||||
B0000023 Intercompany Settlements + | ||||
F0010 Company Constants | ||||
F0012 Automatic Accounting Instructions Master | ||||
F0413 Accounts Payable - Matching Document | ||||
F0414 Accounts Payable Matching Document Detail | ||||
F0911 Account Ledger | ||||
F09UI005 Tax Offsets User Index |