DBACalcAdd

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to determine the difference between two dates.

 

Setup Notes and Prerequisites


The Dates must be passed in through Date Variable 1 and Date Variable 2.

Special Logic




Technical Specification


Date Variable 2 is the Greater Date, Date Variable 1 is the Lesser Date. 

^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcAge

DBACalcAge

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcDateDifference

DBACalcDateDifference

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to determine the difference between two dates.

Setup Notes and Prerequisites


The Dates must be passed in through Date Variable 1 and Date Variable 2.

Special Logic




Technical Specification


Date 2 is the greater value, while date 1 is the lesser value. Returns number of days between dates. 

Value is returned in Return Variable 1. Error Flag is always set to '1'.


Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcDivide

DBACalcDivide

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to Divide 2 numbers. 

Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1 and Variable 2.

Special Logic




Technical Specification


Variable one divided by Variable two, Returning Return Variable 1. Always return a '1' in the Error 

flag, unless there is a divide by zero error, then return a '0'. If there is an error then the return 

Variable is set to Zero.


^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcFetchF060117

DBACalcFetchF060117

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to fetch a F060117 record. 

Setup Notes and Prerequisites


The only input varialble is the Employee Address number (AN8). 

Special Logic




Technical Specification


The AN8 is used to fetch a single F060117 record. If successful then the Estimated Salary is returned 

(ESAL) in Return Variable 1. Else the ESAL is returned as a Zero. The Error Flag is always set to 

'1'.

^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcFetchF069026

DBACalcFetchF069026

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to fetch a F069026 record. 

Setup Notes and Prerequisites


The Order of the variables and Return Results are critical 
This pattern must be followed exactly. 

Input

VariableName01 = TableCode (Y2FTC)  

CharVariable01 = TypeofTable (Y2TABT)

StringReturn01 = UnitofMeasurePayroll (Y2PRUM) 


Return

ReturnResult01 = LimitUpperComparision (Y2UCL) 

ReturnResult02 = TableAmountFT2 (Y2FT2)

ReturnResult03 = RateFT3 (Y2FT3) 

ReturnResult04 = AmountFT4 (Y2FT4)

ReturnResult05 = LimitonAnnualDollars (Y2ADL)

ReturnResult06 = Excess Rate (Y2EXRT)

ReturnResult07 = AmountLowerLimit (Y2LCL)

ReturnResult08 = CarryoverMaximum (Y2CMAX)



Special Logic




Technical Specification


This Function performs a Fetch Single from F069026 and returns the

needed columns for other calculations.

 


^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcFetchF09116

DBACalcFetchF09116

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to fetch a F069116 record. 

Setup Notes and Prerequisites


The only input varialble is the PDBA.  

Special Logic




Technical Specification


This Function is used to return the Pay Type Multiplier (PAYM) after a fetch from the F069116. If not 

found or if the PDBA  is Zero, the Returned Result (PAYM) is set to Zero. The Error flag is always 

set to '1'.


^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcFetchNextF09026LimitRange

DBACalcFetchNextF09026LimitRange

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to fetch a F069026 record. 

Setup Notes and Prerequisites


The Order of the variables and Return Results are critical 
This pattern must be followed exactly. 

Input

CharVariable01 =  Table Type (Y2TABT)

VariableName01 = Upper Limit  (Y2UCL)

VariableString01 =  Table Code  (Y2FTC-DTAB)

YAESAL, or Y2UCL Dependant on the PRUM

 

If the Select and Fetch Next is Successful then Return Results are as follows

ReturnResult01 = AmountLowerLimit (Y2LCL)

ReturnResult02 = LimitUpperComparison (Y2UCL)

ReturnResult03 = TableAmount (Y2FT2)

ReturnResult04 = Rate (Y2FT3)

ReturnResult05 = Amount2 (Y2FT4)

ReturnResult06 = LimitAnnualDollars (Y2ADL)

ReturnResult07 = ExcessRate (Y2EXRT)



