Functional Description
Purpose
The purpose of the Get Base Method business function is to retrieve the next available Base Method
within a given Execution List. The function performs a Set Selection by Execution List equal to the
passed in Execution List and Algorithm Sequence greater than the passed in Sequence.
Provided the function is able to successfully retrieve a base method, it will then update the Receipt
Register (F03B13) table with the new Base Method and Sequence. If, however, the function is unable
to retrieve a Base Method, it will call an external function - CreateMaintainRUDetail (B03B0069) - to
create Unapplied "RU" records in the Receipt Details (F03B14) and Customer Ledger (F03B11) tables.
Setup Notes and Prerequisites
None
Special Logic
None
Technical Specifications
Parameters
Item Description I/O Req? Notes
ARLszAutoReceiptsExecutionList[11] I Y
ARSmnAutoReceiptAlgorithmSequence I Y
PYIDmnPaymentId I Y Payment ID of Receipt Header (internal)
ICUTszBatchType[3] I Y Batch Type for Transaction
ICUmnBatchNumber I Y Batch Number for Transaction
DICJjdDateBatchJulian I Y Batch date of Transaction
ALGO szAutoReceiptBaseMehod O
VERS szBaseMethodVersion O
PID szProgramID I N
Related Tables
F03B13Receipt Register
F03B50Algorithm Execution Lists
Related Functions
B9800100GetAuditInformation
B03B0069CreateMaintainRUDetail
Processing
Perform Set Selection by Execution List equal to the the passed in Execution List and Algorithm
Sequence greater than the passed in Sequence
Attempt to fetch record from Algorithm Execution Lists (F03B50) table
If record fetched, update Receipt Register (F03B13) table with Base Method and Sequence
If record NOT fetched, call external function (CreateMaintainRUDetail) to create Unapplied "RU"
records in the Receipt Detail (F03B14) and Customer Ledger (F03B11) tables
Close Algorithm Execution Lists (F03B50) and Receipt Register (F03B13) tables and
JDB_FreeBhvr(hUser)
^
D03B0100 - DS for Get Base Method
Purpose
This function data structure is used by Get Base Method function.
Parameters
Item Description I/O Req? Notes
ARLszAutoReceiptsExecutionList[11] I Y
ARSmnAutoReceiptAlgorithmSequence I Y
PYIDmnPaymentId I Y Payment ID of Receipt Header (internal)
ICUTszBatchType[3] I Y Batch Type for Transaction
ICUmnBatchNumber I Y Batch Number for Transaction
DICJjdDateBatchJulian I Y Batch date of Transaction
ALGO szAutoReceiptBaseMehod O
VERS szBaseMethodVersion O
PID szProgramID I N
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szAutoReceiptsExecutionList | ARL | char | NONE | NONE |
Item ab Descriptionab I/O Req? Notes
| ||||
mnAutoReceiptAlgorithmSequence | ARS | MATH_NUMERIC | NONE | NONE |
Item ab Descriptionab I/O Req? Notes
| ||||
mnPaymentId | PYID | MATH_NUMERIC | NONE | NONE |
Item ab Descriptionab I/O Req? Notes
| ||||
szBatchType | ICUT | char | NONE | NONE |
Item ab Descriptionab I/O Req? Notes
| ||||
mnBatchNumber | ICU | MATH_NUMERIC | NONE | NONE |
Item ab Descriptionab I/O Req? Notes
| ||||
jdDateBatchJulian | DICJ | JDEDATE | NONE | NONE |
Item ab Descriptionab I/O Req? Notes
| ||||
szAutoReceiptBaseMethod | ALGO | char | NONE | NONE |
Item ab Descriptionab I/O Req? Notes
| ||||
szBaseMethodVersion | VERS | char | NONE | NONE |
Item ab Descriptionab I/O Req? Notes
| ||||
szProgramID | PID | char | NONE | NONE |
Item ab Descriptionab I/O Req? Notes
|
B03B0069 F03B14 Maintain Unapplied Cash | ||||
B9800100 Get Audit Information |
F03B13 Receipts Header | ||||
F03B50 Receipt Application Algorithm Execution Lists |