Functional Description
Purpose
Setup Notes and Prerequisites
Special Logic
Technical Specification
Functional Description
Purpose
Setup Notes and Prerequisites
Special Logic
Technical Specification
Functional Description
Purpose
Setup Notes and Prerequisites
Special Logic
Technical Specification
Parameters
Related Tables
Related Functions
Processing
Functional Description
Purpose
This function is used to retrieve the columns stored in a record of the F0011 Batch Header Table. If
the batch is in use, an error will be set.
Setup Notes and Prerequisites
Special Logic
After passing in a Batch Type and Batch Number, this BSFN will return all of the values stored in the
record. An error will be set if the batch is "In Use". To suppress all errors from being set, pass
a "Y" or a "1" in the cSuppressAllErrorsFlag parameter.
Technical Specification
Main BSFN:
If Batch Type is blank
Set Error
If Batch Number is "0"
Set Error
Open F0011 table
Fetch Batch from F0011 table
If Batch does not exist
Set Error
Else
Load Returned Values
If Batch Status = "P" or "U" AND Suppress Errors Flag != "Y"
Set Error
Close F0011 table
D0000003 - Get F0011 Batch Header Info
This BSFN will return all of the columns in the F0011 table for a specific record (Batch
Type/Number). It will also set error "0068" if the batch is in use. Pass a "Y" in the cSuppressAllErrorsFlag, if
you do not want the error to be set.
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBatchType | ICUT | char | REQ | BOTH |
Special Input Expected
| ||||
mnBatchNumber | ICU | MATH_NUMERIC | REQ | BOTH |
Special Input Expected
| ||||
cBatchStatus | IST | char | OPT | OUTPUT |
Special Output Expected
| ||||
cBatchApprovalStatus | IAPP | char | OPT | OUTPUT |
Special Output Expected
| ||||
jdBatchDate | DICJ | JDEDATE | OPT | OUTPUT |
Special Output Expected
| ||||
mnDocumentsExpected | NDO | MATH_NUMERIC | OPT | OUTPUT |
Special Output Expected
| ||||
mnBatchAmountExpected | AICU | MATH_NUMERIC | OPT | OUTPUT |
Special Output Expected
| ||||
mnDocumentsEntered | DOCN | MATH_NUMERIC | OPT | OUTPUT |
Special Output Expected
| ||||
mnBatchAmountEntered | AME | MATH_NUMERIC | OPT | OUTPUT |
Special Output Expected
| ||||
cBalancedDocumentsFlag | BAL | char | OPT | OUTPUT |
Special Output Expected
| ||||
cBalancedJournalEntriesFlag | BALJ | char | OPT | OUTPUT |
Special Output Expected
| ||||
cPostOutOfBalanceFlag | POB | char | OPT | OUTPUT |
Special Output Expected
| ||||
cIncludeOnIntegrityFlag | IBOI | char | OPT | OUTPUT |
Special Output Expected
| ||||
szUserID | USER | char | OPT | OUTPUT |
Special Output Expected
| ||||
szAuthorizedUserID | AUSR | char | OPT | OUTPUT |
Special Output Expected
| ||||
cSuppressAllErrorsFlag | EV01 | char | OPT | INPUT |
Special Input Expected
|
None |
F0011 Batch Control Records |