Special Logic




Technical Specification


// **************************************************************************

// Function Purpose:

// Note:

CharVariable01 =  Table Type (Y2TABT)

VariableName01 = Upper Limit  (Y2UCL)

VariableString01 =  Table Code  (Y2FTC-DTAB)

YAESAL, or Y2UCL Dependant on the PRUM

 

If the Select and Fetch Next is Successful then Return Results are as follows

ReturnResult01 = AmountLowerLimit (Y2LCL)

ReturnResult02 = LimitUpperComparison (Y2UCL)

ReturnResult03 = TableAmount (Y2FT2)

ReturnResult04 = Rate (Y2FT3)

ReturnResult05 = Amount2 (Y2FT4)

ReturnResult06 = LimitAnnualDollars (Y2ADL)

ReturnResult07 = ExcessRate (Y2EXRT)


 

This Function is only used for testing of Upper and Lower Limit.

This function Performs a Select on F069026. 

It then Fetches the next row. If the Value is within the allowed

range, (Upper and Lower Limits) a blank Flag is returned so that

the Function can continue, else the error flag is set and  

the function stops.

The HardSoftErrorFlag is 1  if no errors are found.

^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcIfEqualThenMove

DBACalcIfEqualThenMove

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to compare two values. 

Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1, Variable 2 and Variable 3
Special Logic




Technical Specification


Variable one is compared to variable two. If they are equal then pass Variable 3 back thru Return 

Varialbe 1. Error Flay is always set to '1'

^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcIfGreaterOrEqualSub

DBACalcIfGreaterOrEqualSub

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

This function subtracts one value from another if the second value is greater than or equal to the 

first value


Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1 and Variable 2.

Special Logic




Technical Specification


Variable one is compared to Variable two. If Variable one in equals to or greater than Variable two 

then Variable two is subtracted from Variable one, returning the result Return Variable one. Else 

Variable one is passed back thru Return Variable one. Error Flag is always set to '1'.

^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcIfGreaterThanAndNotEqual

DBACalcIfGreaterThanAndNotEqual

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

This function compares two Numeric Variables and depending on the results passes back a value.


Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1, Variable 2 and Variable 3.

Special Logic




Technical Specification


Variable one is compared to Variable two. If Variable one is greater than Variable two and Variable 

two is NOT equal to Variable three then Variable two is passed back thru Return Variable one.  Else 

Variable one is passed back thru Return Variable one. Error Flag is always set to '1'.


^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcIfMoveElseMoveElseMove

DBACalcIfMoveElseMoveElseMove

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

This function compares four Numeric Variables and depending on the results passes back a value. This 

a a Complex or "nested" IF/Else Statement.


Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1, Variable 2, Variable 3 and Variable 4.

Special Logic




Technical Specification


If Variable one is NOT equal to Variable two, then return Variable one thru Return Variable one. Else 

If Variable three is NOT equal to Variable two then return Variable three thru Retrun Variable one. 

Else Return Variable four thru Return Variable one. Error Flag is always set to '1'.



^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcIfMultX2MoveElseSame

DBACalcIfMultX2MoveElseSame

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

This function compares two Numeric Variables and depending on the results Multiplies two values and 

returns multiple values back.


Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1, Variable 2, Variable 3 and Variable 4.

Special Logic




Technical Specification


If Variable one is NOT equal to Variable two, then multiply Variable one by Variable three, resulting 

in Return Variable one. Pass back Variable one via  Return Variables two thru four. 

Else, multiply Variable three by Variable Four, resulting in Return Result one. Pass back Variable 

four via Return Variables two thru four. Error Flag is always set to '1'.




^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcIfNotElseMultipleSingle

DBACalcIfNotElseMultipleSingle

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

This function compares two Numeric Variables and depending on the results Multiplies two values and 

returns a value back.


Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1, Variable 2, Variable 3 and Variable 4.

Special Logic




Technical Specification


If Variable one is NOT equal to Variable two, then multiply Variable one by Variable three, resulting 

