R00460 Implementing Work Order Z File Exports Using Subsystem Processing P48013 (JDEWO)

Purpose of Document

Goal

This document is part of an Information Center - to see other documents related to Shop Floor Control, please use the links provided below: Information Center: JD Edwards EnterpriseOne Shop Floor Control > Information Center: Using JD Edwards EnterpriseOne Shop Floor Control > Note 1342363.1

This document is a guide on how to implement work order header extraction through subsystem routine in Work Order Processing in addition to Question 5 listed on E1: 31: Outbound Interoperability for Shop Floor Management (R4801Z1X & R4801Z1P) - Document 1323732.1.

Note:

Solution

Overview

 The following steps are to be used on how to hookup work order extraction through subsystem job.

Basic Set Up

1.  Verify if UDC 00/TT - Transaction Type has definition for the transaction type required to perform (e.g. JDEWO):

User Def CodeDescriptionDescriptionSpecial HandlingHard Coded
JDEWO Work Order Header Transaction     Y


2.  Verify if Transaction Type defined above has definition on Interoperability file for outbound (Flat File Cross-Reference -P47002):

TransTrans DescriptionDir IndDir Ind DescriptionRecord TypeRecord Type DescriptionFile NameFlat File Name
JDEWO Work Order Header Transaction 2 Outbound 1 Header F4801Z1  


3.  Verify UDC 00/TA - Transaction Action:

User Def CodeDescriptionDescriptionSpecial HandlingHard Coded
01 Cancellation D - Delete   Y
02 Add A - Add   N
03 Delete D - Delete   N
04 Change C - Change   Y
06 Confirmation I - Inquiry   Y
07 Duplicate A - Add   N

 

Based on Transaction Action Code (e.g. 02 to Add) it reads the first character of Description 02 column. For this example, 02 is the code for Add.
Data Dictionary Alias TNAC (Transaction Action) has to be defined. Withing the application, the Action Code is hard coded to verity the transaction and how a certain routine sets this value.


4.  Add Data Export Control record through Data Export Controls program (P0047) that writes the F0047 table as follow:

Trans TypeOr TyDisply SeqObject NameVersionFunction NameFunction LibraryExecute For AddExecute For UpdExecute For DelExecute For InqFlat File Exp ModeExt DB Exp ModeExt API Exp ModeLaunch Immediately
JDEWO WO 1 R4801Z1X XJDE0001     1 1 0 0 0 0 0 1

 

For this example, whenever data gets added into Work Order Header table (F4801), the defined UBE Outbound Work Order Extraction (R4801Z1X), version XJDE0001 will be executed.
If Launch Immediately is set (to '1'), R4801Z1X|XJDE0001 will be executed whenever a new record is inserted into SVM900.F986113 via Interoperability Generic Outbound Subsystem UBE (R00460).

Execution

Test Case Scenario: whenever a certain work order gets created / updated this information is to be transferred to a 3rd party software based on Outbound Work Order Header table (F4801Z1).

1. Set / verify the Processing Option # 1. Transaction Type in Interop tab to 'JDEWO'.

2. Create a new work Work Order, for instance through Manufacturing Work Order Processing (P48013).

3. Verify that F4801Z1 file gets populated and a single row of data is inserted into SVM900.F986113 as below.

Outbound Work Order Header file (F4801Z1)

User IDBatch NumberTransaction NumberLine NumberDoc TyTrans TypeTranslation FormatTran DateDir Ind# LinesS PTrading PartnerTr AcOr Ty
SDONGMYE 0 125918   WO JDEWO     2 0     02 WO
SDONGMYE 0 125919   WO JDEWO     2 0     02 WO

Subsystem Job Master table (SVM900.F986113)

Program IDVersionJOBNBRJOBSTSOpt CdEXEHOSTORGHOSTENHVUser IDBLOB
R00460 XJDE0001   R W DNVMGSC29 DNVMGSC29 JPD900 SDONGMYE S.D.O.N.G.M.Y.E.|.0.|.1.2.5.9.1.8.|.2.|.J.D.E.W.O.|.W.O.|.0.2...
R00460 XJDE0001   R W DNVMGSC29 DNVMGSC29 JPD900 SDONGMYE S.D.O.N.G.M.Y.E.|.0.|.1.2.5.9.1.9.|.2.|.J.D.E.W.O.|.W.O.|.0.2...

 

BLOB information can be reviewed only through UTB.
If there is running process of R00460 - Interoperability Generic Outbound Subsystem UBE, above records may not be seen.


4. Run Interoperability Generic Outbound Subsystem UBE (R00460) or through continuously running process of subsystem job R00460. The Processing Log table (F0046) gets populated based on the definition in Data Export Contorl table (F0047).

Processing Log file (F0046)

User IDBatch NumberTransaction NumberLine NumberType TransOr TySEQOBNMVersionEDSP
SDONGMYE 0 125918 2 JDEWO WO 1 R4801Z1X XJDE0001 N
SDONGMYE 0 125918 2 JDEWO WO 1 R4801Z1X XJDE0001 N

 

R00460 can be a continuously running process or may be submitted manually.

 

5. Verify the jobs triggered by subsystem kernel and processed by queue kernel, UBE kernel and callobject kernel.

Job Control Status Master table (SVM900.F986110)

Submit TypeQueueQueue TypeStatusDescriptionPriorityTypeUserJob DetailsHostJob #EnvironmentOrigination HostProcess ID
BV QBATCH 01 E Done 5 UBE SDONGMYE R4801Z1X_XJDE0001_90485_PDF DNVMGSC29 90485 JPD900 DNVMGSC29 1580
BV QBATCH 01 E Done 5 UBE SDONGMYE R4801Z1X_XJDE0001_90482_PDF DNVMGSC29 90482 JPD900 DNVMGSC29 1580
BV QBATCH 01 P Processing 5 UBE SDONGMYE R00460_XJDE0001_90481_PDF DNVMGSC29 90481 JPD900 DNVMGSC29 1580

 

R4801Z1X gets called SYNCHRONOUSLY through R00460.
If possible, do not set Launch Immediately flag through P0047.
Rather handle it through R00461.
Since R00460 is subsystem process, only one process ID is to be assigned).

Subsystem Job Master table (SVM900.F986113)

Job NameVersionJob TypeJob StatusHostEnvironmentOrigination HostUserJob #
R00460 XJDE0001 S R DNVMGSC29 JPD900 DNVMGSC06 SDONGMYE 90481


6. Purge the records from F4801Z1 through Outbound Work Order Purge (R4801Z1P)

Note:

 

Additional details on the functionality provided by Interoperability Generic Outbound Subsystem UBE (R00460) can be found under the following solutions: E1: Interop: FAQ on R00460 - Document 1334253.1 and E1: 40: Interoperability JDEIL and Inventory Transaction - Document 1334242.1.

For detailed information on interoperability refer pdf implementation guide JD Edwards EnterpriseOne Data Interface for Electronic Data Interchange 8.12 and 9.0 Document 945544.1.