MRPMultiPlantCopyCacheDataToUI

MRP, Multi-Plant Copy Cache Data to F34UI005

Minor Business Rule

Object Name: B3500050

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description
This function will read all records in the regular item qty cache and copy the data into F34UI005. 

This is done so that B3400590 will be able to read data from F34UI005 and write time series records for 

co or by products.


1.1Purpose

This function will enable R3483 to write time series at the end of the MRP run.


1.2Setup Notes and Prerequisites


1.3Special Logic


2.Technical Specifications

This function should not be modified for other programs. It should be used only for R3483.


1. Open the F34UI005 table
2. Insert into F34UI005 with Input Job, Input CTID, Input Branch, Input Item, 'MPS', Input 

$$PLDT and Input Safety Stock.

3. Call B3401290 in mode '1', sequential fetch, with Input JOB, and Input Branch(1 key).

4. While Cache Error Code = '0'

5.  Wk Qty Type = Qty Type from Cache

6.  If Wk Qty Type = 'PPQ' 

7.  Wk Qty Type = 'PPG'

8.  End If

9.  If Wk Qty Type <> 'CPS'

10.  Insert into F34UI005 with Input Job, Input CTID, Input Branch, Input Item, Wk  Qty 

Type, Date from Cache and Quantity from Cache.

11.  End If

12.  Call B3401290 with 1 key, in mode '6'.

13. End While

14. Close table.


Data Structure

D3500050 - MRP, Multi-Plant Copy Cache Data to F34UI005

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberJOBSMATH_NUMERICNONENONE

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

szComputerIDCTIDcharNONENONE

mnItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

cSuppressErrorsEV01charNONENONE

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

szJobNumberAsStringJOBcharNONENONE

Job Number

szBranchMCUcharNONENONE

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.

jdPlanningDateDATE01JDEDATENONENONE

Event point for JDE Date.

mnSafetyStockSAFEMATH_NUMERICNONENONE

The quantity of stock kept on hand to cover high-side variations in demand.

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.

Related Functions

B3401290 Cache, Process MRP Item Quantities

Related Tables

F34UI005 MRP Orders/Requirements User Index-Process Item