in Return Variable one. 

Else, multiply Variable three by Variable four, resulting in Return Result one.  Error Flag is always 

set to '1'.


^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcIfNotEqandGreaterThan

DBACalcIfNotEqandGreaterThan

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

This function compares two Numeric Variables and depending on the results Multiplies two values and 

returns a value back.


Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1, Variable 2, Variable 3

Special Logic




Technical Specification


If Variable one is NOT equal to Variable two, and Variable three is Greater than Variable one, passed 

back Variable one. Else pass back variable three.

Error Flag is always set to '1'.


^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcIfNotEqualThenMove

DBACalcIfNotEqualThenMove

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

This function compares two Numeric Variables and returns a value back.


Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1, Variable 2, Variable 3 and Variable 4.  Variable 4 
is the same variable name as the Return Result Variable 1.  This is done because the Return Result 

Variable 1 gets initialized to 0 and if the condition of Variable 1 and Variable 2 is not met, Variable 4 

(initial value)is returned to save the original value.


Special Logic




Technical Specification


IF  is NOT EQUAL 

Return Result 1 = 

ELSE

Return Result 1 =      ------> Original value saved when 

 condition is not met.

^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcIfNotEqualZeroDoAll

DBACalcIfNotEqualZeroDoAll

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

This function compares two Numeric Variables and depending on the results moves multiple values to 

the return values.


Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1, Variable 2, Variable 3

Special Logic




Technical Specification


If Variable one is NOT equal to Variable two, mnReturnResult01 = mnVariableName03, mnReturnResult02 = 

mnVariableName01, mnReturnResult03 = mnVariableName03, mnReturnResult04 = mnVariableName03, 

mnReturnResult05 = mnVariableName03

Error Flag is always set to '1'.


^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcIfNotMinThenMove

DBACalcIfNotMinThenMove

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcMaxAllowable

DBACalcMaxAllowable

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

This function is only used to deteremine if the hours are greater than

max allowable. 


Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1, Variable 2, Variable 3

Special Logic




Technical Specification


This function is only used to dteremine if the hours are greater than

max allowable. If True, set hours equal to the max. If less than the minimum, set to zero.

The Input Variables and Return Results are as follows: 

VariableName01 = THRS (Total Hours)

VariableName02 = MAX Hours Allowed

VariableName03 = MIN Hours Allowed

ReturnResult01 = THRS (Total Hours)

ReturnResult02 = MIN Flag




^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcMonthsBetweenDates

DBACalcMonthsBetweenDates

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

This function computes the number of months between two dates. 

Setup Notes and Prerequisites


The Dates must be passed in through Date Variable 1 and Date Variable 2.

Special Logic




Technical Specification


Date 1 is the greater value while Date 2 is the lesser value. Returns the number of months between. 

Error Flag is always set to '1'.



^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcMult

DBACalcMult

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to Multiple 2 numbers. 

Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1 and Variable 2.

Special Logic




Technical Specification


Variable one Multiplied by Variable two, Returning Return Variable 1. Always return a '1' in the 

Error flag.



^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcMultipleMoveWithinIfElse

DBACalcMultipleMoveWithinIfElse

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

This function compares one Character Variable against '0' and depending on the result moves multiple 

values to the return values.


Setup Notes and Prerequisites


The values must be passed in through Character Variable 1, Numeric Variable 1 and 2.

Special Logic




Technical Specification


If Variable one is NOT equal to '0', move Numeric Variable one to Return Result one, and two, else 

move Variable two to Return Variable one and two

Error Flag is always set to '1'.



^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcOneorMoreMoves

DBACalcOneorMoreMoves

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is move one or more values to a corresponding Return Value. 

Setup Notes and Prerequisites


The Numbers must be passed in through Variable 1 thru Variable 5.

Special Logic




Technical Specification


If a input numeric variable is not then move the value to the corresponding return variable.

Always return a '1' in the Error flag.




^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcRetrieveUDCPayPeriods

