technical document table details

6
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=1indicates 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

Upload: thirupathireddy-tanigundala

Post on 05-Mar-2015

158 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Technical Document Table Details

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

BOM_OP_ROUTINGS_INTERFACEBOM_OP_SEQUENCES_INTERFACE BOM_OP_RESOURCES_INTERFACE

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

BOM_OP_ROUTINGS_INTERFACE

--------------------------------------------

Required columns:

PROCESS_FLAGASSEMBLY_ITEM_ID ORGANIZATION_ID ROUTING_TYPE

PROCESS_FLAG=1indicates the current state of processing for a row in the interface table.

1 - Pending2 - Assigned Succeeded3 - Assign/Validation Failed4 - Validation Succeeded7 - 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_TYPEvalues 1,2

1-Manufacturing

Page 2: Technical Document Table Details

2—Engineering

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 columnsusing the same logic as the Define Routing form or the Define Engineering Routing form. When you populate a column in the interfacetable, 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_NUMBERcolumn, 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

Page 3: Technical Document Table Details

Required Columns:

PROCESS_FLAG1(Pending)

PROCESS_FLAGROUTING_SEQUENCE_IDOPERATION_SEQ_NUMDEPARTMENT_IDEFFECTIVITY_DATE

Derived:

1. OPERATION_SEQUENCE_ID Sequence OM_OPERATIONAL_SEQUENCES_S

2. ROUTING_SEQUENCE_ID From BOM_OP_ROUTINGS_INTERFACE or

BOM_OPERATIONAL_ROUTINGS3. LAST_UPDATE_DATE System Date4. LAST_UPDATE_BY Userid5. CREATION_DATE System Date6. CREATED_BY Userid7. STANDARD_OPERATION_ID From OPERATION_CODE8. DEPARTMENT_ID From DEPARTMENT_CODE 9. MINIMUM_TRANSFER_QUANTITY 010. COUNT_POINT_TYPE 111. EFFECTIVITY_DATE System Date 12. BACKFLUSH_FLAG 113. REQUEST_ID From FND_CONCURRENT_REQUESTS14. ASSEMBLY_ITEM_ID From ASSEMBLY_ITEM_NUMBER15. OPTION_DEPENDENT_FLAG 216. ORGANIZATION_ID From ORGANIZATION_CODE17. RESOURCE_ID1 From RESOURCE_CODE118. RESOURCE_ID2 From RESOURCE_CODE219. 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

Page 4: Technical Document Table Details

)VALUES (1,&assembly_item_id,&organization_id,&operation_seq_num,&department_id,&effectivity_date,'insert');

BOM_OP_RESOURCES_INTERFACE TABLE

REQUIREDPROCESS_FLAG1RESOURCE_SEQ_NUM RESOURCE_ID OPERATION_SEQUENCE_IDDERIVED:OPERATION_SEQUENCE_ID Sequence BOM_OP_SEQUENCES_INTERFACE or BOM_OPERATION_SEQUENCES_SRESOURCE_ID From RESOURCE_CODEACTIVITY_ID From ACTIVITYSTATDARD_RATE_FLAG From BOM_RESOURCES.STANDARD_RATE_FLAGASSIGNED UNITS 1USAGE_RATE_OR_AMOUNT 1USAGE_RATE_OR_AMOUNT_INVERSE 1BASIS_TYPE From BOM_RESOURCES.DEFAULT_BASISSCHEDULE_FLAG 2LAST_UPDATE_DATE System DateLAST_UPDATED_BY UseridCREATION_DATE System DateCREATED_BY UseridAUTOCHARGE_TYPE From BOM_RESOURCES.AUTOCHARGE_TYPEREQUEST_ID From FND_CONCURRENT_REQUESTSASSEMBLY_ITEM_ID From ASSEMBLY_ITEM_NUMBERORGANIZATION_ID From ORGANIZATION_CODEROUTING_SEQUENCE_ID From BOM_OP_ROUTINGS_INTERFACE or

BOM_OPERATIONAL_ROUTINGSINSERT INTO bom_op_resources_interface(process_flag,resource_seq_num

Page 5: Technical Document Table Details

,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-operations-and.html