Conversion & Interfaces
Conversion & Interfaces
Conversion & Interfaces
Requisition import
Pre-requisites:
Employees
Items
PO_REQUISITIONS_INTERFACE_ALL
PO_REQ_DIST_INTERFACE_ALL
PO_REQUISITIONS_HEADERS_ALL
PO_REQUISITION_LINES_ALL
PO_REQ_DISTRIBUTIONS_ALL
Concurrent program:
REQUISITION IMPORT
Validations:
PO_REQUISITIONS_INTERFACE_ALL :
DESTINATION_TYPE_CODE
AUTHORIZATION_STATUS
PREPARER_ID or PREPARER_NAME
QUANTITY
DESTINATION_ORGANIZATION_ID or
DESTINATION_ORGANIZATION_CODE
DELIVER_TO_LOCATION_ID or DELIVER_TO_LOCATION_CODE
DELIVER_TO_REQUESTOR_ID or DELIVER_TO_REQUESTOR_NAME
ORG_ID
PO_REQ_DIST_INTERFACE_ALL :
DISTRIBUTION_NUMBER
DESTINATION_ORGANIZATION_ID
DESTINATION_TYPE_CODE
INTERFACE_SOURCE_CODE
ORG_ID
Pre-requisites:
Buyers
Line Types
Items
PO
Interface Tables:
PO_HEADERS_INTERFACE
PO_LINES_INTERFACE
PO_DISTRIBUTIONS_INTERFACE
PO_INTERFACE_ERRORS (Fallouts)
Interface Program:
Base Tables:
PO_HEADERS_ALL
PO_LINES_ALL
PO_DISTRIBUTIONS_ALL
PO_LINE_LOCATIONS_ALL
Validations:
Header:
Lines :
General:
PO_HEADERS_INTERFACE :
INTERFACE_HEADER_ID (PO_HEADERS_INTERFACE_S.NEXTVAL),
BATCH_ID, ORG_ID, INTERFACE_SOURCE_CODE, ACTION
(‘ORIGINAL’,’UPDATE’,’REPLACE’), GROUP_CODE,
DOCUMENT_TYPE_CODE, PO_HEADER_ID (NULL), RELEASE_ID,
RELEASE_NUM, CURRENCY_CODE, RATE, AGENT_NAME,
VENDOR_ID, VENDOR_SITE_ID, SHIP_TO_LOCATION,
BILL_TO_LOCATION, , PAYMENT_TERMS
PO_LINES_INTERFACE :
INTERFACE_LINE_ID, INTERFACE_HEADER_ID, LINE_NUM,
SHIPMENT_NUM, ITEM, REQUISITION_LINE_ID, UOM, UNIT_PRICE,
FREIGHT_TERMS, FOB
PO_DISTRIBUTIONS_INTERFACE :
INTERFACE_LINE_ID, INTERFACE_HEADER_ID,
INTERFACE_DISTRIBUTION_ID, DISTRIBUTION_NUM,
QUANTITY_ORDERED, QTY_DELIVERED, QTY_BILLED,
QTY_CANCELLED, DELIVER_TO_LOCATION_ID,
DELIVER_TO_PERSON_ID, SET_OF_BOOKS, CHARGE_ACCT,
AMOUNT_BILLED.
Interface Tables:
PO_HEADERS_INTERFACE
PO_LINES_INTERFACE
Interface program:
Base tables:
PO_HEADERS_ALL
PO_LINES_ALL
PO_LINE_LOCATIONS_ALL
Example:
Suppose you want to create a blanket with one line and two price breaks
and the details for the price break are as below:
'31-JUN-2006'
To create the above the BPA, you would create ONE record in
PO_HEADERS_INTERFACE and THREE records in
PO_LINES_INTERFACE
LINE1: It will have only the line information. LINE NUM would be 1.
LINE2: For the first Price Break details, LINE NUM will be the same as
above i.e. 1. SHIPMENT_NUM would be 1 and SHIPMENT_TYPE would
be ‘PRICE BREAK’
LINE3: For the second Price Break details, LINE NUM will be the same as
above i.e. 1. SHIPMENT_NUM would be 2 and SHIPMENT_TYPE would
be ‘PRICE BREAK’
http://www.erpschools.com/Apps/oracle-
applications/articles/financials/Purchasing/Import-Blanket-Purchase-
Agreements/index.aspx
3. Vendor conversion/interface
This interface is used to import suppliers, supplier sites and site contacts
into Oracle applications.
Payment terms
Pay Groups
CCID
Supplier classifications
Bank Accounts
Employees (if employees have to set up as vendors)
Interface tables:
AP_SUPPLIERS_INT
AP_SUPPLIER_SITES_INT
AP_SUP_SITE_CONTACT_INT
Base Tables:
PO_VENDORS
PO_VENDOR_SITES_ALL
PO_VENDOR_CONTACTS
Interface programs:
Validations:
AP_SUPPLIERS_INT :
AP_SUPPLIER_SITES_INT:
AP_SUP_SITE_CONTACTS_INT:
4. AP invoice interface
Pre-requisites:
Employees
Lookups
Interface tables:
AP_INVOICES_INTERFACE
AP_INVOICE_LINES_INTERFACE
Concurrent program:
Validations:
AP_INVOICES_INTERFACE:
INVOICE_ID
INVOICE_NUM
INVOICE_DATE
VENDOR_NUM
VENDOR_SITE_ID
INVOICE_AMOUNT
INVOICE_CURRENCY_CODE
EXCHANGE_RATE
EXCHANGE_RATE_TYPE
EXCHANGE_DATE
DESCRIPTION
SOURCE
PO_NUMBER
PAYMENT_METHOD_LOOKUP_CODE
PAY_GROUP_LOOKUP_CODE
ATTRIBUTE1 TO 15
ORG_ID
AP_INVOICE_LINES_INTERFACE:
INVOICE_ID
INVOICE_LINE_ID
LINE_TYPE_LOOKUP_CODE
AMOUNT
DESCRIPTION
TAX_CODE
PO_NUMBER
PO_LINE_NUMBER
PO_SHIPMENT_NUM
PO_DISTRIBUTION_NUM
PO_UNIT_OF_MEASURE
QUANTITY_INVOICED
DIST_CODE_CONCATENATED
ATTRIBUTE1
ATTRIBUTE2
ATTRIBUTE3
ATTRIBUTE4
ATTRIBUTE5
ORG_ID
The Item Interface lets you import items into Oracle Inventory.
Pre-requisites:
Creating an Organization
Code Combinations
Templates
Defining Item Status Codes
Item import
In the item import parameters form, for the parameter 'set process id',
specify the 'set process id' value given in
the mtl_item_categories_interface table. The parameter 'Create or Update'
can have any value. Through the import process, we can only create item
category assignment(s). Updating or Deletion of item category assignment
is not supported.
Base Tables:
MTL_SYSTEM_ITEMS_B
MTL_ITEM_REVISIONS_B
MTL_CATEGORIES_B
MTL_CATEGORY_SETS_B
MTL_ITEM_STATUS
MTL_ITEM_TEMPLATES
Validations:
Check for valid template id. (Attributes are already set for items,
default attributes for that template, i.e., purchasable, stockable, etc )
Check for unique item type. Discard the item, if part has non-
unique item type.
MTL_SYSTEM_ITEMS_INTERFACE:
SET_PROCESS_ID = 1
ORGANIZATION_ID
DESCRIPTION
MATERIAL_COST
REVISION
TEMPLATE_ID
SUMMARY_FLAG
ENABLED_FLAG
PURCHASING_ITEM_FLAG
MTL_PARAMETERS.SALES_ACCOUNT)
MTL_ITEM_CATEGORIES_INTERFACE:
INVENTORY_ITEM_ID or ITEM_NUMBER.
PROCESS_FLAG = 1
MTL_ITEM_REVISIONS_INTERFACE:
REVISION
CHANGE_NOTICE
ECN_INITIATION_DATE
IMPLEMENTATION_DATE
IMPLEMENTED_SERIAL_NUMBER
EFFECTIVITY_DATE
ATTRIBUTE_CATEGORY
ATTRIBUTEn
REVISED_ITEM_SEQUENCE_ID
DESCRIPTION
PROCESS_FLAG = 1
TRANSACTION_TYPE = 'CREATE'
SET_PROCESS_ID = 1
Order Import enables you to import Sales Orders into Oracle Applications
instead of manually entering them.
Pre-requisites:
Order Type
Line Type
Items
Customers
Ship Method/ Freight Carrier
Sales Person
Sales Territories
Customer Order Holds
Sub Inventory/ Locations
On hand Quantity
Interface tables:
OE_HEADERS_IFACE_ALL
OE_LINES_IFACE_ALL
OE_ACTIONS_IFACE_ALL
OE_ORDER_CUST_IFACE_ALL
OE_PRICE_ADJS_IFACE_ALL
OE_PRICE_ATTS_IFACE_ALL
OE_ORDER_HEADERS_ALL
OE_ORDER_LINES_ALL
Pricing tables: QP_PRICING_ATTRIBUTES
Order Import
Validations:
Notes:
ORIG_SYS_DOCUMENT_REF
ORDER_SOURCE
CONVERSION_RATE
ORG_ID
ORDER_TYPE_ID
PRICE_LIST
SOLD_FROM_ORG_ID
SOLD_TO_ORG_ID
SHIP_TO_ORG_ID
SHIP_FROM_ORG_ID
CUSTOMER_NAME
INVOICE_TO_ORG_ID
OPERATION_CODE
OE_LINES_IFACE_ALL
ORDER_SOURCE_ID
ORIG_SYS_DOCUMENT_REF
ORIG_SYS_LINE_REF
ORIG_SYS_SHIPMENT_REF
INVENTORY_ITEM_ID
LINK_TO_LINE_REF
REQUEST_DATE
DELIVERY_LEAD_TIME
DELIVERY_ID
ORDERED_QUANTITY
ORDER_QUANTITY_UOM
SHIPPING_QUANTITY
PRICING_QUANTITY
PRICING_QUANTITY_UOM
SOLD_FROM_ORG_ID
SOLD_TO_ORG_ID
INVOICE_TO_ ORG_ID
SHIP_TO_ORG_ID
PRICE_LIST_ID
PAYMENT_TERM_ID
This interface lets you import the on hand inventory into Oracle.
MTL_TRANSACTIONS_INTERFACE
Base Tables:
MTL_ON_HAND_QUANTITIES
MTL_LOT_NUMBERS
MTL_SERIAL_NUMBERS
Validations:
Validate organization_id
Validate disposition_id
Check if the item for the org is lot controlled before inserting into the Lots
interface table.
Check if the item for the org is serial controlled before inserting into Serial
interface table.
Check if inventory already exists for that item in that org and for a lot.
TRANSACTION_HEADER_ID
(MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL)
TRANSACTION_INTERFACE_ID
(MTL_MATERIAL_TRANSACTIONS_S.NEXTVAL – If item is lot or serial
controlled, use this field to link to mtl_transactions_interface otherwise
leave it as NULL),
TRANSACTION_DATE,
TRANSACTION_TYPE_ID,
SOURCE_CODE,
SOURCE_HEADER_ID,
SOURCE_LINE_ID (Details about the source like Order Entry etc for
tracking purposes)
TRANSACTION_SOURCE_ID
Account GL_CODE_COMBINATIONS.CODE_COMBINATION_ID
Account MTL_GENERIC_DISPOSITIONS.DISPOSITION_ID
Alias
Job or WIP_ENTITIES.WIP_ENTITY_ID
schedule
Sales MTL_SALES_ORDERS.SALES_ORDER_ID
Order
ITEM_SEGMENT1 TO 20,
TRANSACTION_QTY,
TRANSACTION_UOM,
SUBINVENTORY_CODE,
ORGANIZATION_ID,
LOC_SEGMENT1 TO 20.
MTL_TRANSACTION_LOTS_INTERFACE:
TRANSACTION_INTERFACE_ID,
LOT_NUMBER,
LOT_EXPIRATION_DATE,
TRANSACTION_QUANTITY,
MTL_SERIAL_NUMBERS_INTERFACE :
TRANSACTION_INTERFACE_ID,
FM_SERIAL_NUMBER,
TO_SERIAL_NUMBER,
VENDOR_SERIAL_NUMBER
8. GL daily conversion rates
This interface lets you load the rates automatically into General Ledger.
Pre-requisites:
Currencies
GL_DAILY_RATES_INTERFACE
GL_DAILY_RATES
GL_DAILY_CONVERSION_TYPES
You do not need to run any import programs. The insert, update, or
deletion of rates in GL_DAILY_RATES is done automatically by database
triggers on the GL_DAILY_RATES_INTERFACE. All that is required is to
develop program to populate the interface table with daily rates
information.
Validations:
GL_DAILY_RATES_INTERFACE :
FROM_CURRENCY
TO_CURRENCY
FROM_CONVERSION_DATE
TO_CONVERSION_DATE
USER_CONVERSION_TYPE
CONVERSION_RATE