ARStatementPrintDriver

Statement Print Driver

Major Business Rule

Object Name: B03B0127

Parent DLL: CFIN

Location: Client/Server

Language: C

B03B0127
AR Statement Print Driver


Functional Description


Purpose

This business function will be called from a UBE Statement Print Driver. The program and version to 

print the statement will be passed in. Both the program and the version will be verified. If invalid 

then the version ZJDE0001 will be tried for the program name as default. If invalid then an error 

message is returned.


Setup Notes and Prerequisites


Special Logic

Any UBE print version that is ran from this job must also have the same parameters in the same order 

as listed below.


Technical Specifications


Parameters

ItemDescriptionI/OReq?Notes

VERARVersionIYesEnter the version of the 

statement print program.

RNIDBatch Run IDIN/REnter the Batch Run Time ID 

that is generated from the UBE 

Notification build.

STMPPA/R Statement ProcessingIYesEnter the name of the statement

print program. Must be valid 

entry from the UDC table 03B,ST.

MODEMode ProcessingIN/RThis is used to tell the 

Notifications print program if mode is proof or final.


Related Tables 

F983051Versions List


Related Business Functions


Processing 

• Checks for a blank lpBhvrCom, lpVoid, or lpDS. If blank than error message '4363' is returned.
• JDE_InitBhvr is done. If an error is detected than error '3143' is returned.
• JDE_OpenTable for table F893051 is performed. If an error is detected than error '3143' is returned.
• Retrieves local computer, and environment names.
• Performs internal subroutine I03B0127_RetrieveVersionID.
• If an invalid version is found, than error '017H' is returned.
• Parameters are set up, and a jdeLaunchUBE is performed for the Statement Print Job.
• If an error is returned, than error '017H' is returned.
• JDE_CloseTable is performed.
• JDE_FreeBhvr is performed.

SUBROUTINE I03B0127_RetrieveVersionID


• A scrub of the program name is performed.
• A JDE_Fetch Keyed of the Version ID is performed. If the version is not found, than a default of 
ZJDE0001            

• JDE_Fetch Keyed is performed.
• If the version is still not found than an error is returned to the main program.
• If the version is found, than the version id, report id, and the processing options are returned.

Data Structure

D03B0127 - Statement Print Driver

Parameter NameData ItemData TypeReq/OptI/O/Both
szVersionVERARcharNONENONE

The version of the statement print program that was used to print statements. The system uses the print program and version specified to 
reprint statements unless you override the version. 

mnBatchRunIDRNIDMATH_NUMERICNONENONE

This is an internally assigned number that groups transaction records with a batch header record based on a particular execution of the G/L 
Post for that batch.

szARStatementProcessingSTMPPcharNONENONE

The program selected to produce the statement or delinquency notice.

cModeProcessingMODEcharNONENONE

The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed.

Related Functions

None

Related Tables

F983051 Versions List