UpdatePayrollLockoutCode

Update Payroll Lockout Code

Master Business Function

Object Name: N0500020

Parent DLL: CFND

Location: Client/Server

Language: NER

Functional Description

This NER will be called when the calling program has determined that a changed record is included in an active pre-payroll run and the changes affect 
gross to net pay calculations.


The purpose of this NER is twofold: 


1 -  It will update the employee record in the Payroll Lockout File (F07300) indicating that the employee is to be included in a changes only payroll run.

2 -  It will update the appropriate Payroll Cycle Parameter File record (F07210) with a status indicating that one or more employees locked to the payroll 

has changed data that could affect gross to net pay calculations.   This will force the a changes only run for this pre-payroll.



SetUp Notes


Technical Specifications


Parameters


Data Item            Data Structure DescriptionI/ORequiredTableNotes
AN8        MnAddressNumberIY

PAYDMnPayroll IDIY 



AN8 and PAYD are the keys to the F07300 file.  By passing these parameters the record to be updated is accessed, updating the Update flag (UFLG)  with 

'1', indicating that this employee is to be included in a changes only pre-payroll run.  

PAYD is the single key to the F07210 file.  By passing this parameter, the appropriate payroll ID is accessed and is updated with a  'A' in the Status 

(YST1) field, indicating that this payroll has changed employee records associated with it and the pre-payroll must be run again. 




Related Tables 


Table Table Description
F07300Employee Lockout Code File

F07210Payroll Cycle Parameter File


Processing 


Data Structure

DN0500020 - Update Payroll Lockout Code

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szPayrollIDPAYDcharOPTINPUT

A code that identifies a group of employees for whom you are processing payroll. Use this ID to process each step of the payroll 
cycle. This code is also used to identify the interim ID that you select when you enter interim payments.

Related Functions

None

Related Tables

None