Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Tecumseh Project
Blink Consulting, Inc September 28, 20111 MD050 Inventory by Location 1.0
Referenced Documents Document Name MD050 Inventory by Location Description Report Functional Design Document Owner Tecumseh Functional Team Location
Reviewers
Name
Position
V 1.0
Page 2 of 16
Contents
Introduction.............................................................................................4 Description...........................................................................................................4 Business Needs.....................................................................................................4 User Procedures....................................................................................................4 Process Overview:.................................................................................................5 Module list.............................................................................................................5 Report Assumptions .............................................................6
Column headings .................................................................................................7 Field Derivation Rules...........................................................................................8 Subtotal by/ Total by/ Sort by...............................................................................8 Report Design..........................................................................................9 Report Flow...........................................................................................................9 Technical Approach ...............................................................................10 Report Logic........................................................................................................10 Report Setup Steps.............................................................................................13 Integration Discussion............................................................................14 Integration with other systems (Interfaces).......................................................14 Changes Required...............................................................................................14 Incompatibilities..................................................................................................14 Access and Schedule ..........................................................................................14 Open and Closed Issues for this Deliverable............................................15 Open Issues........................................................................................................15 Closed Issues......................................................................................................15 Appendix...............................................................................................16 Appendix 1..........................................................................................................16 Appendix 2..........................................................................................................16
V 1.0
Page 3 of 16
Introduction
This document describes the technical design of the MD050 Inventory by Location Report This document includes: A description of the basic business requirements for the report Definition of specific terms that the reader needs to better understand the document Design assumptions for this Report Any applicable business processes associated with this report The layout of the Report
Description
The purpose of this report is to provide the ability to see the inventory and its location on the shop floor for the specified organization.
Business Needs
The following business needs will be met with this Report: This report should be able to list each item, the quantity in the location, cost, extended cost and item categories. TPCO Inventory By Location report should print in Pipe delimited format..
User Procedures
In order to run this report, you must perform the following steps: Navigate to Concurrent report submission Form. Select TPCO Inventory by Location Report. Input the Parameter : Org (Required) Input the Parameter : Subinventory (Optional) Input the Parameter : Summary By Parts :- Yes/No (Default - No)
V 1.0
Page 4 of 16
Process Overview:
This document describes the technical design of DBI Inventory By Location Report. This report will outline the following data elements. This report should display the following data elements. (a) (b) (c) (d) (e) (f) (g) (h) (i) (j) (k) (l) Org Sub Locator Item Item Description On Hand Std Cost Extend Cost Item Catalog Category Make or Buy Product Planner
Module list
Inventory Manufacturing
V 1.0
Page 5 of 16
Report Assumptions
Report based on parameter values. If report is not summary by part then it will print with sub inventory And Location. If report is summary by part then it will not contain Sub inventory and Locator information. This Report is org specific and will be run from the respective responsibilities. Source for the report header Details (i.e., Item Number, On-hand, Locator etc.) will be Inventory Tables The output of the report will be pipe delimited file.
V 1.0
Page 6 of 16
Column headings
Org Org is derived from Organization definition table. Sub Sub is derived from. Locator Locator is concatenated segments in Inventory Locations Table, also can be derived from KFV table Item Item is segment 1 from Inventory Item table Item-Description Item-description is description from Inventory Item Table On-Hand On-Hand is Primary Transaction Quantity from On hand Quantities Detail Table Std-Cost Std-Cost is Transaction Amount in Material Transactions Table Extend Cost Extend Cost derived by calculation of std-cost and on-hand i.e. (std-cost * on-hand) Item Catalog Category Item Catalog Category is Segment1 from categories table Make Or Buy Make or buy derived from Meaning column in MFG Lookups Product Product is Segment2 from categories table Planner Planner is Planning Organization Id from On hand Quantities Detail
V 1.0
Page 7 of 16
Column Heading
Field Definitions
Org Sub Locator Item Item Description On-Hand Std Cost Extend Cost Item Catalog Category Make or Buy Product Planner
ORGANIZATION_CODE. ORG_ORGANIZATION_DEFINITIONS
DESCRIPTION. MTL_SYSTEM_ITEMS
TRANSACTION_QUANTITY. MTL_ONHAND_QUANTITIES_DETAIL TRANSACTION_COST. MTL_MATERIAL_TRANSACTIONS (STD COST * EXTEND COST) SEGMENT1. MTL_CATEGORIES_B MEANING. MFG_LOOKUPS SEGMENT2. MTL_CATEGORIES_B PLANNING_ORGANIZATION_ID. MTL_ONHAND_QUANTITIES_DETAIL
V 1.0
Page 8 of 16
Report Design
Report Flow
This Data Flow Diagram describes the processes of obtaining the Report output as per the requirements: 1. Execute the Report Concurrent Program after supplying the input parameter. 2. The Report output will be generated. 3. Copy the Data from output file and export into MS-Office Excel (With | Separated Format)
Enter Parameter to run the concurrent program (TPCO Inventory By Location Report)
V 1.0
Page 9 of 16
Technical Approach
Concurrent Program RDF TPCO Inventory By Location Report
Report Logic
Get the Period Name as the input parameter. Print Column names of the report in the output file with comma (|) separator. Parameter Summary by Part is Default No Step 1) For Summary by Part is No Output will printed with Sub Inventory and Location --with subinventory and locator --------------------------SELECT org.organization_code org, moq.subinventory_code sub_code, mil.segment1 || '.' || mil.segment2 || '.' || mil.segment3 || mil.segment4 "LOCATOR", msi.segment1 item, msi.description, SUM (moq.transaction_quantity) on_hand, csc.standard_cost std_cost, SUM (moq.transaction_quantity) * (csc.standard_cost) extend_cost, micg.segment1 item_catelog_category, DECODE (msi.planning_make_buy_code, 1, 'Make', 2, 'Buy' ) make_or_buy, emsi.c_ext_attr15 || ' ' || micg.segment1 product, msi.planner_code planner FROM mtl_system_items_b msi, mtl_onhand_quantities_detail moq, mtl_item_locations mil, cst_standard_costs csc, apps.ego_mtl_sy_items_ext_b emsi, org_organization_definitions org, mtl_item_catalog_groups micg WHERE msi.inventory_item_id = moq.inventory_item_id AND msi.organization_id = moq.organization_id AND moq.locator_id = mil.inventory_location_id AND moq.organization_id = mil.organization_id AND msi.inventory_item_id = csc.inventory_item_id AND msi.organization_id = csc.organization_id AND csc.standard_cost =
V 1.0
Page 10 of 16
AND
ORDER BY
(SELECT MAX (cscv.standard_cost) FROM apps.cst_standard_costs cscv WHERE cscv.organization_id = msi.organization_id AND cscv.inventory_item_id = msi.inventory_item_id) emsi.attr_group_id = (SELECT eag.attr_group_id FROM apps.ego_attr_groups_v eag WHERE eag.attr_group_name = 'COMPRESSOR_MODEL_ATTRIBUTES') emsi.inventory_item_id = msi.inventory_item_id msi.item_catalog_group_id = micg.item_catalog_group_id msi.organization_id = org.organization_id msi.enabled_flag = 'Y' org.organization_code = :org -- Parameter moq.subinventory_code = NVL (:subinventory, moq.subinventory_code) -- Parameter org.organization_code, moq.subinventory_code, mil.segment1 || '.' || mil.segment2 || '.' || mil.segment3 || mil.segment4, msi.segment1, msi.description, csc.standard_cost, micg.segment1, DECODE (msi.planning_make_buy_code, 1, 'Make', 2, 'Buy'), emsi.c_ext_attr15 || ' ' || micg.segment1, msi.planner_code msi.segment1, org.organization_code, moq.subinventory_code, mil.segment1 || '.' || mil.segment2 || '.' || mil.segment3 || mil.segment4;
Print the records in the output file with comma (|) separator. Step 2) For Summary by Part is Yes Output will printed without Sub Inventory and Location --without subinventory and locator ---------------------------
SELECT
org.organization_code org, msi.segment1 item, msi.description, SUM (moq.transaction_quantity) on_hand, csc.standard_cost std_cost, SUM (moq.transaction_quantity) * (csc.standard_cost) extend_cost, micg.segment1 item_catelog_category, DECODE (msi.planning_make_buy_code, 1, 'Make', 2, 'Buy' ) make_or_buy, emsi.c_ext_attr15 || ' ' || micg.segment1 product, msi.planner_code planner FROM mtl_system_items_b msi, cst_standard_costs csc, mtl_onhand_quantities_detail moq, apps.ego_mtl_sy_items_ext_b emsi, org_organization_definitions org, mtl_item_catalog_groups micg WHERE 1 = 1 AND msi.inventory_item_id = moq.inventory_item_id
V 1.0
Page 11 of 16
AND
ORDER BY
msi.organization_id = moq.organization_id msi.inventory_item_id = csc.inventory_item_id msi.organization_id = csc.organization_id csc.standard_cost = (SELECT MAX (cscv.standard_cost) FROM apps.cst_standard_costs cscv WHERE cscv.organization_id = msi.organization_id AND cscv.inventory_item_id = msi.inventory_item_id) emsi.attr_group_id = (SELECT eag.attr_group_id FROM apps.ego_attr_groups_v eag WHERE eag.attr_group_name = 'COMPRESSOR_MODEL_ATTRIBUTES') emsi.inventory_item_id = msi.inventory_item_id msi.item_catalog_group_id = micg.item_catalog_group_id msi.organization_id = org.organization_id msi.enabled_flag = 'Y' org.organization_code = :org -- Parameter org.organization_code, msi.segment1, msi.description, csc.standard_cost, micg.segment1, DECODE (msi.planning_make_buy_code, 1, 'Make', 2, 'Buy'), emsi.c_ext_attr15 || ' ' || micg.segment1, msi.planner_code msi.segment1, org.organization_code;
Print the records in the output file with comma (|) separator.
(Required, Default) Required (Default: Current Org) Optional, can be selected, or left blank Yes/No (Default: No)
V 1.0
Page 12 of 16
Table name <Program name> ORG_ORGANIZATION_DEFINITIONS MTL_SYSTEM_ITEMS MTL_ITEM_SUB_INVENTORIES MTL_ITEM_LOCATIONS_KFV MTL_ONHAND_QUANTITIES MTL_ONHAND_QUANTITIES_DETAIL MTL_MATERIAL_TRANSACTIONS MTL_ITEM_CATEGORIES MTL_CATEGORIES_B MFG_LOOKUPS
Insert No
Select
Update
Delete
Program Units (Re-usable components) N/A. APIs/Other Program N/A. Sequences/Synonyms/Triggers N/A.
V 1.0
Page 13 of 16
Integration Discussion
Integration with other systems (Interfaces)
Legacy Systems N/A. Other Products N/A.
Changes Required
N/A.
Incompatibilities
N/A.
V 1.0
Page 14 of 16
ID
Issue
Resolution
Responsibility
Target Date
Impact Date
Closed Issues
ID
Issue
Resolution
Impact Date
V 1.0
Page 15 of 16
Appendix
Appendix 1
N/A.
Appendix 2
N/A.
V 1.0
Page 16 of 16