PayRateTableServer

Pay Rate Table Server

Minor Business Rule

Object Name: N0800027

Parent DLL: CFND

Location: Client/Server

Language: NER

Functional Description
The purpose of the Named ER is to retrieve the pay rate record (F069126) using a hierarchy.  There are 8 levels in the 

hierarchy.

   

     1     2    3    4   5    6    7    8

Union     x     x    x    x   x   x    x     x

BU     x     x    x    x

Shift     x     x   x   x

Job Type     x    x   x     x

Job Step     x    x   x     x


The server returns a return code of 1 if the pay rate table record is found.


Setup Notes


Note:  The returned value of  the required parameters (namely, Union, Shift, Job Type, Job Step and Business Unit) may 

not be the same as the passed values, as the returned values reflect the values from the actual pay rate table record 

retrieved based on the hierarchy. 



Technical Specifications


Parameters


Data Item Data Structure DescriptionI/ORequiredTableNotes

UNUnion CodeI/OYF069126Input and Output.

MCUBusiness UnitI/OYF069126Input and Output..

SHFTShift CodeI/OYF069126Input and Output. 

JBCDJob TypeI/OYF069126Input and Output..

JBSTJob StepI/OYF069126Input and Output..

EFTOEffective DateINIf Effective date is not passed in, today's 

date is used.

PHRTHourly RateONF069126

PBRTBilling RateONF069126

LFLabor Distr. MultiplierONF069126

LMTHLabor Distr. MethodONF069126

PPRTPiecework RateONF069126

WAGDWage Decision NumberONF069126

OH1Overtime RateONF069126

OH2Double Time RateONF069126

OH3Triple Time RateONF069126

OH4Holiday RateONF069126

OBJObject AccountONF069126

WCMPWorker Comp CodeONF069126

OR1Billing Overtime RateONF069126

OR2Billing Double Time RateONF069126

OR3Billing Triple Time RateONF069126

OR4Billing Holiday RateONF069126

B2RTBurden RateONF069126

OU1Overtime Burden Rate 2ONF069126

OU2DoubleTime Burden Rate2ONF069126 

OU3Triple Time Burden Rate2

OU4Holiday Burden Rate 2ONF069126

OT1Overtime RateONF069126

OT2Double Time RateONF069126

OT3Triple Time RateONF069126

OT4Holiday RateONF069126

BDRTRecharge Burden RateONF069126

WETWorker Comp-SubclassONF069126

RBOBRecharge Burden ObjectONF069126

RBO2Recharge Burden Object2ONF069126

EFTBBeginning Effective dateONF069126

EFTEEnding Effective dateONF069126

EV01Return CodeONReturn code =1 = Pay rate found ;  Return code = 0 

= rate not found.

Related Tables 


Table Table Description

F069126Pay Rate (Union) Table


Processing


1. Save all the original values of  parameters passed in variables:
           PassedUnion = BF  Union

           PassedBU= BF  BU

           PassedJobType= BF  Job Type

           PassedJobStep= BF  Job Step

           PassedShift= BF  Shift Code

2. If effective date (EFTO) is not passed in, EFTO = Today's Date
3. Initialize variables:

    Return Code (EV01) = '0'

    Hierarchy Number Variable = 1

