F3111ProcessMasterData

F3111 Process Master Data

Master Business Function

Object Name: X3111

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

Functional Description

Purpose

To perform all table I/O for the F3111.

• Open F3111 Table
• Retrieve Audit Information
• Add, Change or Delete F3111 record depending on Action Code
'b7'b7'b7'b7


Setup Notes and Prerequisites

This is a Master File Master Business Function.  It will process one record at a time.  No cache is 

used.  Interoperability processing is included in the function.


A) When adding/updating/deleting multiple records:

cActionCode = '1' or '2' or '3'
nIndexNumber = 8

nNumberOfKeys = 1

cReturnHrequest = '1'

cProcessEdits = '1'

cProcessTagFile = '1'

szTypeTransaction = Interoperability Processing Option

idF3111HrequestID = Work idF3111HrequestID

idF3111TagHrequestID = Work idF3111TagHrequestID

szProgramID = Program ID

All table fields for update or add


B) When fetching multiple records by order number:

Fetching 1st record:
cActionCode = '4'
nIndexNumber = 1

nNumberOfKeys = 1

cReturnHrequest = '1'

cProcessEdits = '3'

cProcessTagFile = '1'

idF3111HrequestID = Work idF3111HrequestID

idF3111TagHrequestID = Work idF3111TagHrequestID

mnOrderNumber = F4801 Order Number


Fetching next records all input remains the same except:
cProcessEdits = '4'

C) When fetching multiple records by unique key:

cActionCode = '4'
nIndexNumber = 8

nNumberOfKeys = 1

cReturnHrequest = '1'

cProcessEdits = '1'

cProcessTagFile = '1'

idF3111HrequestID = Work idF3111HrequestID

idF3111TagHrequestID = Work idF3111TagHrequestID

mnUniqueKeyID = F3111 Unique Key ID


D) When determining if a parts list (excluding Co/Bys) exists for a given Order Number:

cActionCode = '4'
nIndexNumber = 6

nNumberOfKeys = 2

cReturnHrequest = '0'

cProcessEdits = '1'

cProcessTagFile = '0'

cCOBY = ' '

mnOrderNumber = F4801 Order Number


E) When multiple processing is completed, close the tables:

cActionCode = '5'
cReturnHrequest = '0'

cProcessTagFile = '1'

idF3111HrequestID = Work idF3111HrequestID

idF3111TagHrequestID = Work idF3111TagHrequestID


Special Logic

If calling this function numerous times to add or change multiple records, set the return hrequest 

parameter to '1' and return the F3111 Table Hrequest ID with each subsequent call.  This will eliminate 

the need to open and close the F3111 table for each call.  NOTE: After all processing is completed, 

call this business function with Action Code  = '5' Close Table and Return Hrequest Flag = '0' to close 

the table.  If this is not completed, a memory leak will occur because of the open table.


All Tag File processing and parameters will be removed in B8.1



Technical Specification

Data Structure Desc   I/OReq'd  Notes

cActionCode           I  Y  A/1 - Add C/2 - Change D/3 - Delete I/4 - Inquire 5   - Close

cProcessEdits     I  N  For Action Code = Add, Update and Delete Modes 

                                       '0' - No Edits (Default) 

                                       '1' - All Edits 

                                       '2' - Partial Edits (No Data Dictionary) 

                                      For Action Code = Inquiry 

                                       '1' - Fetch Keyed (Default) 

                                       '2' - Fetch Matching Key 

                                       '3' - Select Records and Fetch 1st record 

                                       '4' - Fetch Next record 

                                       NOTE: Action Code = 2 or 4 require a previous call to this 

                                             function with Action Code = 1 or 3.  Also, the pointer 

                                             must be returned with Action Code = 2 or 4

cSuppressErrorMessageI  N  1 - Error Messages Suppressed

nNumberOfKeys      I    Y  Number of keys to be used from the index.  

                                      Required only for Action Code = Inquiry, Update or Delete 

                                      NOTE: If this field is not set to 7 for Update and Delete 

Modes, 

                                            action could be performed on multiple records.

nIndexNumber      I  Y  Number of which Table Index to be used.   

                                      Required only for Action Code = Inquiry 

                                      Add, Update, Delete Modes use the Index 1 only

szErrorMessageID      O  N

szProgramID            I  N

cReturnHrequest      I  N  '1' - Returns F3111 Hrequest Default - Does Not Return Hrequest

idF3111Hrequest       I/O  N  F3111 pointer

szTransactionType      I  N  Required for Interoperability

mnOrderNumber      I/O  Y  F3111 Data Field

szOrderType            I/O  N    "    "     "

