GetExecutionList

Get Base Method

Minor Business Rule

Object Name: B03B0100

Parent DLL: CFIN

Location: Client/Server

Language: C

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)




^

Data Structure

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 NameData ItemData TypeReq/OptI/O/Both
szAutoReceiptsExecutionListARLcharNONENONE

Item  ab  Descriptionab       I/O   Req? Notes
ARLab szAutoReceiptsExecutionList[11]  Iab   Yab 

^

mnAutoReceiptAlgorithmSequenceARSMATH_NUMERICNONENONE

Item  ab  Descriptionab       I/O   Req? Notes
ARSab mnAutoReceiptAlgorithmSequence  I      Yab 

^

mnPaymentIdPYIDMATH_NUMERICNONENONE

Item  ab  Descriptionab       I/O   Req? Notes
PYIDab mnPaymentId                     I     ab  Y   Payment ID of Receipt Header  (internal)ab 

^

szBatchTypeICUTcharNONENONE

Item  ab  Descriptionab       I/O   Req? Notes
ICUTab  szBatchType[3]ab       I     Y   Batch Type for  Transactionab 

^

mnBatchNumberICUMATH_NUMERICNONENONE

Item  ab  Descriptionab       I/O   Req? Notes
ICUab  mnBatchNumberab       I     Y   Batch Number for Transaction

^

jdDateBatchJulianDICJJDEDATENONENONE

Item  ab  Descriptionab     I/O   Req?  Notes
DICJ   ab jdDateBatchJulian              I     Y    Batch date of Transaction

ab 

^

szAutoReceiptBaseMethodALGOcharNONENONE

Item  ab  Descriptionab       I/O   Req? Notes
ALGO        szAutoReceiptBaseMehod          O      


^

szBaseMethodVersionVERScharNONENONE

Item  ab  Descriptionab       I/O   Req? Notes
VERS        szBaseMethodVersion             O


^

szProgramIDPIDcharNONENONE

Item  ab  Descriptionab       I/O   Req? Notes
PID         szProgramID                     I     N


^

Related Functions

B03B0069 F03B14 Maintain Unapplied Cash
B9800100 Get Audit Information

Related Tables

F03B13 Receipts Header
F03B50 Receipt Application Algorithm Execution Lists