X4801MfgEditLineModule

X4801 Manufacturing Editing Module

Master Business Function

Object Name: B4800210

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

Data Structure

D4800210 - X4801 Manufacturing Editing Module

Parameter NameData ItemData TypeReq/OptI/O/Both
idCacheStructurePointerGENLNGIDNONENONE

General purpose ID variable.

idF4801PointerGENLNGIDNONENONE

General purpose ID variable.

cErrorCodeERRCcharNONENONE

'0' = No Errors
'1`'= Warnings

'2' = Error

^

szErrorMessageIDDTAIcharNONENONE

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.

cProcessEditsEV01charNONENONE

'0'  No Edits
'1'  Full Edits

'2'  Partial Edits

^

cRecordWrittenToWorkFileFlagEV02charNONENONE

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

cActionCodeACTNcharNONENONE

'A'  Add the record to the F4801
'U'- Update the record in the F4801

'D'  Delete the record in the F4801

'H'  Set F4801 record to Hold Status defined in Processing Options 

'C'  Set F4801 record to Cancel Status defined in Processing Options

NOTE: Sales Processing will determine if status can be changed based on status if <= Processing Option Cutoff Status

^

szVersionVERScharNONENONE

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.

idInputPointerGENLNGIDNONENONE

General purpose ID variable.

mnJobNumberJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

mnOrderNumberDOCOMATH_NUMERICNONENONE

Used for P48013 Error Mapping purposes only. 
^

szOrderTypeDCTOcharNONENONE

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

jdRequestedDateDRQJJDEDATENONENONE

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

szItemNumberUnknownFormatUITMcharNONENONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

mnQtyOrderedUORGMATH_NUMERICNONENONE

The quantity of units affected by this transaction.

szUnitOfMeasureUOMcharNONENONE

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

szTypeOfBillTBMcharNONENONE

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.

szTypeOfRoutingTRTcharNONENONE

A user defined code (40/TR) that indicates the type of routing. You can define different types of routing instructions for different uses. For 
example:    M    Standard Manufacturing Routing    RWK  Rework Routing    RSH  Rush Routing You define the routing type on the work order 
header. The system then uses the specific type of routing that you define in the work order routing. Product Costing and Capacity Planning systems 
use only M type routings.

cWOTypeTYPScharNONENONE

A user defined code (00/TY) that indicates the classification of a work order or engineering change order. You can use work order type as a 
selection criterion for work order approvals.

szWOStatusSRSTcharNONENONE

A user defined code (00/SS) that describes the status of a work order, rate schedule, or engineering change order. Any status change from 
90 through 99  triggers the system to automatically update the completion date.

cWOPriorityPRTScharNONENONE

A user defined code (00/PR) that indicates the relative priority of a work order or engineering change order in relation to other orders. A 
processing option for some forms lets you enter a default value for this field. The value then displays automatically in the appropriate fields on 
any work order you create on those forms and on the Project Setup form. You can either accept or override the default value.

szWOCategoryCode001WR01charNONENONE

A user defined code (00/W1) that indicates the current stage or phase of development for a work order. You can assign a work order to only 
one phase code at a time. Note: Certain forms contain a processing option that allows you to enter a default value for this field. If you enter a 
default value on a form for which you have set this processing option, the system displays the value in the appropriate fields on any work 
orders that you create. The system also displays the value on the Project Setup form. You can either accept or override the default value.

szWOCategoryCode002WR02charNONENONE

A user defined code (00/W2) that indicates the type or category of a work order. Note: A processing option for some forms lets you enter a 
default value for this field. The system enters the default value automatically in the appropriate fields on any work orders that you create on 
those forms and on the Project Setup form. You can either accept or override the default value.

szWOCategoryCode003WR03charNONENONE

A user defined code (00/W3) that indicates the type or category of the work order. Note: A processing option for some forms allows you to 
enter a default value for this field. The system enters the default value automatically in the appropriate fields on any work orders that you 
create on those forms and on the Project Setup form. You can either accept or override the default value.

szReference1VR01charNONENONE