szOrderSuffix      I/O  N    "    "     "

szTypeBill            I/O  N    "    "     "

cFixedOrVariableQtyI/O  N    "    "     "

cIssueTypeCode      I/O  N    "    "     "

cCOBY                  I/O  N    "    "     "

mnComponentNumber      I/O  N    "    "     "

mnFromPotency      I/O  N    "    "     "

mnThruPotency      I/O  N    "    "     "

szFromGrade            I/O  N    "    "     "

szThruGrade            I/O  N    "    "     "

szCompanyKeyRelatedI/O  N    "    "     "

szRelatedPoSoNumberI/O  N    "    "     "

szRelatedOrderTypeI/O  N    "    "     "

mnRelatedPoSoLineNoI/O  N    "    "     "

mnSequenceNoOperationsI/O  N    "    "     "

mnBubbleSequence      I/O  N    "    "     "

mnResourcePercent      I/O  N    "    "     "

mnPercentOfScrap      I/O  N    "    "     "

mnReworkPercent      I/O  N    "    "     "

mnAsIsPercent      I/O  N    "    "     "

mnPercentCumulativePlaI/O  N    "    "     "

mnStepScrapPercentI/O  N    "    "     "

mnLeadtimeOffsetDaysI/O  N    "    "     "

mnComponentItemNoShortI/O  N    "    "     "

szComponentItemNo2ndI/O  N    "    "     "

Component 3rd ItemI/O  N    "    "     "

szComponentThirdNumberI/O  N    "    "     "

szDescriptionLine1I/O  N    "    "     "

szDescriptionLine2I/O  N    "    "     "

szLocation            I/O  N    "    "     "

szLot                  I/O  N    "    "     "

mnAddressNumber      I/O  N    "    "     "

szLineType            I/O  N    "    "     "

szSerialNumberLot      I/O  N    "    "     "

jdDateTransactionJulianI/O  N    "    "     "

jdDateRequestedJulianI/O  N    "    "     "

mnBeginningHhMmSs      I/O  N    "    "     "

mnUnitsTransactionQtyI/O  N    "    "     " (Order Qty)

mnQuantityTransactionI/O  N       "    "     " (Qty Issued)

mnUnitsQuantityCanceledI/O  N       "    "     " (Qty Canceled)

mnUnitsQuanBackorHeldI/O  N       "    "     " (Qty Backordered)

mnUnacctDirectLaborHrsI/O  N       "    "     "

mnUnitsQuantityAllocatI/O  N       "    "     " (Qty At Operation)

szUnitOfMeasure      I/O  N    "    "     "

mnEstimatedAmount      I/O  N    "    "     "

cRouteSheetN      I/O  N    "    "     "

szMaterialStatusCodeWoI/O  N    "    "     "

szDocumentType      I/O  N    "    "     "

szMessageNo            I/O  N    "    "     "

szBusinessUnit      I/O  N    "    "     "

Project Business UnitI/O  N    "    "     "

szObjectAccount      I/O  N    "    "     "

szSubsidiary      I/O  N    "    "     "

szComponentRevisionLevel I/O  N    "    "     "

jdDateCompletion      I/O  N    "    "     "

szParentWoNumber      I/O  N    "    "     "

cCommittedHS      I/O  N    "    "     "

szUserReservedCodeI/O  N    "    "     "

jdUserReservedDateI/O  N    "    "     "

mnUserReservedAmountI/O  N    "    "     "

mnUserReservedNumberI/O  N    "    "     "

szUserId            I/O  N    "    "     "

szWorkStationId      I/O  N    "    "     "

jdDateUpdated      I/O  N    "    "     "

mnTimeOfDay            I/O  N    "    "     "

mnUniqueKeyID      I/O  N    "    "     "

cPayOnConsumption      I/O  N    "    "     "

mnVendor            I/O  N    "    "     "

cComponentType      I/O  N    "    "     "

szProjectBusinessUnitI/O  N    "    "     "

szUserReservedReferenceI/O  N    "    "     "

cProcessTagFile      I   N Set to 1 to include Tag Table processing 

idF3111TagHrequestIDI/O  N F3111T Pointer

cInteractiveBatchFlagI  N FUTURE

szVersion            I  N FUTURE

idControlData      I  N Required for Interoperability 

                                     - pointer to the Z1 table.    

                                     If processing multiple records, 

                                     this pointer must be returned.

F3111 Process Master Data

If the input F3111 Hrequest does is not NULL

Retrieve the F3111 Pointer

If Retrieve Pointer is succesful and the F3111 Tag Hrequest is not Null

Retrieve the F3111 Tag Table Pointer

End If

Else