DBACalcRetrieveUDCPayPeriods

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to retrieve the number of pay periods from the UDC table. 

Setup Notes and Prerequisites


The Numbers must be passed in through String Variable 1.

Special Logic




Technical Specification


UDC is retrieved 06/PF with the String Variable 1 as the Code. The number from the second description 

is converted to a numeric. If the UDC is not found or if the computed numeric value is zero, then the 

returned number of pay periods is 1. 

 Always return a '1' in the Error flag.




^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcRoundDecimals

DBACalcRoundDecimals

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to truncate decimalsby rounding.

Setup Notes and Prerequisites


The Numbers must be passed in through Numeric Variable 1.

Special Logic




Technical Specification


This function will truncate a numeric values decimals. Rounding IS performed 

 Always return a '1' in the Error flag.





^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcRoundDownto2Decimals

DBACalcRoundDownto2Decimals

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcSub

DBACalcSub

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to Subtract one value from another.


Setup Notes and Prerequisites


The Numbers must be passed in through Numeric Variable 1 and Numeric Variable 2.
Special Logic




Technical Specification


This function subtracts Variable 2 from Variable 1 giving Return Variable 1 

Always return a '1' in the Error flag.





^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcTruncateDecimals

DBACalcTruncateDecimals

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to truncate decimals.

Setup Notes and Prerequisites


The Numbers must be passed in through Numeric Variable 1.

Special Logic




Technical Specification


This function will truncate a numeric values decimals. NO Rounding is performed 

 Always return a '1' in the Error flag.



^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcWorkersComp

DBACalcWorkersComp

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBACalcYearDifference

DBACalcYearDifference

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBAIfLessThanThenMove

DBAIfLessThanThenMove

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBANetCalc

DBANetCalc

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is perform the NET calculations for Prepayroll

Setup Notes and Prerequisites



Special Logic




Technical Specification


This Function performs the NET Calculations for Pre-Payroll. It will return the GPA, PHRW, PHRT, 

BHRT, PBRT Values

^

Data Structure

DN0700003A - DS - Net DBA Calculations

Parameter NameData ItemData TypeReq/OptI/O/Both
cDeductionBasisDESQDESQcharOPTNONE

A user defined code (07/DB) that specifies the basis of a deduction, benefit, or accrual. When the system calculates the gross amount for 
disposable net wages, it does not use the basis of calculation. The gross amount includes all earnings that have a positive effect on the gross 
and net payment. For wage attachments use one of the following codes: 1-8 Garnishment, tax levy, wage assignment (child support and 
maintenance)   R Loan, interest   0 Fees Note:  When using the following codes (L = Prior Year, I= Inception to Date or P = Prior Month), it is required to 
roll over pdba amounts at year end for any pdba code that is included in the basis of calculation.  Rollover (P07390) is required to create 
historical summary records (F06145 or F06146) in the new year that summarize amounts used for these calculations.

cDeductionBenefitMethodDEDMDEDMcharOPTNONE

A user defined code (07/DM) that specifies the method that the system uses to perform certain calculations. For example, the system uses 
a method of calculation to calculate deductions, benefits, and accruals (DBAs) and workers' compensation insurance.

cOptionalStateCalcuCALCCALCcharOPTNONE

A code that specifies whether the system calculates a DBA in the absence of gross pay.  Valid values are: Y Yes, calculate this DBA when 
an employee has no gross pay, and no PDBA codes exist in the basis of calculation. N No, do not calculate this DBA when an employee has 
no gross pay, and no PDBA codes exist in the basis of calculation.  Note:  When an employee has no gross pay, the system calculates the 
DBA when the following conditions exist:    o Calculate if no gross is set to Y.    o Source of calculation is set to G.    o Method of calculation is set 
to $. The system then records the resulting amount in arrears and performs one of the following functions:    o Creates an overpayment for a 
deduction.    o Calculates it as a benefit or an accrual. Note:  If PDBA codes exist in the basis of calculation, the system attempts to calculate the 
DBA regardless of this setting. 