4. While the Hierarchy Number Variable <9 and Return code <> 1 (rate not found),
             a.  SearchFlag = '0'

             b. If Hierarchy Number Variable =1,

                     Search Flag = '1'

                  End

                

              c.  If Hierarchy Number Variable = 2,

                       BF  Job Type = ' '

                       BF  Job Step = ' '

                       If PassedJobType <> Blank or PassedJobStep <> Blank,

                                Search Flag = '1'

                  End


              d.  If Hierarchy Number Variable = 3,

                       BF  Shift = ' '

                       BF  Job Type = PassedJobType

                       BF  Job Step = PassedJobStep

                       If PassedShift <> Blank, Search Flag = '1'

                    End


              e.  If Hierarchy Number Variable = 4,

                        BF  Job Type = ' '

                        BF  Job Step = ' '

                        If PassedShift <> Blank,

                               If PassedJobType <> Blank or PassedJobStep <> Blank, 

                                     SearchFlag = '1'

                    End


              f.  If Hierarchy Number Variable=5,

                       BF  BU = ' '

                       BF  Shift = PassedShift      

                       BF  Job Type = PassedJobType

                       BF  Job Step = PassedJobStep

                       If PassedBU <> Blank,  SearchFlag = '1'

                   End


              g.  If Hierarchy Number = 6,

                       BF  Job Type = ' '

                       BF  Job Step = ' '

                       If PassedBU <> Blank,

                             If PassedJobType <> Blank or PassedJobStep <> Blank,

                                  SearchFlag = '1'

                   End


              h.  If Hierarchy Number Variable = 7,

                       BF  Shift = ' '

                       BF  Job Type = PassedJobType

                       BF  Job Step = PassedJobStep

                       If PassedBU <> Blank AND PassedShift <> Blank,

                                SearchFlag = '1'

                  End

 

              i.  If Hierarchy Number Variable = 8,

                        BF  Job Type = ' '

                        BF  Job Step = ' '

                        If PassedBU <> Blank AND PassedShift <> Blank,

                              If PassedJobType <> Blank or PassedJobStep <> Blank,

                                   SearchFlag = '1'

                 End


j. If SearchFlag = '1', 

                      - Select F069126 based on the Passed Values of UN, BU, SHFT, JBCD, JBST                  
                         preset by the hierarchy number variable.


         - While Read F069126 is successful and Return Code <>1,
- If the passed effective date (EFTO) >= begin effective date And passed
   effective date <= end effective date, 

                          -Return Code = 1
            

l.  If return code <>1 (record not found), increment hierarchy number variable by 1.


     EndWhile  // Hierarchy number variable Loop //


5. If NO pay rate record is found after hierarchy search is over,  restore the original passed values back  to BF 
parameters and initialize the output parameters.

                   

 



Data Structure

DN0800027 - Pay Rate Table Server

Parameter NameData ItemData TypeReq/OptI/O/Both
szUnionUNcharNONENONE

A user defined code (06/UN) that represents the union or plan in which the employee or group of employees work or participate.

szBusinessUnitMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

cShiftCodeSHFTcharNONENONE

A user defined code (00/SH) that identifies daily work shifts. In payroll systems, you can use a shift code to add a percentage or amount to 
the hourly rate on a timecard. For payroll and time entry: If an employee always works a shift for which a shift rate differential is applicable, 
enter that shift code on the employee's master record. When you enter the shift on the employee's master record, you do not need to enter the 
code on the timecard when you enter time. If an employee occasionally works a different shift, you enter the shift code on each applicable 
timecard to override the default value.

szJobTypeJBCDcharNONENONE

A user defined code (07/G) that defines the jobs within your organization. You can associate pay and benefit information with a job type and 
apply that information to the employees who are linked to that job type.

szJobStepJBSTcharNONENONE

A user defined code (07/GS) that designates a specific level within a particular job type. The system uses this code in conjunction with job 
type to determine pay rates by job in the Pay Rates table.

jdEffectiveDateEFTOJDEDATENONENONE

A future date when all changes will take effect or the date when the changes went into effect. If you do not enter a date in this field, the system 
uses the current date as the effective date.

mnRtHourlyPHRTMATH_NUMERICNONENONE

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.

mnRtDistributionOrBillPBRTMATH_NUMERICNONENONE

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).

mnLaborLoadingFactorLFMATH_NUMERICNONENONE

A multiplier to load direct labor costs with burden.  For example, a factor of 1.32 would load every dollar of labor cost with 32 cents worth of 
burden.

cLaborLoadingMethodLMTHcharNONENONE

Controls whether the labor costs include a flat burden for payroll taxes and benefits. Valid values are:    0   The flat burden factor is always 
1.0000, so the resulting amount for the flat burden is zero.    1   The flat burden factor is always greater than 1.0000, so the labor costs include a 
flat burden.

mnRtPieceworkPPRTMATH_NUMERICNONENONE