Open F3111 and F3111T Tables

End If


If the Table Pointer is not NULL

If the input Type Transaction is not blank

/* If interoperability is on, Work Order must be fetched  */

Process Edits = FULL EDITS
End If

If input Process Edits = FULL EDITS and the Action Code is Add/Update/Delete

Fetch the F4801 record

End If

If input Action Code = 'A' or '1'

Copy input F3111 parameters to F3111 data structure

Get Audit Information

Add record to F3111

If input Process Tag File = '1'

Add record to F3111T

End If

Else if input Action Code = 'C' or '2'

Copy input F3111 parameters to F3111 data structure
Get Audit Information

Update the F3111 record

If input Process Tag File = '1'

Update the F3111T record

End If

Else if input Action Code = 'D' or '3'

Delete record(s) from table using index 1 and Number of Keys = user input
If input Process Tag File = '1'

Delete record from the F3111T

End If

Else if input Action Code = 'I' or '4'

Copy input parameters to key structure using input key and index to determine which index 
and number of keys used

If Process Edits = 2

Fetch Next Keyed based on input Index and Number of Keys

Else If Process Edits = 3

Select Records based on input Index and Number of Keys

Fetch Record

Else If Process Edits = 4

Fetch Next record

Else

Fetch Record based on input Index and Number of Keys

If successful

Copy F3111 fields to output parameters

Else

Set error

End If

If input Process Tag File = '1' and processing is successful

Fetch record from F3111T using UKID

End If

Else if input Action Code = 5

Close F3111 and F3111T
Else

Set input error - 0001 Action Invalid

End If

End If

If Action Code = Add/Update/Delete and input Type Transaction is not blank and processing was 

successful

Call B3101430 to update the interoperability tables

End If

If input Return Hrequest Flag = '1'

Store F3111 Hrequest in output F3111 Hrequest ID parameter

If F3111 Tag Hrequest is not Null

Store F3111T Hrequest in output F3111Tag Hrequest ID parameter

End If

Else

Close F3111 and F3111T
End If

If the tables were closed and input Type Transaction is not blank

Call B3101430 to close all interoperability tables 

End If




Data Structure

DX3111 - F3111 Process Master Data

Data Structure Desc   I/OReq'd  Notes
cActionCode           I  Y  A/1  Add C/2  Change D/3  Delete I/4  Inquire 5   - Close
cProcessEdits     I  N  For Action Code = Add, Update and Delete Modes 

                                       
'0'  No Edits (Default) 
                                       '1'  All Edits 

                                       '2'  Partial Edits (No Data Dictionary) 

                                      For Action Code = Inquiry 

                                       
'1'  Fetch Keyed (Default) 
                                       '2'  Fetch Matching Key 

                                       '3'  Select Records and Fetch 1st record 

                                       '4'  Fetch Next record 

                                       NOTE: Action Code = 2 or 4 require a previous call to this 

                                             function with Action Code = 1 or 3.  Also, the pointer 

                                             must be returned with Action Code = 2 or 4

cSuppressErrorMessageI  N  1  Error Messages Suppressed

nNumberOfKeys      I    Y  Number of keys to be used from the index.  

                                      Required only for Action Code = Inquiry, Update or Delete 

                                      NOTE: If this field is not set to 7 for Update and Delete 

Modes, 

                                            action could be performed on multiple records.

nIndexNumber      I  Y  Number of which Table Index to be used.   

                                      Required only for Action Code = Inquiry 

                                      Add, Update, Delete Modes use the Index 1 only

szErrorMessageID      O  N

szProgramID            I  N

cReturnHrequest      I  N  '1'  Returns F3111 Hrequest Default  Does Not Return Hrequest

idF3111Hrequest       I/O  N  F3111 pointer

szTransactionType      I  N  Required for Interoperability

mnOrderNumber      I/O  Y  F3111 Data Field

szOrderType            I/O  N    "    "     "

szOrderSuffix      I/O  N    "    "     "

szTypeBill            I/O  N    "    "     "

cFixedOrVariableQtyI/O  N    "    "     "

cIssueTypeCode      I/O  N    "    "     "

cCOBY                  I/O  N    "    "     "

mnComponentNumber      I/O  N    "    "     "

mnFromPotency      I/O  N    "    "     "

mnThruPotency      I/O  N    "    "     "

szFromGrade            I/O  N    "    "     "

szThruGrade            I/O  N    "    "     "

szCompanyKeyRelatedI/O  N    "    "     "

szRelatedPoSoNumberI/O  N    "    "     "

szRelatedOrderTypeI/O  N    "    "     "

mnRelatedPoSoLineNoI/O  N    "    "     "