An alphanumeric value used as a cross-reference or secondary reference number. Typically, this is the customer number, supplier 
number, or job number.

mnPlannerANSAMATH_NUMERICNONENONE

The address book number of a manager or planner.   Note:  A processing option for some forms allows you to enter a default value for this 
field based on values for category codes 1 (Phase), 2, and 3.  You set up the default values on the Default Managers and Supervisors form.  
After you set up the default values and the processing option, the default information displays automatically on any work orders that you 
create if the category code criterion is met.  You can either accept or override the default value. 

mnCustomerAN8MATH_NUMERICNONENONE

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

mnSupervisorANPAMATH_NUMERICNONENONE

The address book number of the supervisor.

szBranchPlantMMCUcharNONENONE

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 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

szLotNumberLOTNcharNONENONE

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

szBusinessUnitMCUcharNONENONE

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.

szSubsidiarySUBcharNONENONE

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

jdStartDateSTRTJDEDATENONENONE

The start date for the order. You can enter this date manually, or have the system calculate it using a backscheduling routine. The routine 
starts with the required date and offsets the total leadtime to calculate the appropriate start date.

jdOrderDateTRDJJDEDATENONENONE

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

jdCompletionDateSTRXJDEDATENONENONE

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

szParentOrderNumberPARScharNONENONE

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  

szBillRevisionLevelBREVcharNONENONE

A value that indicates the revision level of a bill of material. It is usually used in conjunction with an engineering change notice or 
engineering change order. The revision level of the bill of material should match the revision level of its associated routing, although the system does 
not check this. This value is defined and maintained by the user.

cFreezeCodeUNCDcharNONENONE

A code that indicates if the line on the order is frozen. MPS/MRP does not suggest changes to frozen orders.  Valid values are: Y Yes, freeze 
the order. N No, do not freeze the order. This value is the default.

szRelatedOrderNumberRORNcharNONENONE

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.

szRelatedOrderTypeRCTOcharNONENONE

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.

cSuppressErrorMessagesEV03charNONENONE

A radio button that specifies the level at which trace/track result is to be displayed.  Select the Detail to display all transactions except IB, IX, 
and IZ types.  Or, select Derivative Lots Only to display only those transactions that may have created new derivative lot. 

cInteractiveBatchFlagEV04charNONENONE

PeopleSoft event point processing flag 04.

cProcessModuleFlagEV05charNONENONE

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

szPOTypeTransactionTYTNcharNONENONE

The qualifier used to identify a specific type of transaction.

cShiftCodeSHFTcharOPTNONE

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.

szLineIdentifierLINEcharOPTNONE

A number that defines a production line or cell. Detailed work center operations can be defined inside the line or cell.

mnSecondaryOrderQtySQORMATH_NUMERICOPTNONE

If the secondary unit of measure option in Inventory Constants is selected,this field will display on data entry screens.

szSecondaryUnitOfMeasureUOM2charOPTNONE

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

jdPlannedEffectiveDateDPLJDEDATEOPTNONE

The date that the work order or engineering change order is planned to be completed.

mnWorkFileNumberXLINMATH_NUMERICOPTNONE

Line number.

cNetChangeProcessFlagEV01charOPTNONE

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

Related Functions

B3000510 Verify And Get Bill Of Material
B3000520 Verify And Get Routing
B3001020 Get Next Bill Of Material
B3100170 Set Net Change Flag
B3100190 Update Part List Quantity and Date
B3100200 Update Routing Quantity and Date
B3100250 Calculate Shrinkage Quantity
B3100260 Update Sales Order Hold Code
B3100280 Get Cost Center Master Data
B3100290 Calculate Order Lead Time
B3100300 Forward Backward Schedule Dates
B3100510 Get Routing Instructions Data
B3100930 Write Parts List Row
B4000520 Get Item UoM Conversion Factor
B4000750 Get Item Branch Grade Potency
B4000880 Verify And Get Address Book for OP
B4001040 Get Item Master Description UOM
ISCOLBU Is Business Unit in Business Unit Table
N3101170 F3108 Get Summarized WO Cross-Reference
N3200880 Retrieve Config WO Category Codes
N3200890 Cache Process WO Values
X4101 Validate and Retrieve Item Master
X4108 Lot Master Update
X41DUP Verify Duplicate Lot
X4801 X4801 Work Order Entry Master Business Function
XF41021 Update F41021 Locations
XX0901 Validate Account Number

