Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

To import a routing with operations and resources, you need to populate the following tables: BOM_OP_ROUTINGS_INTERFACE BOM_OP_SEQUENCES_INTERFACE BOM_OP_RESOURCES_INTERFACE

With these three tables, you can create routing header information and assign operation and resource details.

BOM_OP_ROUTINGS_INTERFACE -------------------------------------------Required columns: PROCESS_FLAG ASSEMBLY_ITEM_ID ORGANIZATION_ID ROUTING_TYPE

PROCESS_FLAG=1 indicates the current state of processing for a row in the interface table. 1 - Pending 2 - Assigned Succeeded 3 - Assign/Validation Failed 4 - Validation Succeeded 7 - Import Succeeded If the routing you import references a common routing, you must enter a value in the COMMON_ASSEMBLY_ITEM_ID or the COMMON_ROUTING_SEQUENCE_ID columns. Routings can only reference common routings that belong to the same organization. If the routing does not reference a common routing, the Bill and Routing Interface program defaults the value of the ROUTING_SEQUENCE_ID for the COMMON_ROUTING_SEQUENCE_ID.

ROUTING_TYPE values 1,2 1-Manufacturing 2Engineering

By default Oracle Bills of Material defaults a value of 1 (manufacturing) and creates a manufacturing routing.

Derived or Defaulted Columns:

The Bill and Routing Interface program derives or defaults most of the data required to create a manufacturing or engineering routing. The Bill and Routing Interface program derives or defaults the columns using the same logic as the Define Routing form or the Define Engineering Routing form. When you populate a column in the interface table, the program imports the row with the data you included and does not default a value.

If you enter a value for the ASSEMBLY_ITEM_NUMBER or COMMON_ITEM_NUMBER column, you must insert the system item flexfield separator between each segment of your item number.

INSERT INTO bom_op_routing_interface (process_flag ,assembly_item_id ,organization_id ,routing_type ,transaction_type ) VALUES (1 ,&inventory_item_id ,&organization_id ,1 ,'insert' );

BOM_OP_SEQUENCES_INTERFACE TABLE

Required Columns:

PROCESS_FLAG 1(Pending) PROCESS_FLAG ROUTING_SEQUENCE_ID OPERATION_SEQ_NUM DEPARTMENT_ID EFFECTIVITY_DATE

Derived: 1. OPERATION_SEQUENCE_ID Sequence OM_OPERATIONAL_SEQUENCES_S 2. ROUTING_SEQUENCE_ID From BOM_OP_ROUTINGS_INTERFACE or BOM_OPERATIONAL_ROUTINGS 3. LAST_UPDATE_DATE System Date 4. LAST_UPDATE_BY Userid 5. CREATION_DATE System Date 6. CREATED_BY Userid 7. STANDARD_OPERATION_ID From OPERATION_CODE 8. DEPARTMENT_ID From DEPARTMENT_CODE 9. MINIMUM_TRANSFER_QUANTITY 0 10. COUNT_POINT_TYPE 1 11. EFFECTIVITY_DATE System Date 12. BACKFLUSH_FLAG 1 13. REQUEST_ID From FND_CONCURRENT_REQUESTS 14. ASSEMBLY_ITEM_ID From ASSEMBLY_ITEM_NUMBER 15. OPTION_DEPENDENT_FLAG 2 16. ORGANIZATION_ID From ORGANIZATION_CODE 17. RESOURCE_ID1 From RESOURCE_CODE1 18. RESOURCE_ID2 From RESOURCE_CODE2 19. RESOURCE_ID3 From RESOURCE_CODE3 INSERT INTO bom_op_sequences_interface (process_flag ,assembly_item_id ,organization_id ,operation_seq_num ,department_id ,effectivity_date ,transaction_type ) VALUES (1 ,&assembly_item_id ,&organization_id ,&operation_seq_num ,&department_id

,&effectivity_date ,'insert' );

BOM_OP_RESOURCES_INTERFACE TABLE REQUIRED PROCESS_FLAG 1 RESOURCE_SEQ_NUM RESOURCE_ID OPERATION_SEQUENCE_ID DERIVED: OPERATION_SEQUENCE_ID Sequence BOM_OP_SEQUENCES_INTERFACE or BOM_OPERATION_SEQUENCES_S RESOURCE_ID From RESOURCE_CODE ACTIVITY_ID From ACTIVITY STATDARD_RATE_FLAG From BOM_RESOURCES.STANDARD_RATE_FLAG ASSIGNED UNITS 1 USAGE_RATE_OR_AMOUNT 1 USAGE_RATE_OR_AMOUNT_INVERSE 1 BASIS_TYPE From BOM_RESOURCES.DEFAULT_BASIS SCHEDULE_FLAG 2 LAST_UPDATE_DATE System Date LAST_UPDATED_BY Userid CREATION_DATE System Date CREATED_BY Userid AUTOCHARGE_TYPE From BOM_RESOURCES.AUTOCHARGE_TYPE REQUEST_ID From FND_CONCURRENT_REQUESTS ASSEMBLY_ITEM_ID From ASSEMBLY_ITEM_NUMBER ORGANIZATION_ID From ORGANIZATION_CODE ROUTING_SEQUENCE_ID From BOM_OP_ROUTINGS_INTERFACE or BOM_OPERATIONAL_ROUTINGS INSERT INTO bom_op_resources_interface (process_flag ,resource_seq_num ,resource_id ,assembly_item_id ,organization_id ,operation_seq_num ,effectivity_date ,transaction_type ) VALUES (1 ,&resource_seq_num

,&resource_id ,&assembly_item_id ,&organization_id ,&operation_seq_num ,&effectivity_date ,'insert' );


http://sairamgoudmalla.blogspot.com/2010/08/to-import-routing-with-operationsand.html

You might also like