GetInventoryInfoForF13017

F13017 Process Master Equipment Parts List

Minor Business Rule

Object Name: N1300740

Parent DLL: CMFG

Location: Client/Server

Language: NER

Functional Description

Purpose


This Named ER is used to fetch the Inventory default information when adding new inventory items to the Equipment Parts List.


Setup Notes and Prerequisites


Special Logic


Technical Specification


The NER will only return information if a valid inventory short item number is passed in.


1.Get Inventory Master information

BF szPrimaryItemNumber <- szPrimaryItemNumber
BF szIdentifier2ndItem <- szSecondItemNumber

BF szIdentifier3rdItem <- szThirdItemNumber

BF szDescriptionLine1 <- szDescription

BF szDescriptionLine2 <- szDescriptionLine2
BF szPrimaryUnitOfMeasure <- szPrimaryUOM
BF cStockingType <- cStockingType

VA evt_cCostLevel_CLEV <- cInventoryCostLevel

BF szLineType <- szLineType

BF szComponentUnitOfMeasure <- szComponentUOM


2.If branch passed in, Get Inventory Branch Information if branch passed in.
VA evt_szComponentBranch_MMCU -> szBranch
VA evt_mnShortItemNumber_ITM -> mnShortItemNumber

VA evt_cStockingType_STKT <- cStockingType

BF cIssueTypeCode <- cIssueTypeCode
VA evt_szLineType_LNTY <- szLineType

3.If branch information available, use this else use Item Master information
BF cStockingType = VA evt_cStockingType_STKT
BF szLineType = VA evt_szLineType_LNTY


4.If BF cIssueTypeCode  is blank
a.Fetch from F4101 the issue type code

5.Call F40205 Get Line Type Constants to get inventory interface flag
 BF szLineType -> szLineType
 BF cInventoryInterfaceFlag <- cInventoryInterface


6.Get Inventory Unit Cost
a.If cost level 3, set to 2 as location information not available
b.F4105 Get Item Cost Row
c.F4105 Get Item Cost Information

 BF mnAmountUnitCost <- mnUnitCost
d.Memory, Free Ptr To Data Structure

7.Get Inventory Extention Information
      BF szProductModel <- szProductModel
      BF szProductFamily <- szProductFamily

      BF szCostType <- szCSMSCostType



Data Structure

D1300740A - Get Inventory Default Information for F13017

Parameter NameData ItemData TypeReq/OptI/O/Both
cSuppressErrorMessageSUPPScharOPTINPUT

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.

szErrorMessageDTAIcharOPTOUTPUT

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.

cErrorCodeERRCcharOPTOUTPUT

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

szVersionVERScharOPTINPUT

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.

mnIdentifierShortItemITMMATH_NUMERICREQINPUT

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

szBranchMMCUcharREQINPUT

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.

szPrimaryItemNumberUITMcharOPTOUTPUT

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

szIdentifier2ndItemLITMcharOPTOUTPUT

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

szIdentifier3rdItemAITMcharOPTOUTPUT

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 8-digit, computer-assigned 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, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

szDescriptionLine1DSC1charOPTOUTPUT

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

szDescriptionLine2DSC2charOPTOUTPUT

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

cStockingTypeSTKTcharOPTOUTPUT

A user defined code (41/I) that indicates how you stock an item, for example, as finished goods or as raw materials. The following stocking 
types are hard-coded and you should not change them:    0   Phantom item    B Bulk floor stock    C Configured item    E Emergency/corrective 
maintenance    F Feature    K Kit parent item    N Nonstock  The first character of Description 2 in the user defined code table indicates if the item 
is purchased (P) or manufactured (M).

szLineTypeLNTYcharOPTOUTPUT

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

szComponentUnitOfMeasureUMcharOPTOUTPUT

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.

cIssueTypeCodeITCcharOPTOUTPUT

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.

cInventoryInterfaceFlagIVIcharOPTOUTPUT

A code that identifies the type of interface to the Inventory Management system. Valid values are:    Y The dollar or unit value of any activity 
containing this line type will be reflected in inventory. The system also edits the item that you enter to ensure that it is a valid item. Y is the 
default.    A The system recognizes the number that you enter as a G/L account number. The system uses this code in purchasing only.    B The 
system performs edits when using format 4 in purchase order entry.        The system retrieves price data from the inventory tables, but does not 
update the quantity on the purchase order. This code is valid only when you have set the G/L Interface field to Y (yes). Budget checking is 
fully functional when you use this interface code.    D The item in this line is an inventory item that will not affect availability or quantities.    N The 
item is not an inventory item. To verify whether the item exists in the Item Master file, use Inventory Interface N in conjunction with the flag, Edit 
the Item Master for Non-Stock Items.

mnAmountUnitCostUNCSMATH_NUMERICOPTOUTPUT

The amount per unit, derived by dividing the total cost by the unit quantity.

szPrimaryUnitOfMeasureUOMcharOPTOUTPUT

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

szProductModelPRODMcharOPTOUTPUT

A code that classifies an inventory item into a model for customer service. Some examples include: Laser Printer, Inkjet or Fax.

szProductFamilyPRODFcharOPTOUTPUT

A code that classifies an inventory item into a group for customer service. Some examples include: Laser Printer, Inkjet, or Fax.

szCostTypeCOSTcharOPTOUTPUT

A code that designates each element of cost for an item. Examples of the cost object types are:   o  A1  Purchased raw material   o  B1  
Direct labor routing rollup   o  B2  Setup labor routing rollup   o  C1  Variable burden routing rollup   o  C2  Fixed burden routing rollup   o  Dx  Outside 
operation routing rollup   o  Xx  Extra add-ons, such as electricity and water  The optional add-on computations usually operate with the type 
Xx extra add-ons. This cost structure allows you to use an unlimited number of cost components to calculate alternative cost rollups. The 
system then associates these cost components with one of six user defined summary cost buckets.

Related Functions

None

Related Tables

None
VerifyEPLExists

VerifyEPLExists

F13017 Process Master Equipment Parts List

Minor Business Rule

Object Name: N1300740

Parent DLL: CMFG

Location: Client/Server

Language: NER

Functional Description

Purpose


Verify if an Equipment Parts List exists for the equipment number passed in.


Setup Notes and Prerequisites


Special Logic



Technical Specification


1. Select on the F13017 based on the equipment number passed in.

2. Check if file IO successfull


Return "cExists"

1 - EPL exists

0 - EPL does not exist



Data Structure

D1300740B - Verify Equipment Parts List Exists

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAssetItemNumberNUMBMATH_NUMERICREQINPUT

An 8-digit number that uniquely identifies an asset.

cExistsEV01charOPTOUTPUT

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

Related Functions

None

Related Tables

None