Related Tables

F4102 Item Branch File
F4201 Sales Order Header File
F4801 Work Order Master File
X4801MfgEndDocModule

X4801MfgEndDocModule

X4801 Manufacturing Editing Module

Master Business Function

Object Name: B4800210

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

Functional Description

Purpose

To perform all editing required for manufacturing in regards to the X4801. Do not call these 

functions directly.  The information contained in this document is for debugging and X4801 setup purposes 

only.



Setup Notes and Prerequisites

These functions are called ONLY from X4801. 

X4801 Edit Line calls X4801 Mfg Edit Line Module to perform all MFG editing

X4801 End Doc calls X4801 Mfg End Doc Module to perform related table updates

X4801 Clear Work File calls X4801 Mfg Terminate Module to close all tables opened and cache created 

by B4800210


Special Logic

X4801 MFG End Doc Module Outline


If the input Process Edits does not = NO EDITS

Retrieve the Cache Data Structure address

Retrieve the X4801 Input End Doc Data Structure address

Retrieve the F4801 Data Structure address

If the input Action Code = Delete or Cancel Mode

Perform Related Table Deletes

Else

If the input Action Code = Hold Mode

Verify and Set Hold Status

End If

Else (Add or Update Mode)

Perform End Doc Updates

End If

Load F4801 Cache values to F4801 data structure

End If




Technical Specification

^

^

Data Structure

D4800210A - X4801 Mfg End Doc And Terminate Processing DS

Parameter NameData ItemData TypeReq/OptI/O/Both
idCacheStructurePointerGENLNGIDNONENONE

General purpose ID variable.

idF4801PointerGENLNGIDNONENONE

General purpose ID variable.

idInputPointerGENLNGIDNONENONE

General purpose ID variable.

cProcessEditsEV01charNONENONE

'0'  No Edits
'1'  Full Edits

'2'  Partial Edits

^

cActionCodeACTNcharNONENONE

'A'  Add the record to the F4801 'U'- Update the record in the F4801 'D'  Delete the record in the F4801 'H'  Set F4801 record to Hold Status defined in 
Processing Options  'C'  Set F4801 record to Cancel Status defined in Processing Options NOTE: Sales Processing will determine if status can be changed based 

on status if <= Processing Option Cutoff  Statusab 


^

cProcessModuleFlagEV02charNONENONE

Flag set in X4801 to determine if Normal or Sales editing required.
^

mnJobNumberJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

szErrorMessageIDDTAIcharNONENONE

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.

szProgramIDPIDcharNONENONE

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.

szTypeTransactionTYTNcharNONENONE

The qualifier used to identify a specific type of transaction.

cInteractiveBatchFlagEV04charOPTNONE

PeopleSoft event point processing flag 04.

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.

Related Functions

B3000510 Verify And Get Bill Of Material
B3000520 Verify And Get Routing
B3001020 Get Next Bill Of Material
B3100170 Set Net Change Flag
B3100190 Update Part List Quantity and Date
B3100200 Update Routing Quantity and Date
B3100250 Calculate Shrinkage Quantity
B3100260 Update Sales Order Hold Code
B3100280 Get Cost Center Master Data
B3100290 Calculate Order Lead Time
B3100300 Forward Backward Schedule Dates
B3100510 Get Routing Instructions Data
B3100930 Write Parts List Row
B4000520 Get Item UoM Conversion Factor
B4000750 Get Item Branch Grade Potency
B4000880 Verify And Get Address Book for OP
B4001040 Get Item Master Description UOM
ISCOLBU Is Business Unit in Business Unit Table
N3101170 F3108 Get Summarized WO Cross-Reference
N3200880 Retrieve Config WO Category Codes
N3200890 Cache Process WO Values
X4101 Validate and Retrieve Item Master
X4108 Lot Master Update
X41DUP Verify Duplicate Lot
X4801 X4801 Work Order Entry Master Business Function
XF41021 Update F41021 Locations
XX0901 Validate Account Number