The rate paid for the type of component (piece) produced.  If you enter a rate in this field, this rate overrides the rate in the Employee Master 
file.

szWageDecisionNumberWAGDcharNONENONE

This code is used to reference the government Wage Decision that the contract pay rates fall under.

mnRateOvertimeOH1MATH_NUMERICNONENONE

The rate of pay for "regular" overtime.

mnRateDoubleTimeOH2MATH_NUMERICNONENONE

The rate of pay for "double" overtime.

mnRateTripleTimeOH3MATH_NUMERICNONENONE

The rate of pay for "triple" time.

mnRateHolidayOH4MATH_NUMERICNONENONE

The rate of pay for "holiday" overtime.

szObjectAccountOBJcharNONENONE

The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into 
subcategories. For example, you can divide the Cost Code for labor into regular time, premium time, and burden. Note: If you use a flexible chart of 
accounts and the object account is set to 6 digits, J.D. Edwards recommends that you use all 6 digits. For example, entering 000456 is not 
the same as entering 456 because if you enter 456 the system enters three blank spaces to fill a 6-digit object.

szWorkersCompInsurCodeWCMPcharNONENONE

A user defined code (00/W) that represents a workers' compensation insurance (WCI) code. This code should correspond to the 
classifications on your periodic workers' compensation insurance reports.

mnRateOvertimeBillingOR1MATH_NUMERICNONENONE

This is the employee's recharge overtime hourly rate as retrieved, entered or calculated during time entry.

mnRateDoubleTimeBillingOR2MATH_NUMERICNONENONE

This is the employee's recharge doubletime hourly rate as retrieved, entered or calculated during time entry.

mnRateTripleTimeBillingOR3MATH_NUMERICNONENONE

This is the employee's recharge triple time hourly rate as retrieved, entered or calculated during time entry.

mnRateHolidayBillingOR4MATH_NUMERICNONENONE

This is the employee's recharge holiday hourly rate as retrieved, entered or calculated during time entry.

mnRateBurdenB2RTMATH_NUMERICNONENONE

The rate to be applied to the 'variable' portion of burden.

mnRateOvertimeBurden2OU1MATH_NUMERICNONENONE

The burden rate for "regular" overtime.

mnRateDoubleBurden2OU2MATH_NUMERICNONENONE

The burden rate for "double" time.

mnRateTripleTimeBurden2OU3MATH_NUMERICNONENONE

The burden rate for "triple" time.

mnRateHolidayBurden2OU4MATH_NUMERICNONENONE

The burden rate for "holiday" time.

mnRateOvertime1OT1MATH_NUMERICNONENONE

The rate of billing for "regular" overtime.

mnRateDoubleTime1OT2MATH_NUMERICNONENONE

The rate of billing for "double" time.

mnRateTripleTime1OT3MATH_NUMERICNONENONE

The rate of billing for "triple" time.

mnRateHoliday1OT4MATH_NUMERICNONENONE

The rate of billing for "holiday" time.

mnRateBillingBurdenBDRTMATH_NUMERICNONENONE

An hourly rate to be used when charging 'burden' associated with the actual billing (recharge) amounts.

cFloatCodeWETcharNONENONE

A code that specifies any special circumstances associated with the workers compensation insurance (WCI) code, resulting in multiple 
rates for the same WCI code due to location or risk, for example. The subclass should remain blank if multiple rates do not exist. Default codes 
are: Blank There are no special circumstances associated with this code. F There are special circumstances associated with this code.

szRechargeBurdenObjectRBOBcharNONENONE

Burden Object Account - Recharge

szRechargeBurdenObject2RBO2charNONENONE

Burden Object Account - Recharge 2

jdDateBeginningEffectiveEFTBJDEDATENONENONE

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

jdDateEndingEffectiveEFTEJDEDATENONENONE

The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used 
generically throughout the system. It could be a lease effective date, a price or cost effective date, a currency effective date, a tax rate effective 
date, or whatever is appropriate.

cReturnCodeEV01charNONENONE

An option that specifies the type of processing for an event.

Related Functions

None

Related Tables

None