ScrubandEditShiftDifferential

Scrub and Edit Shift Differential

Minor Business Rule

Object Name: N0500008

Parent DLL: CFND

Location: Client/Server

Language: NER

Functional Description
The purpose of this Named ER is to retrieve the shift differential, calculation method, and shift diff calc sequence.

Setup Notes




Technical Specifications


Parameters


Data Item        Data Structure DescriptionI/O    RequiredTableNotes
SHFT                      Shift Code             I

SHD                        Shift Differential   O

LD                     Calculation MethodO

CMTH       Shift Diff Calc Sequence     O?? Which file?? F06116, F069116, etc

MCU           Cost Center            I

UN              Union Code                I

DWK         Date Worked




Related Tables 


Table Table Description
F069116Transaction Parameters

F069246Shift Table


Processing


1.Scrub and edit - Amount - Shift Differential


The shift differential (SHD) is either based on an amount per hour or on a percentage multiplier. The default is amount per hour. Additionally, an 

override amount is always an amount per hour as is a shift differential retrieved from the Pay Rates Table. Therefore, move in default of "H" to LD 

(Calculation Method) if it is blank.


If there is no shift code (SHFT = Blank) and no override shift differential (SHD = blank) move in values from the pay type file (F069116).


If SHFT /= blank and SHD /= blank and CMTH is blank, move '1' to CMTH.


If there is a Shift code (SHFT /= blank) and SHD = blank, retrieve shift differential from F069246 (Shift Differential Table). 


To retrieve the Shift differential, fetch from F069246 using the following hierarchy:


Keys for F069246:SHFT  Shift Code

MCU  - Business Unit

UN     - Union Code

EFTE  End Effective Date


Load the key using the following columns:


1st Fetch;SHFT  - must match

MCU  - must match

UN     - must match 

 DWK   any record equal to or greater than

If not successful,

2nd Fetch:SHFT  must match

MCU  must match

Blanks

DWK - any record equal to or greater than

If not successful,

3rd Fetch:SHFT  must match

Blanks

UN  must match

DWK - any record equal to or greater than

If not successful,

4th Fetch:SHFT  must match

Blanks

Blanks

DWK - any record equal to or greater than


When a fetch is successful, update SHD, CMTH and LD from F069246.   If it is unsuccessful, move '0' to SHD, '1' to CMTH and 'H' to LD (default 

values).




^

Data Structure

DN050008 - Scrub and Edit Shift Differential

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

mnAmtShiftDifferentialSHDMATH_NUMERICNONENONE

An additional rate, expressed in dollars or percent, added to an employee's hourly rate, depending on the shift worked. This rate can be 
applied in one of two ways, as defined by the Shift Differential Calculation Sequence (data item CMTH).

cPercentOrAmountCodeLDcharNONENONE

A code that specifies whether Shift Differential contains an hourly rate or a percentage. Valid values are: H The system adds the amount in 
Shift Differential to the hourly rate. % The amount in Shift Differential is a percentage of the hourly rate that the system adds to the hourly rate.

cShiftDiffCalcSequenceCMTHcharNONENONE

A code that specifies how the system should calculate shift differential.    1       The pay type multiplier is applied to the shift differential: Gross 
= (rate + shift differential) x (multiplier) x hours.    2       The pay type multiplier is applied only to the hourly rate and does not include the shift 
differential: Gross = (rate x multiplier) + (shift differential) x hours.    Blank The system follows the shift differential method that is associated with the 
pay type from the Pay Type table (F069116). The multiplier is the pay rate multiplier from the Pay Type table (F069116). When the pay rate is 
derived from the Union Rate table, the multiplier is assumed to be 1 as it is built into the table. In this case, all methods produce the same 
result.

szCostCenterMCUcharNONENONE

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.

szUnionCodeUNcharNONENONE

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

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.

jdDtWorkJulianDWKJDEDATENONENONE

The date used as the actual work date or pay-period ending date.

mnJobnumberJOBSMATH_NUMERICOPTNONE

The job number (work station ID) which executed the particular job.

Related Functions

None

Related Tables

None