Functional Description
Purpose
This business function is used to delete all G/L transaction lines from the F0911 table for one
summary line found in the Work with Journal Entries grid.
Setup Notes and Prerequisites
This function was primarily designed to be used with the Delete button on the Work with Journal
Entries form of the Journal Entries application. Currently this function is being called on the Delete
Verify After event point in the grid. This function also checks for the existence of other F0911 records
which use the same batch number (ICU). If there are no other F0911 records for the batch number used
in the original delete, this function will call BatchReviseOnTransactionCommit so the now empty batch
header will be deleted. The correct batch number must be passed to this function.
Special Logic
Technical Specification
Open batch and set batch status to "U" (in use)
Open F0911 table
Select records based on key
While there are matching F0911 records...
If the amount field in retrieved record is positive (debit)...
Open F0911 table
Select records based on new key built by function
Fetch record matching key
If valid fetch... (records exist with same batch number as previous delete)
Update Batch Amount
Set Batch Status
Delete Batch Header record from F0011 table
^
D0900031 - Delete G/L Transaction from F0911
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnDocVoucherInvoice | DOC | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
szDocumentType | DCT | char | NONE | NONE |
Special Input Expected
| ||||
szDocumentCompany | KCO | char | NONE | NONE |
Special Input Expected
| ||||
szBatchType | ICUT | char | NONE | NONE |
Special Input Expected
| ||||
mnBatchNumber | ICU | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
jdGLDate | DGJ | JDEDATE | NONE | NONE |
Special Input Expected
| ||||
cPaymentInstrument | PYIN | char | OPT | 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.
| ||||
szInteropVersion | VER | char | OPT | NONE |
Identifies a specific set of data selection and sequencing settings for the application. Versions may be named using any combination of
|
B0000004 Batch - Open On Initialization | ||||
B0000007 Batch - Revise On Transaction Commitment |
F0011 Batch Control Records | ||||
F0018 Taxes | ||||
F0911 Account Ledger |