mnSequenceNoOperationsI/O  N    "    "     "

mnBubbleSequence      I/O  N    "    "     "

mnResourcePercent      I/O  N    "    "     "

mnPercentOfScrap      I/O  N    "    "     "

mnReworkPercent      I/O  N    "    "     "

mnAsIsPercent      I/O  N    "    "     "

mnPercentCumulativePlaI/O  N    "    "     "

mnStepScrapPercentI/O  N    "    "     "

mnLeadtimeOffsetDaysI/O  N    "    "     "

mnComponentItemNoShortI/O  N    "    "     "

szComponentItemNo2ndI/O  N    "    "     "

Component 3rd ItemI/O  N    "    "     "

szComponentThirdNumberI/O  N    "    "     "

szDescriptionLine1I/O  N    "    "     "

szDescriptionLine2I/O  N    "    "     "

szLocation            I/O  N    "    "     "

szLot                  I/O  N    "    "     "

mnAddressNumber      I/O  N    "    "     "

szLineType            I/O  N    "    "     "

szSerialNumberLot      I/O  N    "    "     "

jdDateTransactionJulianI/O  N    "    "     "

jdDateRequestedJulianI/O  N    "    "     "

mnBeginningHhMmSs      I/O  N    "    "     "

mnUnitsTransactionQtyI/O  N    "    "     " (Order Qty)

mnQuantityTransactionI/O  N       "    "     " (Qty Issued)

mnUnitsQuantityCanceledI/O  N       "    "     " (Qty Canceled)

mnUnitsQuanBackorHeldI/O  N       "    "     " (Qty Backordered)

mnUnacctDirectLaborHrsI/O  N       "    "     "

mnUnitsQuantityAllocatI/O  N       "    "     " (Qty At Operation)

szUnitOfMeasure      I/O  N    "    "     "

mnEstimatedAmount      I/O  N    "    "     "

cRouteSheetN      I/O  N    "    "     "

szMaterialStatusCodeWoI/O  N    "    "     "

szDocumentType      I/O  N    "    "     "

szMessageNo            I/O  N    "    "     "

szBusinessUnit      I/O  N    "    "     "

Project Business UnitI/O  N    "    "     "

szObjectAccount      I/O  N    "    "     "

szSubsidiary      I/O  N    "    "     "

szComponentRevisionLevel I/O  N    "    "     "

jdDateCompletion      I/O  N    "    "     "

szParentWoNumber      I/O  N    "    "     "

cCommittedHS      I/O  N    "    "     "

szUserReservedCodeI/O  N    "    "     "

jdUserReservedDateI/O  N    "    "     "

mnUserReservedAmountI/O  N    "    "     "

mnUserReservedNumberI/O  N    "    "     "

szUserId            I/O  N    "    "     "

szWorkStationId      I/O  N    "    "     "

jdDateUpdated      I/O  N    "    "     "

mnTimeOfDay            I/O  N    "    "     "

mnUniqueKeyID      I/O  N    "    "     "

cPayOnConsumption      I/O  N    "    "     "

mnVendor            I/O  N    "    "     "

cComponentType      I/O  N    "    "     "

szProjectBusinessUnitI/O  N    "    "     "

szUserReservedReferenceI/O  N    "    "     "

cProcessTagFile      I   N Set to 1 to include Tag Table processing 

idF3111TagHrequestIDI/O  N F3111T Pointer

cInteractiveBatchFlagI  N FUTURE

szVersion            I  N FUTURE

idControlData      I  N Required for Interoperability 

                                      pointer to the Z1 table.    

                                     If processing multiple records, 

                                     this pointer must be returned.



^

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCodeACTNcharOPTNONE

A code that specifies the action that is performed. Valid values are: A Add C Change

cProcessEditsEV01charOPTNONE

An option that specifies the type of processing for an event.

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

nNumberOfKeysINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

nIndexNumberINT02integerOPTNONE

Number of Days in the Past to Query for Quote Requests Received. 

szErrorMessageIDDTAIcharOPTNONE

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

cReturnHrequestEV02charOPTNONE

An option that specifies the type of processing for an event.

idF3111HrequestIDGENLNGIDOPTNONE

General purpose ID variable.

szTypeTransactionTYTNcharOPTNONE

The qualifier used to identify a specific type of transaction.

mnOrderNumberDOCOMATH_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.

szOrderTypeDCTOcharOPTNONE

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

szOrderSuffixSFXOcharOPTNONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

szTypeBillTBMcharOPTNONE

