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.
^
DN0700003 - DBA Calculation Generic Functions
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szSecondaryTable | STAB | char | OPT | BOTH |
A code that specifies the method under which the DBA is to be calculated. This calculation table serves as the secondary calculation table
| ||||
cSubsequentDedMethod | DEDS | char | OPT | BOTH |
A user defined code (system 06, type DS) that indicates what method is used for the calculation of DBAs. | ||||
cHardSoftErrorFlag | ER2 | char | OPT | OUTPUT |
Hard/Soft Error Flag | ||||
mnVariableName01 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName02 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName03 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName04 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName05 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName06 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName07 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName08 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName09 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName10 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName11 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName12 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName13 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName14 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName15 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName16 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName17 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName18 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName19 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnVariableName20 | GNUM5 | MATH_NUMERIC | OPT | INPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult01 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult02 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult03 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult04 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult05 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult06 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult07 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult08 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult09 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult10 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult11 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult12 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult13 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult14 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult15 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult16 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult17 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult18 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnReturnResult19 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
mnRetrunResult20 | GNUM5 | MATH_NUMERIC | OPT | OUTPUT |
This field is used for Numeric Specification Data. | ||||
cCharVariable01 | Q1 | char | OPT | INPUT |
The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the
| ||||
cCharVariable02 | Q1 | char | OPT | INPUT |
The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the
| ||||
cCharVariable03 | Q1 | char | OPT | INPUT |
The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the
| ||||
cCharVariable04 | Q1 | char | OPT | INPUT |
The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the
| ||||
cCharVariable05 | Q1 | char | OPT | INPUT |
The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the
| ||||
cCharReturn01 | Q1 | char | OPT | OUTPUT |
The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the
| ||||
cCharReturn02 | Q1 | char | OPT | OUTPUT |
The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the
| ||||
cCharReturn03 | Q1 | char | OPT | OUTPUT |
The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the
| ||||
cCharReturn04 | Q1 | char | OPT | OUTPUT |
The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the
| ||||
cCharReturn05 | Q1 | char | OPT | OUTPUT |
The character that the system uses to fill the position defined by the difference between the Begin Position and End Position when the
| ||||
szStringVariable01 | DS40 | char | OPT | INPUT |
A 40-character description. | ||||
szStringVariable02 | DS40 | char | OPT | INPUT |
A 40-character description. | ||||
szStringVariable03 | DS40 | char | OPT | INPUT |
A 40-character description. | ||||
szStringVariable04 | DS40 | char | OPT | INPUT |
A 40-character description. | ||||
szStringVariable05 | DS40 | char | OPT | INPUT |
A 40-character description. | ||||
szStringReturn01 | DS40 | char | OPT | OUTPUT |
A 40-character description. | ||||
szStringReturn02 | DS40 | char | OPT | OUTPUT |
A 40-character description. | ||||
szStringReturn03 | DS40 | char | OPT | OUTPUT |
A 40-character description. | ||||
szStringReturn04 | DS40 | char | OPT | OUTPUT |
A 40-character description. | ||||
szStringReturn05 | DS40 | char | OPT | OUTPUT |
A 40-character description. | ||||
jdDate1 | UPMJ | JDEDATE | OPT | NONE |
The date that specifies the last update to the file record. | ||||
jdDate2 | UPMJ | JDEDATE | OPT | NONE |
The date that specifies the last update to the file record. | ||||
jdDate3 | UPMJ | JDEDATE | OPT | NONE |
The date that specifies the last update to the file record. | ||||
jdDate4 | UPMJ | JDEDATE | OPT | NONE |
The date that specifies the last update to the file record. | ||||
jdDate5 | UPMJ | JDEDATE | OPT | NONE |
The date that specifies the last update to the file record. |
None |
None |