1.Functional Description
This business function will insert a new record or update the Labor Variance Amount in the F31UI427 
Labor Variance User Index table based on the Cost Center, Object Acct, Subsidiary Acct, Work Order 
Number, Work Order Type and GL Category.
1.1Purpose
This is to print the Labor Variance Summary Report - Summarised by AAI Account Information.
1.2Setup Notes and Prerequisites
None.
1.3Special Logic
None.
2.Technical Specifications
2.4Processing
The following actions have to be performed by the Business Function.
1. Open Tables
 Open F31UI427. If Error, Exit business function with Error Message = '3143'
2. Update the User Index
 Read F31UI427 using Input JOBS, CTID, MCU, OBJ, SUB, DOCO, DCTO and GLPT as key
 If found
 Add Input VARA to F31UI427 Var Amount
 Update the row in the table
 Else
 Write F31UI427 row.
 Endif
D3100940 - F31UI427 Update User Index
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| mnJobnumber | JOBS | MATH_NUMERIC | NONE | NONE | 
The job number (work station ID) which executed the particular job.  | ||||
| szComputerid | CTID | char | NONE | NONE | 
| szCostcenter | MCU | char | NONE | NONE | 
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
  | ||||
| szObjectaccount | OBJ | char | NONE | NONE | 
The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into 
  | ||||
| szSubsidiary | SUB | char | NONE | NONE | 
A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account.  | ||||
| mnWorkOrderNumber | DOCO | MATH_NUMERIC | NONE | NONE | 
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
  | ||||
| szOrdertype | DCTO | char | NONE | NONE | 
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 
  | ||||
| szGlcategory | GLPT | char | NONE | NONE | 
A user defined code (41/9) that identifies the G/L offset that system uses when it searches for the account to which it posts the transaction. If 
  | ||||
| szWOBranch | MMCU | char | NONE | NONE | 
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
  | ||||
| szWorkCenter | CMCU | char | NONE | NONE | 
A secondary or lower-level business unit. The system uses the value that you enter to indicate that a branch or plant contains several 
  | ||||
| mnAmountVariance | VARA | MATH_NUMERIC | NONE | NONE | 
The variance amount of an inventory transaction for an inventory item.  | ||||
| cSuppressErrorMsg | EV01 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| szErrorMessageId | DTAI | char | NONE | NONE | 
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
  | ||||
| None | 
| None |