A user defined code (40/TB) that designates the type of bill of material. You can define different types of bills of material for different uses. 
For example:    M     Standard manufacturing bill    RWK   Rework bill    SPR   Spare parts bill  The system enters bill type M in the work order 
header when you create a work order, unless you specify another bill type. The system reads the bill type code on the work order header to 
know which bill of material to use to create the work order parts list. MRP uses the bill type code to identify the bill of material to use when it 
attaches MRP messages. Batch bills of material must be type M for shop floor management, product costing, and MRP processing.

cFixedOrVariableQtyFORQcharOPTNONE

A code that indicates if the quantity per assembly for an item on the bill of material varies according to the quantity of the parent item 
produced or is fixed regardless of the parent quantity. This value also determines if the component quantity is a percent of the parent quantity. Valid 
values are:    F Fixed Quantity    V Variable Quantity (default)    %   Quantities are expressed as a percentage and must total 100%For 
fixed-quantity components, the Work Order and Material Requirements Planning systems do not extend the component's quantity per assembly 
value by the order quantity.

cIssueTypeCodeITCcharOPTNONE

A code that indicates how the system issues each component in the bill of material from stock. In Shop Floor Management, it indicates how 
the system issues a part to a work order. Valid values are:    I Manual issue    F Floor stock (there is no issue)    B Backflush (when the part is 
reported as complete)    P Preflush (when the parts list is generated)    U Super backflush (at the pay-point operation)    S Sub-contract item (send 
to supplier)    Blank Shippable end item  You can issue a component in more than one way within a specific branch/plant by using different 
codes on the bill of material and the work order parts list. The bill of material code overrides the branch/plant value.

cCOBYCOBYcharOPTNONE

A code that distinguishes standard components or ingredients from co-products,by-products, and intermediates. Co-products are 
(concurrent) end items as the result of a process. By-products are items that can be produced at any step of a process, but were not planned. 
Intermediate products are items defined as a result of a step but are automatically consumed in the following step. Generally, intermediates are 
nonstock items and are only defined steps with a pay-point for reporting purposes. Standard components (Discrete Manufacturing) or ingredients 
(Process Manufacturing) are consumed during the production process. Valid values are:    C Co-products    B By-products    I Intermediate 
products    Blank Standard components or ingredients

mnFromPotencyFRMPMATH_NUMERICOPTNONE

A number that indicates the minimum potency or percentage of active ingredients acceptable for an item. The system displays a warning 
message if you try to purchase or issue items that do not meet the minimum acceptable potency. The system does not allow you to sell items 
that do not meet the minimum acceptable potency.

mnThruPotencyTHRPMATH_NUMERICOPTNONE

A number that indicates the maximum potency or percentage of active ingredients that is acceptable for an item. The system displays a 
warning message if you try to purchase or issue items that have a potency that exceeds the maximum potency acceptable. The system does 
not allow you to sell items that have a potency that exceeds the maximum potency acceptable.

szFromGradeFRGDcharOPTNONE

A user defined code (40/LG) that indicates the minimum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that do not meet the minimum grade acceptable. The system does not allow you to sell items 
with grades that do not meet the minimum acceptable level.

szThruGradeTHGDcharOPTNONE

A user defined code (40/LG) that indicates the maximum grade that is acceptable for an item. The system displays a warning message if 
you try to purchase or issue items with grades that exceed the maximum grade acceptable. The system does not allow you to sell items with 
grades that exceed the maximum grade acceptable.

szCompanyKeyRelatedRKCOcharOPTNONE

The key company that is associated with the document number of the related order.

szRelatedPoSoNumberRORNcharOPTNONE

A number that identifies a secondary purchase order, sales order, or work order that is associated with the original order. This number is for 
informational purposes only.

szRelatedOrderTypeRCTOcharOPTNONE

A user defined code (system 00, type DT) that indicates the document type of the secondary or related order. For example, a purchase 
order might be document type OP and might have been created to fill a related work order with document type WO.

mnRelatedPoSoLineNoRLLNMATH_NUMERICOPTNONE

A number of the detail line on the related order for which the current order was created. For example, on a purchase order created to fill 
open sales orders, this is the line number of the sales order on which the item you are ordering appears.

mnSequenceNoOperationsOPSQMATH_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.

mnBubbleSequenceBSEQMATH_NUMERICOPTNONE

A secondary bill of material sequence number that indicates the drawing bubble number.

mnResourcePercentRSCPMATH_NUMERICOPTNONE

A number that indicates what percent of the ingredients should be issued separately to co-products and by-products.

mnPercentOfScrapSCRPMATH_NUMERICOPTNONE

