Manufacturing & Distribution
Open Interface
®
Open Interface Architecture
u Three different methods for import and export
data(inbound and outbound)
4 Interface Tables(In)
4 Interface Views(Out)
4 Function Calls or Programmatic Interfaces(In/Out)
®
Interface Tables
u Requires some validation through a concurrent
program
4 You can write directly to the tables if you are familiar
with them
®
Interface Views
u Views simplify the data relationships for easier
processing
4 Ex: mtl_item_quantities_view
u Defined in Technical Reference Manual
u Dynamic Views for Oracle Quality
®
Function Calls
u Tight integration without adding a batch
process to move data
4 Ex: ECO API
4 Ex: PO API
®
Inbound Interface Model
Source
Application
Load
Interface Table Validate Errors
Maintain
or Database View Table
Process
Destination
Application
®
Open Interface Components
u Source Application u Errors Table
u Destination Application u Database View
u Interface Table u Load Function
4 sql loader to temp table
u Identifier Columns
4 temp to interface
u Control Columns
u Validate Function
u Data Columns
u Process Function
4 Required Columns
4 Derived Columns u Maintain Function
4 Optional Columns 4 Ex: open interface window
®
Open Interfaces
u Oracle Inventory u Oracle Purchasing
4 Item Import 4 Requisition Interface
4 Transaction Interface 4 Purchase Interface
4 Replenishment 4 Receiving Interface
4 Cross-Reference u Oracle Bill of Material
4 Cycle Count 4 BOM Import
4 Kanban 4 Routing Import
4 Lot 4 Substitution Import
4 Reservation 4 Designator Import
4 Move Order
®
Open Interfaces
u Oracle Work in Process u Oracle Engineering
4 Job Import 4 ECO Interface
4 Move Transaction
u Order Management
4 Resoruce Transaction
4 Order Import
u Oracle Master Scheduling 4 Sales Order API
4 Forecast Import
u Oracle Quality
4 MPS/MDS Import
4 Result Import
®
Item Import
u Interface Table u Required data
4 mtl_system_items_interface 4 item_number
4 organization_code
u Updated table
4 description
4 mtl_system_items
4 process_flag(1, Pending)
u Concurrent Program 4 transaction_type(CREATE)
4 Import Items
u Errors Table
4 mtl_interface_errors
®
Item Table Relationship
MTL_DESCRIPTIVE_ELEMENTS
MTL_ITEM_CATALOG_GROUPS
•ITEM_CATALOG_GROUP_ID
•ITEM_CATALOG_GROUP_ID
•ELEMENT_NAME
•INVENTORY_ITEM_ID
•ORGANIZATION_ID
MTL_DESCR_ELEMENT_VALUES
•ELEMENT_NAME
•INVENTORY_ITEM_ID
MTL_SYSTEM_ITEMS
•INVENTORY_ITEM_ID,
•ORGANIZATION_ID
MTL_CATEGORY_SETS
•CATEGORY_SET_ID
MTL_ITEM_CATAGORIES •STRUCTURE_ID
•CATEGORY_SET_ID
•INVENTORY_ITEM_ID
FND_ID_FLEX_STRUCTURES
•ORGANIZATION_ID
•STRUCTURE_ID
•CATEGORY_ID
MTL_CATEGORIES
•STRUCTURE_ID
•CATEGORY_ID
®
Transaction Interface
u Interface table u Required data
4 mtl_transactions_interface 4 source_code
4 source_header_id
u Updated table
4 source_line_id
4 mtl_material_transactions
4 process_flag
u Concurrent Program 4 transaction_mode
4 Process transaction 4 organization_id
interface 4 inventory_item_id
u Errors Table 4 transaction_quantity
4 mtl_transaction_interface 4 transaction_uom
4 use pending transaction 4 transaction_date
window to resubmit 4 transaction_type_id
4 who columns ®
Transaction Table Relationship
MTL_MATERIAL_TRANSACTIONS
MTL_TRANSACTION_TYPES
•TRANSACTION_TYPE_ID •TRANSACTION_TYPE_ID
•TRANSACTION_SOURCE_TYPE_ID MTL_SECONDARY_INVENTORIES
•SUBINVENTORY_CODE •SUBINVENTORY_CODE
•LOCATOR_ID
•INVENTORY_ITEM_ID
MTL_TRANSACTION_SOURCE_TYPES
•TRANSACTION_ID
•TRANSACTION_SOURCE_TYPE_ID
MTL_SYSTEM_ITEMS
Cost Manager
•INVENTORY_ITEM_ID
MTL_ITEM_LOCATIONS
•SUBINVENTORY_CODE
MTL_TRANSACTION_ACCOUNTS •INVENTORY_LOCATION_ID
•ITRANSACTION_ID
•REFERENCE_ACCOUNT
•TRANSACTION_VALUE
®
Requisition Interface
u Interface Table u Required data
Who Columns
4 po_requisitions_interface_a 4
4 interface_source_code
ll 4 source_type_code
4 requisition_type
u Updated table 4 destination_type_code
4 item_id
4 po_requisition_headers 4 quantity
4 unit_price
4 po_requisition_lines 4 authorization_status
4 po_req_distributions 4 prepare_id
4 four accounts
uom code
u Concurrent Program 4
4 need_by_date
4 Requisition Import 4 gl_date
4 org_id
destination_organization_id
Errors Table
4
u 4 deliver_to_location_id
deliver_to_requestor_id
4 po_interface_errors 4
®
PO/PR Table Relationships
PO_HEADERS_ALL
PO_REQUISITION_HEADERS_ALL •HEADER_ID
PO_VENDORS
•REQUISITION_HEADER_ID •VENDOR_ID
•VENDOR_ID
•VENDOR_SITE_ID
PO_REQUISITION_LINES_ALL PO_VENDOR_SITES_ALL PO_LINES_ALL
•REQUISITION_HEADER_ID •VENDOR_ID •HEADER_ID
•REQUISITION_LINE_ID •VENDOR_SITE_ID •PO_LINE_ID
•VENDOR_ID •ITEM_ID
•VENDOR_SITE_ID
INVENTORY_ITEM_ID
PO_LINE_LOCATIONS_ALL
•PO_LINE_ID
PO_REQ_DISTRIBUTIONS_ALL
MTL_SYSTEM_ITEMS •LINE_LOCATION_ID
•REQUISITION_LINE_ID
•INVENTORY_ITEM_ID
•DISTRIBUTION_ID
PO_DISTRIBUTIONS_ALL
•PO_LINE_ID
•LINE_LOCATION_ID
•PO_DISTRIBUTION_ID
®
PO Open Interface
u Interface Table u Required data(Header)
4 po_interface_headers 4 interface_header_id
4 po_interface_lines 4 interface_source_id
4 batch_id
u Updated table
4 action
4 po_headers
4 document_type_code
4 po_lines
4 document_subtype
4 po_line_locations
4 group_code
4 po_distributions
4 vendor_id
u Global API 4 vendor_site_id
4 po_interface_s.create_docu 4 agent_id
ments 4 org_id
u Errors Table 4 who columns ®
PO Open Interface
u Required Data(Lines)
4 interface header id
4 interface line id
4 action
4 line_num
4 shipment num
4 who columns
®
PO/PR Table Relationships
PO_HEADERS_ALL
PO_REQUISITION_HEADERS_ALL •HEADER_ID
PO_VENDORS
•REQUISITION_HEADER_ID •VENDOR_ID
•VENDOR_ID
•VENDOR_SITE_ID
PO_REQUISITION_LINES_ALL PO_VENDOR_SITES_ALL PO_LINES_ALL
•REQUISITION_HEADER_ID •VENDOR_ID •HEADER_ID
•REQUISITION_LINE_ID •VENDOR_SITE_ID •PO_LINE_ID
•VENDOR_ID •ITEM_ID
•VENDOR_SITE_ID
INVENTORY_ITEM_ID
PO_LINE_LOCATIONS
•PO_LINE_ID
PO_REQ_DISTRIBUTIONS_ALL
MTL_SYSTEM_ITEMS •LINE_LOCATION_ID
•REQUISITION_LINE_ID
•INVENTORY_ITEM_ID
•DISTRIBUTION_ID
PO_DISTRIBUTIONS
•PO_LINE_ID
•LINE_LOCATION_ID
•PO_DISTRIBUTION_ID
®
Receiving Interface
u Interface Table u Required data(header)
4 rcv_header_interface 4 header interface id
4 rcv_transactions_interface 4 group id
4 processing status code
u Updated table
4 receipt source code
4 rcv_transactions
4 transaction type
4 rcv_shipment_headers
4 who columns
4 rcv_shipment_lines
4 vendor name
u Concurrent Program 4 validation flag
4 Receiving Transaction
Processor
u Errors Table
4 mtl_interface_errors ®
Receiving Interface
u Required Data u Required Data
4 interface transaction id 4 auto transact code
4 group id 4 receipt source code
4 who columns 4 vendor id
4 transaction type 4 source document code
4 transaction date 4 po header id
4 processing status code 4 header interface id
4 processing mode code 4 validation flag
4 transaction status code
4 quantity
4 unit of measure
4 item description
®
Receiving Table Relationship
PO_HEADERS_ALL
RCV_SHIPMENT_HEADERS
RCV_TRANSACTIONS •HEADER_ID
•SHIPMENT_HEADER_ID
•TRANSACTION_ID
•RECEIPT_NUM
•TRANSACTION_TYPE
•PO_HEADER_ID
RCV_SHIPMENT_LINES •PO_LINE_ID
PO_LINES_ALL
•SHIPMENT_HEADER_ID •SHIPMENT_HEADER_ID
•HEADER_ID
•SHIIPMENT_LINE_ID •SHIPMENT_LINE_ID
•PO_LINE_ID
•PO_LINE_LOCATION_ID •LOCATION_ID
•INVENTORY_ITEM_ID
PO_LINE_LOCATIONS_ALL
•PO_LINE_ID
•LINE_LOCATION_ID
®
BOM Header Import
u Interface Table u Required data
4 bom_bill_of_mtls_interface 4 process_flag
select lookup_code, meaning
u Updated table from mfg_lookups
4 bom_bill_of_materials where lookup_type =
'BOM_INTERFACE_STATUS'
u Concurrent Program 4 organization_id
4 Bill and Routing Interface 4 assembly_item_id
u Errors Table 4 assembly_type
4 mtl_interface_errors – 1 (m-bom), 2(e-bom)
4 transaction_type
– Create, Delete , Update
®
BOM Component Import
u Interface Table u Required data
4 bom_inventory_comps_inter 4 component_item_id
face 4 component_sequence_id
u Updated table 4 operation_seq_num
4 bom_inventory_components 4 effectivity_date
4 bill_sequence_id
u Concurrent Program 4 transaction_type
4 Bill and Routing Interface 4 process_flag
u Errors Table
4 mtl_interface_errors
®
BOM Designator Import
u Interface Table u Required data
4 bom_ref_desgs_interface 4 component_reference_desog
antor
u Updated table 4 component_sequence_id
4 bom_reference_designators
4 process_flag
u Concurrent Program 4 transaction_type
4 Bill and Routing Interface
u Errors Table
4 mtl_interface_errors
®
BOM Substitution Import
u Interface Table u Required data
4 bom_sub_comps_interface 4 substitute_component_id
4 substitute_item_quantity
u Updated table
4 component_sequence_id
4 bom_substitute_components
4 process_flag
u Concurrent Program 4 transaction_type
4 Bill and Routing Interface
u Errors Table
4 mtl_interface_errors
®
BOM Table Relationship
BOM_BILL_OF_MATERIALS
1
bill_sequence_id
n
BOM_INVENTORY_COMPONENTS
1 1
component_sequence_id
n n
BOM_SUBSTITUTE_COMPONENTS BOM_REFERENCE_DESIGNATORS
®
Routing Header Import
u Interface Table u Required data
4 bom_op_routings_interfac 4 process_flag
e 4 organization_id
u Updated table 4 assembly_item_id
4 bom_operational_routings 4 routing_type
4 transaction_type
u Concurrent Program
4 Bill and Routing Interface
u Errors Table
4 mtl_interface_errors
®
Routing Operation Import
u Interface Table u Required data
4 bom_op_sequences_interfa 4 process_flag
ce 4 routing_sequence_id
u Updated table 4 operation_seq_num
4 bom_operation_sequences 4 department_id
4 effectivity_date
u Concurrent Program 4 transaction_type
4 Bill and Routing Interface
u Errors Table
4 mtl_interface_errors
®
Routing Resource Import
u Interface Table u Required data
4 bom_op_resources_interfa 4 process_flag
ce 4 resource_seq_num
u Updated table 4 resource_id
4 bom_operation_resources 4 operation_sequence_id
4 transaction_type
u Concurrent Program
4 Bill and Routing Interface
u Errors Table
4 mtl_interface_errors
®
Routing Table Relationship
BOM_OPERATIONAL_ROUTINGS
1
routing_sequence_id
n
BOM_OPERATION_SEQUENCES
1
operation_sequence_id
n
BOM_OPERATION_RESOURCES
®
Forecast Interface
u Interface Table u Required data
4 mrp_forecast_interface 4 organization_id
4 forecast_designator
u Updated table
4 inventory_item_id
4 mrp_forecast_items
4 forecast_date
4 mrp_forecast_dates
4 quantity
u Concurrent Program 4 process_status
4 planning manager – mfg_lookup code
u Errors Table – MRP_INTERFACE_PROCESS_TYPE
4 mrp_forecast_interface 4 confidence_percentage
®
MPS/MDS Interface
u Interface Table u Required data
4 mrp_schedule_interface 4 organization_id
4 schedule_designator
u Updated table
4 inventory_item_id
4 mrp_schedule_items
4 schedule_date
4 mrp_schedule_dates
4 schedule_quantity
u Concurrent Program 4 process_status
4 planning manager
u Errors Table
4 mrp_schedule_interface
®
MRP Table Relationship
MRP_SCHEUDLE_DESIGNATORS MRP_PLANS
•SCHEDULE_DESIGNATOR •COMPILE_DESIGNATOR
MRP_DESIGNATORS
•COMPILE_DESIGNATOR
MRP_SCHEDULE_DATES MRP_SCHEDULE_ITEMS MTL_SYSTEM_ITEMS
•SCHEDULE_DESIGNATOR •SCHEDULE_DESIGNATOR
•INVENTORY_ITEM_ID •IVENTORY_ITEM_ID •INVENTORY_ITEM_ID
•SCHEDULE_DATE
BOM_CALENDAR_DATES
•CALENDAR_DATE
®
WIP Job Import
u Interface Table u Required data
4 wip_job_schedule_interface 4 group_id
4 process_type
u Updated table
– code: wip_job_status
4 wip_entities
4 organization_id
4 wip_discrete_jobs
4 load_type (std, rep,non-std)
4 wip_operations
4 status_type(release, etc)
4 wip_requirement_operations
4 primary_item_id
4 wip_operation_resources
4 job_name
u Concurrent Program 4 start_quantity
4 WIP Mass Load 4 process_phase(2)
4 process_status(1)
u Errors Table
4 first_unit_start_date
4 wip_interface_errors
4 who columns ®
Move Transaction Interface
u Interface Table u Required data
4 wip_move_txn_interface 4 process_phase
4 process_status
u Updated table
4 organization_code
4 wip_move_transactions
4 transaction_date
4 wip_transactions
4 fm_operation_seq_num
4 wip_cost_txn_interface
4 fm_intraoperation_step_type
4 others
4 to_operation_seq_num
u Concurrent Program 4 to_intraoperation_step_type
4 WIP Move Transaction 4 transaction_quantity
Manager 4 transaction_uom
u Errors Table
4 wip_move_txn_interface ®
Resource Transaction Interface
u Interface Table u Required data
4 wip_cost_txn_interface 4 process_phase
4 process_status
u Updated table
4 transaction_type
4 wip_transactions
4 organization_code
4 others
4 wip_entity_name
u Concurrent Program 4 transaction_date
4 Cost Management 4 operation_seq_num
u Errors Table 4 resource_seq_num
4 wip_cost_txn_interface 4 transaction_quantity
4 transaction_uom
®
WIP Job Table Relationship
WIP_ENTITIES
1
wip_entity_id
n
WIP_DISCRETE_JOBS
1
wip_entity_id
n
WIP_OPERATIONS
1 wip_entity_id 1
n operation_seq_num n
WIP_OPERATION_RESOURCES WIP_REQUIREMENT_OPERATIONS
®
WIP Transaction Relationship
Batch move
transaction update
WIP_MOVE_TRANSACTIONS WIP_MOVE_TXN_INTERFACE
on line
move transaction
update WIP transaction
WIP_TRANSACTIONS
manager
select when cost_update_id
is null or -1
Cost Manager
WIP_COST_TXN_INTERFACE
accumulate cost when same
account_period_id and
wip_entity_id
OSP PO
WIP_PERIOD_BALANCES WIP_TRANSACTION_ACCOUNTS Delivered
®
ECO Import
u Interface Table u Required Data
4 eng_eng_changes_interface 4 ECO Header
4 eng_revised_items_interface – ECO Number
4 bom_inventory_comps_inter – organization id
face – status type
4 bom_ref_desgs_interface – change order type
4 bom_sub_comps_interface 4 ECO Revised Item
u Update Table – Change Number
4 eng_engineering_changes – Revised Item id
4 eng_revised_items – effectivity date
4 eng_revised_components
u Global API
®
4 ENG_Eco_PUB
ECO Table Relationship
ENG_CHANGE_ORDER_TYPES
BOM_BILL_OF_MATERIALS
ENG_ENGINEERING_CHANGES
BOM_INVENTORY_COMPONENTS
ENG_REVISED_ITEMS
Implement
BOM SUBSTITUTE BOM REFERENCE
COMPONENTS DESIGNATORS
ENG_REVISED_COMPONENTS
®
Quality
u Interface
4 QA_RESULTS_INTERFACE
– q_<plan_name>_iv
u Manager
4 Collection Import Manager
®
q_<plan_name>_iv
u Updated table u Required data
4 qa_results 4 process_status
– pending,runnint,
u Concurrent Program
– error,complete
4 collection import manager
4 organization_code
u Errors Table 4 plan_name
4 qa_interface_errors 4 insert_type
– 1,null: insert
– 2: update
®
Sales Order Import
u Inteface Tables u Required Data(Headers)
4 oe_headers_iface_all 4 orig_sys_document_ref
4 oe_lines_interface 4 order type
4 order source
u Update Tables
4 tax
4 om_order_headers_all
4 who columns
4 om_order_lines_all
4 operation code
u Concurrent Program
4 Order Import
®
Order Import
u Required Data(Lines)
4 order source id
4 orig_sys_document_ref
4 orig_sys_line_ref
4 orig_sys_shipment_ref
4 inventory item
4 requested date
4 delivery lead time
4 delivery id
4 ordered quantity
4 order quantity uom
®
Sales Order API
u Sales Order Object u Operations(Process_Order)
4 Headers 4 Pricing
4 Order Price Adjustments 4 Scheduling/Reservation
4 Order Sales Credits 4 Return Lines
4 Lines 4 Sets(Ship, Arrival, fulfillment)
4 Line Price Adjustments 4 Tax
4 Line Sales Credits 4 Book
4 Lot Serial Number 4 Split
4 Pricing Attributes 4 Cancel
4 Adjustment Attributes 4 Apply Automatic Attachments
4 Adjustment Association 4 Apply Hold
4 Release Hold
4 Delink Config ®