Related Tables

F4102 Item Branch File
F4201 Sales Order Header File
F4801 Work Order Master File
X4801MfgTerminateModule

X4801MfgTerminateModule

X4801 Manufacturing Editing Module

Master Business Function

Object Name: B4800210

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

Functional Description

Purpose

To perform all editing required for manufacturing in regards to the X4801. Do not call these functions directly.  The information contained in this 

document is for debugging and X4801 setup purposes only.


Setup Notes and Prerequisites

These functions are called ONLY from X4801. 

• X4801 Edit Line calls X4801 Mfg Edit Line Module to perform all MFG editing
• X4801 End Doc calls X4801 Mfg End Doc Module to perform related table updates
• X4801 Clear Work File calls X4801 Mfg Terminate Module to close all tables opened and cache created 
by B4800210


Special Logic




Technical Specification

X4801 MFG Terminate Module Outline


If the input Job Number is not blank

If the F4102 table was opened
Close Table F4102
End If
If the F4201 table was opened 

Close Table F4201

End If
Destroy B4800220 Work Cache

End If




Data Structure

D4800210A - X4801 Mfg End Doc And Terminate Processing DS

Parameter NameData ItemData TypeReq/OptI/O/Both
idCacheStructurePointerGENLNGIDNONENONE

General purpose ID variable.

idF4801PointerGENLNGIDNONENONE

General purpose ID variable.

idInputPointerGENLNGIDNONENONE

General purpose ID variable.

cProcessEditsEV01charNONENONE

'0'  No Edits
'1'  Full Edits

'2'  Partial Edits

^

cActionCodeACTNcharNONENONE

'A'  Add the record to the F4801 'U'- Update the record in the F4801 'D'  Delete the record in the F4801 'H'  Set F4801 record to Hold Status defined in 
Processing Options  'C'  Set F4801 record to Cancel Status defined in Processing Options NOTE: Sales Processing will determine if status can be changed based 

on status if <= Processing Option Cutoff  Statusab 


^

cProcessModuleFlagEV02charNONENONE

Flag set in X4801 to determine if Normal or Sales editing required.
^

mnJobNumberJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

szErrorMessageIDDTAIcharNONENONE

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.

szProgramIDPIDcharNONENONE

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.

szTypeTransactionTYTNcharNONENONE

The qualifier used to identify a specific type of transaction.

cInteractiveBatchFlagEV04charOPTNONE

PeopleSoft event point processing flag 04.

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.

Related Functions

B3000510 Verify And Get Bill Of Material
B3000520 Verify And Get Routing
B3001020 Get Next Bill Of Material
B3100170 Set Net Change Flag
B3100190 Update Part List Quantity and Date
B3100200 Update Routing Quantity and Date
B3100250 Calculate Shrinkage Quantity
B3100260 Update Sales Order Hold Code
B3100280 Get Cost Center Master Data
B3100290 Calculate Order Lead Time
B3100300 Forward Backward Schedule Dates
B3100510 Get Routing Instructions Data
B3100930 Write Parts List Row
B4000520 Get Item UoM Conversion Factor
B4000750 Get Item Branch Grade Potency
B4000880 Verify And Get Address Book for OP
B4001040 Get Item Master Description UOM
ISCOLBU Is Business Unit in Business Unit Table
N3101170 F3108 Get Summarized WO Cross-Reference
N3200880 Retrieve Config WO Category Codes
N3200890 Cache Process WO Values
X4101 Validate and Retrieve Item Master
X4108 Lot Master Update
X41DUP Verify Duplicate Lot
X4801 X4801 Work Order Entry Master Business Function
XF41021 Update F41021 Locations
XX0901 Validate Account Number

Related Tables

F4102 Item Branch File
F4201 Sales Order Header File
F4801 Work Order Master File