The percentage of unusable component material that is created during the manufacture of a particular parent item.  During DRP/MPS/MRP 
generation, the system increases gross requirements for the component item to compensate for the loss. Note: Shrink is the expected loss of 
parent items (and hence, components) due to the manufacturing process. Shrink and scrap are compounded to figure the total loss in the 
manufacture of a particular item. Accurate shrink and scrap factors can help to produce more accurate planning calculations. Enter percentages 
as whole numbers: 5 percent as 5.0

mnReworkPercentREWPMATH_NUMERICOPTNONE

mnAsIsPercentASIPMATH_NUMERICOPTNONE

mnPercentCumulativePlaCPYPMATH_NUMERICOPTNONE

The cumulative planned output yield percent for a step. The system uses this value to adjust the operation step scrap percent for the 
components at that operation step. This enables the MRP system to use the operation step scrap percent along with the existing component scrap 
percent to plan component demand.

mnStepScrapPercentSTPPMATH_NUMERICOPTNONE

A value that the system uses to increase or decrease the amount of materials to account for loss within the operation. The system updates 
this value on Enter/Change Bill of Material when you run the Planned Yield Update program. The system calculates this value by 
compounding the yield percentages from the last operation to the first operation. Use a processing option in Enter/Change Routing to enable the 
system to calculate the component scrap percent.

mnLeadtimeOffsetDaysLOVDMATH_NUMERICOPTNONE

The number of days that a part is needed before or after the start date of a manufacturing work order. The system adds the leadtime offset 
days for the part to the start date of the work order to determine the actual date that the part is required. To indicate that a part is needed prior 
to the work order start date, enter the days as a negative number. To indicate how many days after the work order start date that the part is 
required, enter a positive number.

mnComponentItemNoShortCPITMATH_NUMERICOPTNONE

The short identifier for the component item number.

szComponentItemNo2ndCPILcharOPTNONE

The system provides three separate item numbers. They are:    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. The system has an extensive cross-reference search capability (see XRT). You 
can define numerous cross references to alternate part numbers to accomodate substitute item numbers, replacements, bar codes, customer 
numbers, or supplier numbers.

szComponentThirdNumberCPIAcharOPTNONE

The system provides three separate item numbers plus an extensive cross reference capability to alternate item numbers. These item 
numbers are as follows:    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. In addition to these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT).  
Numerous cross references to alternate part numbers can be user defined (e.g. substitute item numbers, replacements, bar codes, 
customer numbers, or supplier numbers).

szBranchComponentCMCUcharOPTNONE

A secondary or lower-level business unit. The system uses the value that you enter to indicate that a branch or plant contains several 
subordinate departments or jobs. For example, assume that the component branch is named MMCU. The structure of MMCU might be as follows:    
Branch/Plant - (MMCU)       Dept A - (MCU)       Dept B - (MCU)       Job 123 - (MCU)

szDescriptionLine1DSC1charOPTNONE

Brief information about an item; a remark or an explanation.

szDescriptionLine2DSC2charOPTNONE

A second, 30-character description, remark, or explanation.

szLocationLOCNcharOPTNONE

The storage location from which goods will be moved.

szLotLOTNcharOPTNONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

szLineTypeLNTYcharOPTNONE

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

szSerialNumberLotSERNcharOPTNONE

A 30 character field to be used to additionally identify a specific lot of inventory; this may be the manufacturer's production run number or 
some user assigned number.  The serial number may be added to this lot during the receiving process or at any time thereafter.  At present, this 
field may be presented as smaller than 30 characters.

jdDateTransactionJulianTRDJJDEDATEOPTNONE

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

jdDateRequestedJulianDRQJJDEDATEOPTNONE

The date that an item is scheduled to arrive or that an action is scheduled for completion.

mnUnitsTransactionQtyUORGMATH_NUMERICOPTNONE

The quantity of units affected by this transaction.

mnQuantityTransactionTRQTMATH_NUMERICOPTNONE

A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and 
backorders. You enter this value in the Branch/Plant Constants program (P41001).

mnUnitsQuantityCanceledSOCNMATH_NUMERICOPTNONE

The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for 
this item. In manufacturing, this can also be the number of units scrapped to date.

mnUnitsQuanBackorHeldSOBKMATH_NUMERICOPTNONE

The number of units backordered in Sales Order Management or in Work Order Processing, using either the entered or the primary unit of 
measure defined for this item.

mnUnacctDirectLaborHrsCTS1MATH_NUMERICOPTNONE

The number of unaccounted direct labor hours associated with a specific operation for a work order.

mnUnitsQuantityAllocatQNTAMATH_NUMERICOPTNONE

szUnitOfMeasureUMcharOPTNONE

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

mnEstimatedAmountEAMATH_NUMERICOPTNONE

