Functional Description
Purpose
This function is used to retrieve bank transit information from the F0030 table. The function uses
Address Number (Customer Number, Supplier Number, etc) and Bank Type and returns all the fields of the
record matched in F0030. The function can also be used to verify that a record for a specific address
number and bank type combination exists in F0030.
Setup Notes and Prerequisites
A valid Address Number (AN8) and a valid Bank Type (BKTP) are required for calling this function.
Also, users of this function need to specify if they want to suppress error messages or not (suppressing
error messages can be useful if you are only checking if a record exists in F0030). If errors are
suppressed, basic initialization failures will still be reported. When suppressing errors, it is
recommended that the value of the cRecordFoundFlag is checked to verify success or failure in accessing F0030.
Special Logic
In cases that there is more than one matching record in F0030 for the parameters passed to the
function, the first record found will be returned by this function.
Technical Specification
Parameters
Item Description I/O Req?Notes
AN8mnAddressNumberIYCustomer Number, Supplier Number, etc.
BKTPcBankTypeIYThe bank transit record type, i.e. 'D' for Drafts.
TNSTszBankTransitNumberON
CBNKszCustBankAcctNumberON
DL01szBankAcctDescriptionON
CHKDszControlDigitON
EV01cSuppressErrorMessageIYEnter '1' if you want to suppress error messaging
otherwise enter '0'.
EV01cRecordFoundFlagON'1' means a matching record was found; '0' means a
matching record was not found.
AIDszAccountIDON
NXTCmnNextCheckNumberON
CRCDszCurrencyCodeFromON
RLNszReferenceRollNumberON
BACSmnBacsUserNumberON
RFNMszBacsReferenceNameON
BAIDszBankTransitShortIDON
MCUszCostCenterON
SWFTszSwiftCodeON
ADPIcPreNoteOptionCodeON
CHKQszCheckPrintQueueON
ATTQszCheckAttachmentsPrintON
DBTQszDebitMemoPrintQueueON
ALGNmnNumberOfAlignmentChecksON
SDTLmnDetailLinesperAPPaymentON
FLRmnFloatDaysforChecksRcvON
FLPmnFloatDaysforChecksPayablON
CKSVcCheckingorSavingsAccountON
UKIDmnUniqueKeyIDInternalONInternal F0030 table primary key ID.
Related Tables
F0030Bank Transit Number Master File
Related Functions
None.
Processing
Perform Initializations.
If (Address Number is '0' or Bank Type is
If SuppressErrorMessage is '0',
Set error.
Endif.
Else,
Open F0030 table.
If table was opened successfully,
Fetch first matching record from table.
If table fetch was successful,
Load return variables.
Else,
If SuppressErrorMessage is '0',
Set "table fetch" error.
Endif.
Endif.
Else,
If SuppressErrorMessage is '0',
Set "table open" error.
Endif.
Endif.
Endif.
Perform Function clean up.
^
D0000205 - F0030 Get Bank Transit Information
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAddressNumber | AN8 | MATH_NUMERIC | REQ | INPUT |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
cBankType | BKTP | char | REQ | INPUT |
A code that distinguishes external bank accounts from internal bank accounts. Valid values are:
B
Valid bank transit numbers
C
Customer
| ||||
szBankTransitNumber | TNST | char | OPT | OUTPUT |
The number assigned to a particular bank by the Federal Reserve to facilitate the clearing of funds. | ||||
szCustBankAcctNumber | CBNK | char | OPT | OUTPUT |
The number assigned by a bank to identify the account for a company, customer, or supplier.
Note for Nordic users: Enter your bank,
| ||||
szBankAcctDescription | DL01 | char | OPT | OUTPUT |
A user defined name or remark. | ||||
szControlDigit | CHKD | char | OPT | OUTPUT |
A number that represents a check digit for a bank account number. This number is optional, and is not part of the key to the Bank Transit
| ||||
cSuppressErrorMessage | EV01 | char | REQ | INPUT |
An option that specifies the type of processing for an event. | ||||
cRecordFoundFlag | EV01 | char | OPT | OUTPUT |
An option that specifies the type of processing for an event. | ||||
szAccountId | AID | char | OPT | OUTPUT |
A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. | ||||
mnNextCheckNumber | NXTC | MATH_NUMERIC | OPT | OUTPUT |
A number that represents the next payment number to be processed for the specified bank account. The system updates this field during
| ||||
szCurrencyCodeFrom | CRCD | char | OPT | OUTPUT |
A code that identifies the currency of a transaction. | ||||
szReferenceRollNumber | RLN | char | OPT | OUTPUT |
The recipient's reference number. This is not used by all banks or in all countries. The following countries use this field for specific
| ||||
mnBacsUserNumber | BACS | MATH_NUMERIC | OPT | OUTPUT |
The number assigned by the sponsor in the particular bank system (for example,the UK BACS system). This number will be included on all
| ||||
szBacsReferenceName | RFNM | char | OPT | OUTPUT |
The name of the account associated with the user number (within the particular bank system). In Norway, DNB Telebank provides this
| ||||
szBankTransitShortId | BAID | char | OPT | OUTPUT |
A number that identifies the bank transit account. This account number is maintained in the A/R Ledger file (F0311), the A/P Ledger file
| ||||
szCostCenter | MCU | char | OPT | OUTPUT |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szSwiftCode | SWFT | char | OPT | OUTPUT |
The beneficiary's SWIFT address or routing/transit number is required by the bank. If you do not enter the beneficiary's SWIFT address or
| ||||
cPreNoteOptionCode | ADPI | char | OPT | OUTPUT |
An option that specifies whether the system overrides the prenote processing for electronic funds transfer for the bank account specified.
| ||||
szCheckPrintQueue | CHKQ | char | OPT | OUTPUT |
This is the print output queue for A/P payments. | ||||
szCheckAttachmentsPrint | ATTQ | char | OPT | OUTPUT |
This is the A/P payments attachments output queue. | ||||
szDebitMemoPrintQueue | DBTQ | char | OPT | OUTPUT |
This is the A/P payments debit statements output queue. | ||||
mnNumberOfAlignmentChecks | ALGN | MATH_NUMERIC | OPT | OUTPUT |
The number of checks that are needed at the start of check printing for the printer operator to align the check stock properly. | ||||
mnDetailLinesperAPPaymentS | SDTL | MATH_NUMERIC | OPT | OUTPUT |
The number of detail lines that can appear on an A/P payment stub. | ||||
mnFloatDaysforChecksRcv | FLR | MATH_NUMERIC | OPT | OUTPUT |
The number of days the system adds to the draft due date to determine the G/L date for journal entries created during the draft collection
| ||||
mnFloatDaysforChecksPayabl | FLP | MATH_NUMERIC | OPT | OUTPUT |
The number of days the system adds to the payment date to calculate the value date that is used in draft processing. | ||||
cCheckingorSavingsAccount | CKSV | char | OPT | OUTPUT |
A code that specifies the type of bank account. This code is used during bank tape processing for automatic payments. The code you
| ||||
mnUniqueKeyIDInternal | UKID | MATH_NUMERIC | OPT | OUTPUT |
This field is a unique number used to identify a record in a file. | ||||
szCountry_CTR | CTR | char | OPT | OUTPUT |
A user defined code (00/CN) that identifies a country. The country code has no effect on currency conversion.
The Address Book system
| ||||
mnNextAutoDebitNumber_NXTA | NXTA | MATH_NUMERIC | OPT | OUTPUT |
A number that represents the next automatic debit number to be processed for a specified bank account. The J.D. Edwards software
| ||||
jdDateUpdated_UPMJ | UPMJ | JDEDATE | OPT | OUTPUT |
The date that specifies the last update to the file record. | ||||
mnTimeLastUpdated_UPMT | UPMT | MATH_NUMERIC | OPT | OUTPUT |
The time that specifies when the program executed the last update to this record. | ||||
szProgramId_PID | PID | char | OPT | OUTPUT |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
szUserId_USER | USER | char | OPT | OUTPUT |
The code that identifies a user profile. | ||||
szWorkStationId_JOBN | JOBN | char | OPT | OUTPUT |
The code that identifies the work station ID that executed a particular job. | ||||
szInternationalBankAcctNo_IBAN | IBAN | char | OPT | OUTPUT |
A string of alphanumeric characters that uniquely identifies a customer's account in a bank anywhere in the world. The IBAN has a
| ||||
mnAddressNumberBank_AN8BK | AN8BK | MATH_NUMERIC | OPT | OUTPUT |
The address book number of the bank. |
None |
F0030 Bank Transit Master |