GetF31122RecordsForPayroll

Get F31122 records for Payroll Time Entry - MFG

Minor Business Rule

Object Name: N3101045

Parent DLL: CMFGBASE

Location: Client/Server

Language: NER


Get F31122 Records For Payroll Time Entry


Purpose of Business Function

Get F31122 records for Payroll Time Entry function is designed to support display of records on the Time Entry Revisions form.  One record of 
the Payroll Time Entry grid can correspond to up to 3 records of the Work Order Time Transactions table (F31122).  There is a one-to-many 

relationship between Payroll Time Entry grid and F31122.  The purpose of the function is to find correct set of records and return the necessary fields to 

the Payroll Time Entry grid.  


The function supports displaying of all Hours and Quantities records related to a selected payroll transaction number.  For example, if the 
selected transaction is transaction number 45 which has information about Labor Hours, Quantity completed and Equipment worked, then three records 

with transaction number 45 will be fetched from F31122 and corresponding fields of Payroll Time Entry grid will be populated.    


Special Logic


•   Select all records that correspond to Payroll Transaction Number.
•   Fetch records sequentially and depending on TypeOfHours assign it to the corresponding 
paramter


Data Structure

D3101045 - Get F31122 records for Payroll Time Entry - MFG

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumber_DOCODOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

mnEmployeeNumber_AN8AN8MATH_NUMERICOPTNONE

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

mnOperationSeqNumber_OPSQOPSQMATH_NUMERICOPTNONE

A number used to indicate an order of succession. In routing instructions, a number that sequences the fabrication or assembly steps in the 
manufacture of an item. You can track costs and charge time by operation. In bills of material, a number that designates the routing step in the 
fabrication or assembly process that requires a specified component part. You define the operation sequence after you create the routing 
instructions for the item. The Shop Floor Management system uses this number in the backflush/preflush by operation process. In engineering 
change orders, a number that sequences the assembly steps for the engineering change. For repetitive manufacturing, a number that 
identifies the sequence in which an item is scheduled to be produced. Skip To fields allow you to enter an operation sequence that you want to begin 
the display of information. You can use decimals to add steps between existing steps. For example, use 12.5 to add a step between steps 
12 and 13.

cTypeOfHours_TYRTYRcharOPTNONE

A code that indicates the type of time entered. Valid values are:    1   Run Labor Hours    2   Setup Labor Hours    3   Machine Hours    4   
Quantities Completed    5   Quantities Scrapped    9   Miscellaneous (such as piece rate bonus)

cShiftCode_SHFTSHFTcharOPTNONE

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.

mnHoursWorked_HRWHRWMATH_NUMERICOPTNONE

The number of hours associated with each transaction.

mnEquipmentHours_HREQHREQMATH_NUMERICOPTNONE

The number of hours the unit/rig was operated.

szUnitNumber_APIDAPIDcharOPTNONE

A 12-character alphanumeric code used as an alternate identification number for an asset. This number is not required, nor does the 
system assign a number if you leave the field blank when you add an asset. If you use this number, it must be unique. For equipment, this is 
typically the serial number.

mnUnitsQuantity_SOQSSOQSMATH_NUMERICOPTNONE

The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this 
item. In the Manufacturing system and Work Order Time Entry, this field can indicate completed or scrapped quantities. The quantity type is 
determined by the type code entered.

szUnitOfMeasure_UOMUOMcharOPTNONE

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

szOperationStatusCodeWo_OPSTOPSTcharOPTNONE

User defined code system 31, type OS. The operation status code that identifies the current status of a work order or engineering change 
order as the operation steps in the routing are completed.

mnBillingRateEquipment_EBRTEBRTMATH_NUMERICOPTNONE

A code that represents the amount that you want to charge the job. Each piece of equipment can have numerous billing rates based on the 
rate code. The equipment billing rate can be composed of up to ten different rates. For example: Billing Rate = 200        100 Rate 1 (Ownership 
Component)         25 Rate 2 (Operating Component)         50 Rate 3 (Maintenance Component)         25 Rate 4 (Other Costs Component) When 
you post time entries to the general ledger, the system recognizes credits in revenue accounts for each of the rate components. This allows 
you to separate portions of the equipment billing by type of cost. Note: You are not required to use rate components.

jdWorkDate_DGLDGLJDEDATEOPTNONE

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

mnShortItemNumber_KITKITMATH_NUMERICOPTNONE

The system provides for three separate item numbers.    1.   Item Number (short) - An eight-digit, computer assigned, completely 
non-significant item number.    2.   2nd Item Number - The 25-digit, free form, user defined alphanumeric item number.    3.   3rd Item Number - Another 
25-digit, free form, user defined alphanumeric item number.

sz2ndItemNumber_KITLKITLcharOPTNONE

The system provides for three separate item numbers.    1.   Item Number (short) - An eight-digit, computer assigned, completely 
non-significant item number.    2.   2nd Item Number - The 25-digit, free form, user defined alphanumeric item number.    3.   3rd Item Number - Another 
25-digit, free form, user defined alphanumeric item number. This is used in a parts list as either a parent or component number. In the Equipment 
Management system, this item is used for memo purposes only.

sz3rdItemNumber_KITAKITAcharOPTNONE

The system provides three separate item numbers:    1. Item Number (short) - An eight-digit, computer assigned, completely non-significant 
item number.    2. 2nd Item Number - The 25-digit, free form, user defined alphanumeric item number.    3. 3rd Item Number - Another 25-digit, 
free form, user defined alphanumeric item number.

mnUKIDEquip_UKID3UKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

mnUKIDQty_UKID2UKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

mnUKIDHours_UKID1UKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

mnPayrollTransNum_PRTRPRTRMATH_NUMERICOPTNONE

A unique number that the system assigns to each timecard. You can use this field in the Time Entry By Job program to retrieve a specific 
timecard for display. This field is also used to tie a timecard to each Actual Burden audit record created for the timecard during the Actual 
Burden Journaling process.

mnBatchNumber_ICUICUMATH_NUMERICOPTNONE

A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either 
assign a batch number or let the system assign it using the Next Numbers program.

szOrderType_DCTODCTOcharOPTNONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szBusinessUnit_MCUMCUcharOPTNONE

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.

szCompany_COCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

szReasonCode_RCDRCDcharOPTNONE

A user defined code (42/RC) that explains the purpose for a transaction. For example, you can indicate the reason that you are returning 
items.

Related Functions

None

Related Tables

None