A number that identifies the estimated unit cost of the part used on the work order.

cRouteSheetNRTGcharOPTNONE

A code to inhibit printing or the routing instructions on the work order.

szMaterialStatusCodeWoMTSTcharOPTNONE

A user defined code (31/MS) that identifies the current status of a particular component on the work order.

szDocumentTypeDCTcharOPTNONE

A user defined code (00/DT) that identifies the origin and purpose of the transaction.  PeopleSoft reserves several prefixes for document 
types, such as, vouchers, invoices, receipts, and timesheets. The reserved document type prefixes for codes are: P Accounts payable 
documents R Accounts receivable documents  T Time and Pay documents I Inventory documents  O Purchase order documents  S Sales order 
documents 

szMessageNoSHNOcharOPTNONE

A generic rates and message code (48/SN) that is assigned to a standard note, message, or general narrative explanation. You can use 
this code to add instructional information to a work order. You set up codes for this field on the Generic Message/Rate Types table (F00191).

szBusinessUnitMCUcharOPTNONE

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.

szObjectAccountOBJcharOPTNONE

The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into 
subcategories. For example, you can divide the Cost Code for labor into regular time, premium time, and burden. Note: If you use a flexible chart of 
accounts and the object account is set to 6 digits, J.D. Edwards recommends that you use all 6 digits. For example, entering 000456 is not 
the same as entering 456 because if you enter 456 the system enters three blank spaces to fill a 6-digit object.

szSubsidiarySUBcharOPTNONE

A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account.

szComponentRevisionLevelCMRVcharOPTNONE

A code that indicates the current revision level of a component on the bill of material. It is usually used with an engineering change notice 
(ECN) or engineering change order (ECO).

jdDateCompletionSTRXJDEDATEOPTNONE

The date that the work order or engineering change order is completed or canceled.

szParentWoNumberPARScharOPTNONE

A number that identifies the parent work order. You can use this number to do the following:     o Enter default values for new work orders, 
such as Type, Priority, Status, and Manager     o Group work orders for project setup and reporting  

cCommittedHSCOMMcharOPTNONE

A value that indicates whether you specified from which Location and Lot a particular item was to come. If you specified a storage area, the 
program assigns a Hard (H) commit, and subsequent programs will not determine which Location and Lot to use to satisfy the order line. If 
you did not specify a storage area, the program assigns a Soft (S) commit and attempts to determine which Location and Lot records can best 
satisfy the order line quantity. Valid codes are:    S Soft Committed,    H Hard Committed    C Hard Committed by Commitment Program    K Kit 
Master Line (No Commitment)    N Work Order (No Commitment)

szUserReservedCodeURCDcharOPTNONE

This is a 2 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

jdUserReservedDateURDTJDEDATEOPTNONE

This is a 6 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedAmountURATMATH_NUMERICOPTNONE

This is a 15 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedNumberURABMATH_NUMERICOPTNONE

This is a 8 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

szWorkStationIdJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

jdDateUpdatedUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

mnTimeOfDayTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

mnUniqueKeyIDUKIDMATH_NUMERICOPTNONE

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

cPayOnConsumptionPOCcharOPTNONE

A code that indicates whether an item is received at the time of inventory issues or if the system uses the Move and Disposition program. 
Valid values are:    0   The system does not perform any actions.    1   The system receives an item when an inventory issue occurs.    2   The 
system uses the Movement and Disposition program when an inventory issue occurs.

mnVendorVENDMATH_NUMERICOPTNONE

The address book number of the preferred provider of this item.

cComponentTypeCOTYcharOPTNONE

The component type determines what the component is used for in a bill of material.  For example:    A Active ingredient    C Standard 
Component    F Filler ingredient

szProjectBusinessUnitOMCUcharOPTNONE

The business unit from an account number.  The account number business unit is usually found in the data item MCU, however, Distribution 
systems use the field MCU as the branch.

szUserReservedReferenceURRFcharOPTNONE

A 15-position reference that is reserved for the user.  J.D. Edwards does not currently use this field and does not plan to use it in the future.

cProcessTagFileEV04charOPTNONE

PeopleSoft event point processing flag 04.

idF3111TagHrequestIDGENLNGIDOPTNONE

General purpose ID variable.

cInteractiveBatchFlagEV05charOPTNONE

A flag that indicates whether automatic spell check is turned on.

szVersionVERScharOPTNONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

idControlDataGENLNGIDOPTNONE

General purpose ID variable.

mnUnacctDirectLaborAmtCTS4MATH_NUMERICOPTNONE

The amount of unaccounted direct labor associated with a specific operation for a work order.