mnAmountMaximumNetPayYANMAXMATH_NUMERICOPTNONE

The lowest amount to be generated as a check, bank advice, or payslip. The system does not allow zero amount checks if you have 
specified a minimum check amount. You can leave this field blank. Generally, this field's value will specify the minimum amount that must be paid 
to the employee.

mnAmountMaximumNetPayYDNMAXMATH_NUMERICOPTNONE

The lowest amount to be generated as a check, bank advice, or payslip. The system does not allow zero amount checks if you have 
specified a minimum check amount. You can leave this field blank. Generally, this field's value will specify the minimum amount that must be paid 
to the employee.

mnAmountNetPayNPAYMATH_NUMERICOPTNONE

The net amount of the payment. Before the net-deduction phase of the pre-payroll process runs, this amount equals gross pay, less taxes, 
less deductions that are based on gross pay. After the net-deduction phase, this amount represents the true net pay. For additional information 
that is related to this calculation process, see data items NPY1 and DESQ.

mnAmountNetPay_1NPAYMATH_NUMERICOPTNONE

The net amount of the payment. Before the net-deduction phase of the pre-payroll process runs, this amount equals gross pay, less taxes, 
less deductions that are based on gross pay. After the net-deduction phase, this amount represents the true net pay. For additional information 
that is related to this calculation process, see data items NPY1 and DESQ.

mnAmountNetPay_2NPAYMATH_NUMERICOPTNONE

The net amount of the payment. Before the net-deduction phase of the pre-payroll process runs, this amount equals gross pay, less taxes, 
less deductions that are based on gross pay. After the net-deduction phase, this amount represents the true net pay. For additional information 
that is related to this calculation process, see data items NPY1 and DESQ.

mnAmtOrRateRTAMRTAMMATH_NUMERICOPTNONE

A value that is a percentage, a monetary amount, or an hourly rate, depending on where it is used.  Valid values are: 1 For a deduction, 
benefit, or accrual, the meaning of this value depends on the method of calculation.  The method determines whether the deduction is a flat 
monetary amount, a percentage, or a multiplication rate.  Table method DBAs, depending on which table method they use, can either use this 
amount in the calculation or ignore it.  If there are exceptions to the table calculation, you can override the table code in the detail area, set up a 
flat monetary DBA amount, or override the amount with a one-time override for a timecard. 2 For a pay type, amounts entered in this field 
override the hourly rate. 

mnAmtGrossPayGPAGPAMATH_NUMERICOPTNONE

The actual gross pay amount for an employee. This amount is to be distinguished from the distributed gross pay amount used for labor 
distribution. See data item DPAY. When using Work Order Time Entry, this field is used to record miscellaneous pay for an employee, (for 
example, piece rate bonus).

mnHoursWorkPHRWPHRWMATH_NUMERICOPTNONE

The number of hours associated with each transaction.

mnRtBaseHourlyBHRTBHRTMATH_NUMERICOPTNONE

This is the employee's base hourly rate as retrieved from either the Employee Master or the Union Rates Table.  This number would not be 
modified by multipliers, differentials, etc. It is saved in the time entry file (F0611) for the express purpose of being able to account for 
premium pay separate from base pay.  (See also: HRT, PWRT, BRT) ***Important Note*** If you change the number of DATA DISPLAY DECIMAL 
digits for the field "PHRT", "SHRT" you MUST also change this field's data display decimals to be the same number.

mnRtDistributionOrBillPBRTPBRTMATH_NUMERICOPTNONE

A number that specifies the rate that the system uses to bill for labor services. This rate is often referred to as the billing or recharge rate. 
The system charges the resulting amount, based on this rate, to the primary distribution account for the timecard. The system also enters an 
offset to an account that is derived from automatic accounting instructions. This rate does not affect employee payroll. To allow billing rates in 
time entry, the employee record type must be set to 2 (payroll and recharge processing) or 3 (recharge processing only) with the Employee 
Payroll program (P0801PRL).

