Functional Description
The purpose of this Named ER is to determine what the record status code is based on several possibilities.
Setup Notes
Technical Specifications
Parameters
Data Item Data Structure Description I/ORequiredTableNotes
AN8 Address Number I
USR Payroll Lockout Code I
GICU GL Batch Number I
ICC Interim Check CodeI
PDBA DBA Code I
PID Program ID I
PHRW Hours Worked I
RCOW**Record Status Code OOutput of this NER
(Timecard Inidicator)
CKCN Check Control Number ICKCN from FI value, NOT F06116
EV01 Locked Flag OWorkfield to determine if Locked label should
display in header of form..
EV01 Error Flag O
EV01 ProcessingOptionLockoutIInput from application processing option
USR F07300 User IUSR retrieved from F07300 used in determining
Record Status Code
EV01 Called From Interims FlagIFlag to determine if time entry is called from the Interims process.
** Set up DD item for this'85e.g. RCOW (#PR on AS/400)
Related Tables
Table Table Description
F069096Payroll Constant
F06116Employee Transactions Detail
Processing
1.Check record for special status using the following guidelines. Each subsequent check should override the previous. Use the specified code to
display in the status code workfield on the grid. Where noted, the record should also be locked from changes.
B73.3 will check for changes to records with status 'L'.
'Check Payroll Version Status'). The record should be locked from all changes.
(parameter list) is zeros. The record should be locked from all changes. (If the Time Entry session IS called from Interims, CKCN in the parm list will
not be zeros. Do not display the status code and do allow changes to the record.)
should be locked from all changes.
Final Update Active-"F"Final Update is active for this version (see section 'Check Payroll Version Status'). The record should be locked from
all changes.
Human Resources ---"H" - Must validate PDBA code first, set this code if data item SACC from F069116 is not equal to blank. The record
should be locked from changes.
Reversing Entry from Auto Timecard Generator ----"R" Program ID (PID) is equal to P061501 and Hours Worked (PHRW) is less than zero. The
record should be locked from changes.
Record status code will be displayed as an output only field with each grid record.
All functionality will be available with the B73.3 release.
If GICU != 0
RSC = 'P'
Lockedflag ='1'
Lockedflag ='1'
Elseif USR != blank
RSC = 'L'
Lockedflag ='1'
End
If ErrorFlag = '2' & USR != blank
RSC = 'A'
Lockedflag ='1'
Elseif ErrorFlag = '3' & USR != blank
RSC ='C'
Lockedflag ='1'
End
If USR != blank and payroll process **Not B73.2
RSC = 'A'
End
If PID = 'P061501' and PHRW <0
RSC = 'R'
End
Open/Fetch Single F069116 using PDBA
Return SACC
If SACC != blank
RSC = 'H'
End
^
DN050005 - Determine Record Status Code
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAddressNumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
mnGeneralLedgerBatch | GICU | MATH_NUMERIC | NONE | NONE |
The batch number which has been assigned to the group of Journal Entries generated in the Payroll System. This number ties the entries
| ||||
cInterimCheckCode | ICC | char | NONE | NONE |
For OneWorld:
A code that indicates one of the following conditions:
Blank The payment was processed in a regular payroll cycle.
I
| ||||
szProgramId | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
mnHoursWork | PHRW | MATH_NUMERIC | NONE | NONE |
The number of hours associated with each transaction. | ||||
cLockedFlag | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnPayDeductBenAccType_2 | PDBA | MATH_NUMERIC | NONE | NONE |
A code that defines the type of pay, deduction, benefit, or accrual.
Pay types are numbered from 1 to 999. Deductions and benefits are
| ||||
cPayrollTimecardIndicator | RCOW | char | NONE | NONE |
A code that indicates the status of a timecard related to other payroll functions.
Valid values are:
A
A step of the payroll cycle is active. This
| ||||
cErrorFlag | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cProcessingOptionLockout | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cCalledFromInterimsFlag | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
szTimecardIdentification | USER | char | OPT | NONE |
The code that identifies a user profile. | ||||
szCurrentUser | USER | char | OPT | NONE |
The code that identifies a user profile. | ||||
szPayrollLockoutIdentifi | USR | char | OPT | NONE |
This code is a combination of the IBM user ID and the batch number assigned to a prepayroll selection. It is used to prohibit one employee
| ||||
cDefaultInterimID | DEFINT | char | OPT | NONE |
An option that identifies an Interim ID as the default. You can set up one default interim ID for each Pay Cycle and Country Code
| ||||
mnCheckControlNumber | CKCN | MATH_NUMERIC | OPT | NONE |
A number used to group all payroll transactions for each payment or individual interim payment. This number is carried into the accounting
|
None |
None |