mnUnacctScrapAmtCTS7MATH_NUMERICOPTNONE

The amount of unaccounted scrap dollars associated with a specific component for a work order.  Manufacturing accounting uses this 
amount to process associated journal entries and/or update production costs for actual orders.

mnUnacctScrapUnitsCTS8MATH_NUMERICOPTNONE

The number of units of unaccounted scrap that the system associates with a specific component for a work order.  Manufacturing 
accounting uses these units to process associated journal entries and update production costs for actual orders.

mnSecondaryQtyCompletedSSTQMATH_NUMERICOPTNONE

The number of units, expressed in the secondary unit of measure, that the system has recorded as completed or issued. This value can 
represent either the quantity completed for co-/by-products or the quantity that was issued for a component.

szSecondaryUnitOfMeasureUOM2charOPTNONE

A user defined code (00/UM) that indicates an alternate unit of measure for the item.

mnComponentNumberCPNBMATH_NUMERICOPTNONE

A number that specifies how the system displays the sequence of components on a single-level bill of material. This number initially 
indicates the sequence in which a component was added to the bill of material. You can modify this number to change the sequence in which the 
components appear.

cActiveIngredientFlagAINGcharOPTNONE

A code that indicates whether an item is an active component of a parent item. When the item is an active component, the system can 
calculate a parent item's expiration date by comparing all component expiration dates and choosing the earliest date. Valid values 
are: Blank The item is not an active component of a parent item. 1 The item is an active component of a parent item.

jdPlannedEffectiveDateDLEJJDEDATEOPTNONE

The date on which a lot becomes available. The system uses this date for availability and commitment processing to indicate that the lot is 
available on or after the date that you specify. You must complete this field when inventory first becomes an on-hand quantity for the lot. If you 
leave this field blank, the system calculates the effective date of the lot by using the value for Effective Days in the Item Branch File table 
(F4102) or the current date if the value for Effective Days is zero.

mnPickSlipNumberPSNMATH_NUMERICOPTNONE

A automatic next number assigned by the system that can be used to track picking information through the system.  This number is 
assigned during the printing of pick slips.  The shipment confirmation program allows inquiry and confirmation by this number.

Related Functions

None

Related Tables

None
          
'1'  Fetch Keyed (Default) 
                                       '2'  Fetch Matching Key 

                                       '3'  Select Records and Fetch 1st record 

                                       '4'  Fetch Next record 

                                       NOTE: Action Code = 2 or 4 require a previous call to this 

                                             function with Action Code = 1 or 3.  Also, the pointer 

                                             must be returned with Action Code = 2 or 4

cSuppressErrorMessageI  N  1  Error Messages Suppressed

nNumberOfKeys      I    Y  Number of keys to be used from the index.  

                                      Required only for Action Code = Inquiry, Update or Delete 

                                      NOTE: If this field is not set to 7 for Update and Delete 

Modes, 

                                            action could be performed on multiple records.

nIndexNumber      I  Y  Number of which Table Index to be used.   

                                      Required only for Action Code = Inquiry 

                                      Add, Update, Delete Modes use the Index 1 only

szErrorMessageID      O  N

szProgramID            I  N

cReturnHrequest      I  N  '1'  Returns F3111 Hrequest Default  Does Not Return Hrequest

idF3111Hrequest       I/O  N  F3111 pointer

szTransactionType      I  N  Required for Interoperability

mnOrderNumber      I/O  Y  F3111 Data Field

szOrderType            I/O  N    "    "     "

szOrderSuffix      I/O  N    "    "     "

szTypeBill            I/O  N    "    "     "

cFixedOrVariableQtyI/O  N    "    "     "

cIssueTypeCode      I/O  N    "    "     "

cCOBY                  I/O  N    "    "     "

mnComponentNumber      I/O  N    "    "     "

mnFromPotency      I/O  N    "    "     "

mnThruPotency      I/O  N    "    "     "

szFromGrade            I/O  N    "    "     "

szThruGrade            I/O  N    "    "     "

szCompanyKeyRelatedI/O  N    "    "     "

szRelatedPoSoNumberI/O  N    "    "     "

szRelatedOrderTypeI/O  N    "    "     "

mnRelatedPoSoLineNoI/O  N    "    "     "

mnSequenceNoOperationsI/O  N    "    "     "

mnBubbleSequence      I/O  N    "    "     "

mnResourcePercent      I/O  N    "    "     "

mnPercentOfScrap      I/O  N    "    "     "

mnReworkPercent      I/O  N    "    "     "

mnAsIsPercent      I/O  N    "    "     "

mnPercentCumulativePlaI/O  N    "    "     "

mnStepScrapPercentI/O  N