mnRtHourlyPHRTPHRTMATH_NUMERICOPTNONE

The employee's hourly rate, which is retrieved during time entry. If you enter a rate in this field on any other form, that rate can override the 
value in the Employee Master table. In the Employee Master table, this number is the employee's base hourly rate. In the Union Rates table, it 
is the straight time rate. NOTE: If you change the number of the data display decimal digits for this field, you must also change fields Rate - 
Base Hourly (BHRT) and Rate - Hourly (SHRT) so that they have exactly the same number of data display decimal digits.

mnArrearageAmountARRAARRAMATH_NUMERICOPTNONE

The amount of the deduction that is being or has been reduced because the employee did not receive wages that could cover the payroll 
taxes and deductions calculated within the payroll cycle.

Related Functions

None

Related Tables

None
DBARetrieveDDDefault

DBARetrieveDDDefault

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBASpecialDEDM4DD

DBASpecialDEDM4DD

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is to perform the DEDM 4, PRUM DD calc Function.


Setup Notes and Prerequisites


This is a special function only used by this one calculation

Special Logic




Technical Specification



^

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBASpecialTableCalcs

DBASpecialTableCalcs

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Data Structure

DN0700003 - DBA Calculation Generic Functions


^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSecondaryTableSTABcharOPTBOTH

A code that specifies the method under which the DBA is to be calculated.  This calculation table serves as the secondary calculation table 
for the system.  You must enter a code in this field if you enter a code in the secondary method field.

cSubsequentDedMethodDEDScharOPTBOTH

A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs.

cHardSoftErrorFlagER2charOPTOUTPUT

Hard/Soft Error Flag

mnVariableName01GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName02GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName03GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName04GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName05GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName06GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName07GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName08GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName09GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName10GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName11GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName12GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName13GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName14GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName15GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName16GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName17GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName18GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName19GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnVariableName20GNUM5MATH_NUMERICOPTINPUT

This field is used for Numeric Specification Data.

mnReturnResult01GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult02GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult03GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult04GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult05GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult06GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult07GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult08GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult09GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult10GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult11GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult12GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult13GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult14GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult15GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult16GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult17GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult18GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnReturnResult19GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

mnRetrunResult20GNUM5MATH_NUMERICOPTOUTPUT

This field is used for Numeric Specification Data.

cCharVariable01Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable02Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable03Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
tion and End Position when the 
attribute value does not fill the position.

cCharVariable04Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharVariable05Q1charOPTINPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn01Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn02Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn03Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn04Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

cCharReturn05Q1charOPTOUTPUT

The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the 
attribute value does not fill the position.

szStringVariable01DS40charOPTINPUT

A 40-character description.

szStringVariable02DS40charOPTINPUT

A 40-character description.

szStringVariable03DS40charOPTINPUT

A 40-character description.

szStringVariable04DS40charOPTINPUT

A 40-character description.

szStringVariable05DS40charOPTINPUT

A 40-character description.

szStringReturn01DS40charOPTOUTPUT

A 40-character description.

szStringReturn02DS40charOPTOUTPUT

A 40-character description.

szStringReturn03DS40charOPTOUTPUT

A 40-character description.

szStringReturn04DS40charOPTOUTPUT

A 40-character description.

szStringReturn05DS40charOPTOUTPUT

A 40-character description.

jdDate1UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate2UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate3UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate4UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

jdDate5UPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

Related Functions

None

Related Tables

None
DBANetCalc

DBANetCalc

DBA Generic Calculation Functions

Minor Business Rule

Object Name: N0700003

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


This is a Generic Function used by the Pre-Payroll DBA Calculation Function.

The Purpose of this function is perform the NET calculations for Prepayroll

Setup Notes and Prerequisites



Special Logic




Technical Specification


This Function performs the NET Calculations for Pre-Payroll. It will return the GPA, PHRW, PHRT, 

BHRT, PBRT Values

^

Data Structure

DN0700003A - DS - Net DBA Calculations

Parameter NameData ItemData TypeReq/OptI/O/Both
cDeductionBasisDESQDESQcharOPTNONE

A user defined code (07/DB) that specifies the basis of a deduction, benefit, or accrual. When the system calculates the gross amount for 
disposable net wages, it does not use the basis of calculation. The gross amount includes all earnings that have a positive effect on the gross 
and net payment. For wage attachments use one of the following codes: 1-8 Garnishment, tax levy, wage assignment (child support and 
maintenance)   R Loan, interest   0 Fees Note:  When using the following codes (L = Prior Year, I= Inception to Date or P = Prior Month), it is required to 
roll over pdba amounts at year end for any pdba code that is included in the basis of calculation.  Rollover (P07390) is required to create 
historical summary records (F06145 or F06146) in the new year that summarize amounts used for these calculations.

cDeductionBenefitMethodDEDMDEDMcharOPTNONE

A user defined code (07/DM) that specifies the method that the system uses to perform certain calculations. For example, the system uses 
a method of calculation to calculate deductions, benefits, and accruals (DBAs) and workers' compensation insurance.

cOptionalStateCalcuCALCCALCcharOPTNONE

A code that specifies whether the system calculates a DBA in the absence of gross pay.  Valid values are: Y Yes, calculate this DBA when 
an employee has no gross pay, and no PDBA codes exist in the basis of calculation. N No, do not calculate this DBA when an employee has 
no gross pay, and no PDBA codes exist in the basis of calculation.  Note:  When an employee has no gross pay, the system calculates the 
DBA when the following conditions exist:    o Calculate if no gross is set to Y.    o Source of calculation is set to G.    o Method of calculation is set 
to $. The system then records the resulting amount in arrears and performs one of the following functions:    o Creates an overpayment for a 
deduction.    o Calculates it as a benefit or an accrual. Note:  If PDBA codes exist in the basis of calculation, the system attempts to calculate the 
DBA regardless of this setting. 

mnAmountMaximumNetPayYANMAXMATH_NUMERICOPTNONE

The lowest amount to be generated as a check, bank advice, or payslip. The system does not allow zero amount checks if you have 
specified a minimum check amount. You can leave this field blank. Generally, this field's value will specify the minimum amount that must be paid 
to the employee.

mnAmountMaximumNetPayYDNMAXMATH_NUMERICOPTNONE

The lowest amount to be generated as a check, bank advice, or payslip. The system does not allow zero amount checks if you have 
specified a minimum check amount. You can leave this field blank. Generally, this field's value will specify the minimum amount that must be paid 
to the employee.

mnAmountNetPayNPAYMATH_NUMERICOPTNONE

The net amount of the payment. Before the net-deduction phase of the pre-payroll process runs, this amount equals gross pay, less taxes, 
less deductions that are based on gross pay. After the net-deduction phase, this amount represents the true net pay. For additional information 
that is related to this calculation process, see data items NPY1 and DESQ.

mnAmountNetPay_1NPAYMATH_NUMERICOPTNONE

The net amount of the payment. Before the net-deduction phase of the pre-payroll process runs, this amount equals gross pay, less taxes, 
less deductions that are based on gross pay. After the net-deduction phase, this amount represents the true net pay. For additional information 
that is related to this calculation process, see data items NPY1 and DESQ.

mnAmountNetPay_2NPAYMATH_NUMERICOPTNONE

The net amount of the payment. Before the net-deduction phase of the pre-payroll process runs, this amount equals gross pay, less taxes, 
less deductions that are based on gross pay. After the net-deduction phase, this amount represents the true net pay. For additional information 
that is related to this calculation process, see data items NPY1 and DESQ.

mnAmtOrRateRTAMRTAMMATH_NUMERICOPTNONE

A value that i