DBA Data[Home] [Help]

APPS.CZ_IMP_PS_NODE dependencies on CZ_REFS

Line 993: CZ_REFS.SolutionBasedModelCheck(nOnlDevlProjectId, nInstances);

989: -- Don't update model_type if it is 'P'
990:
991: IF (sModelType = 'P' AND nModelType NOT IN ('P', 'N')) THEN
992:
993: CZ_REFS.SolutionBasedModelCheck(nOnlDevlProjectId, nInstances);
994:
995: if (nInstances > 0) then
996: begin
997: sModeltype := 'P';

Line 1570: --This was necessary because cz_refs won't update explosions when creating new copies of

1566: EXPLOSION_TYPE=p_xfr_devl_project.EXPLOSION_TYPE AND
1567: MODEL_PS_NODE_ID = p_xfr_devl_project.devl_project_id
1568: RETURNING copy_addl_child_models, source_server INTO copy_child_models, server_id;
1569:
1570: --This was necessary because cz_refs won't update explosions when creating new copies of
1571: --child models. However, this brings in problems when refreshing BOM models with
1572: --eventually created rules. As the functionality of creating new copies of child models
1573: --is frozen, we can go without this thus not having problems refreshing with rules.
1574:

Line 2094: cz_refs.delete_Node(nOnlPsnodeId, cnReference, p_out_err, '1');

2090:
2091: IF(nPsNodeType = cnReference)THEN
2092:
2093: UPDATE cz_ps_nodes SET deleted_flag='1' WHERE ps_node_id = nOnlPsnodeId;
2094: cz_refs.delete_Node(nOnlPsnodeId, cnReference, p_out_err, '1');
2095: sDisposition:='I';
2096: nInsertCount:=nInsertCount+1;
2097: nAllocateCounter:=nAllocateCounter+1;
2098: IF(nAllocateCounter=nAllocateBlock)THEN

Line 3862: -- deletes the nodes logically and calls the cz_refs.delete_node logically to delete the expls

3858: END update_ps_nodes;
3859:
3860:
3861: -- private procdure to delete PS nodes that are no longer present in the cz_imp_ps_nodes of this run id
3862: -- deletes the nodes logically and calls the cz_refs.delete_node logically to delete the expls
3863: -- for refs, connectors and non-virtual components
3864:
3865: PROCEDURE delete_ps_nodes(p_model_id IN NUMBER, x_retcode OUT NOCOPY NUMBER)
3866: IS

Line 3898: cz_refs.delete_Node(l_ps_node_id(i),l_ps_node_type(i), p_out_err, '1');

3894: AND run_id=inRun_Id);
3895:
3896: IF (l_ps_node_id.COUNT > 0) THEN
3897: FOR i IN l_ps_node_id.FIRST..l_ps_node_id.LAST LOOP
3898: cz_refs.delete_Node(l_ps_node_id(i),l_ps_node_type(i), p_out_err, '1');
3899: IF (p_out_err > 0) THEN
3900: l_msg:=CZ_UTILS.GET_TEXT('CZ_IMP_CZREFS_DELNODE',
3901: 'MODELID', p_model_id,
3902: 'NODEID', l_ps_node_id(i),

Line 4051: -- call cz_refs.check_node for ROOT only, for now

4047: IF l_c1_prj_id_tbl(i) <> l_last_model_id THEN
4048:
4049: update_ps_nodes(l_c1_prj_id_tbl(i));
4050:
4051: -- call cz_refs.check_node for ROOT only, for now
4052:
4053: IF l_c1_prj_id_tbl(i)=l_c1_node_id_tbl(i) THEN
4054:
4055: cz_refs.check_Node(l_c1_prj_id_tbl(i),

Line 4055: cz_refs.check_Node(l_c1_prj_id_tbl(i),

4051: -- call cz_refs.check_node for ROOT only, for now
4052:
4053: IF l_c1_prj_id_tbl(i)=l_c1_node_id_tbl(i) THEN
4054:
4055: cz_refs.check_Node(l_c1_prj_id_tbl(i),
4056: l_c1_node_id_tbl(i),
4057: l_c1_max_tbl(i),
4058: l_c1_min_tbl(i),
4059: NULL,

Line 4206: cz_refs.check_Node(l_c2_prj_id_tbl(i),

4202: -- call check_node for ROOT node only
4203:
4204: IF l_c2_prj_id_tbl(i)=l_c2_node_id_tbl(i) THEN
4205:
4206: cz_refs.check_Node(l_c2_prj_id_tbl(i),
4207: l_c2_node_id_tbl(i),
4208: l_c2_max_tbl(i),
4209: l_c2_min_tbl(i),
4210: NULL,

Line 4319: cz_refs.check_Node(l_c3_prj_id_tbl(i),

4315:
4316: -- call check_node for ROOT only, for now
4317: IF l_c3_prj_id_tbl(i)=l_c3_node_id_tbl(i) THEN
4318:
4319: cz_refs.check_Node(l_c3_prj_id_tbl(i),
4320: l_c3_node_id_tbl(i),
4321: l_c3_max_tbl(i),
4322: l_c3_min_tbl(i),
4323: NULL,

Line 4500: cz_refs.check_Node(l_c4_prj_id_tbl(i),

4496:
4497: -- call check node for ROOT node for now
4498: IF l_c4_prj_id_tbl(i)=l_c4_node_id_tbl(i) THEN
4499:
4500: cz_refs.check_Node(l_c4_prj_id_tbl(i),
4501: l_c4_node_id_tbl(i),
4502: l_c4_max_tbl(i),
4503: l_c4_min_tbl(i),
4504: NULL,

Line 4598: cz_refs.check_Node(l_PsNodeId(i),

4594: FOR i IN l_PsNodeId.FIRST..l_PsNodeId.LAST LOOP
4595:
4596: p_out_err := 0;
4597:
4598: cz_refs.check_Node(l_PsNodeId(i),
4599: l_DevlProjectId(i),
4600: l_Maximum(i),
4601: l_Minimum(i),
4602: l_ReferenceId(i),

Line 4634: --Fix for the bug #3040079. We need to call a new cz_refs procedure for every model we inserted.

4630: END IF;
4631: END LOOP;
4632: END IF;
4633:
4634: --Fix for the bug #3040079. We need to call a new cz_refs procedure for every model we inserted.
4635: FOR c_model IN (SELECT devl_project_id FROM cz_imp_devl_project
4636: WHERE run_id = inRUN_ID
4637: AND rec_status = 'OK')LOOP
4638: cz_refs.populate_component_id(c_model.devl_project_id);

Line 4638: cz_refs.populate_component_id(c_model.devl_project_id);

4634: --Fix for the bug #3040079. We need to call a new cz_refs procedure for every model we inserted.
4635: FOR c_model IN (SELECT devl_project_id FROM cz_imp_devl_project
4636: WHERE run_id = inRUN_ID
4637: AND rec_status = 'OK')LOOP
4638: cz_refs.populate_component_id(c_model.devl_project_id);
4639: END LOOP;
4640:
4641: COMMIT;
4642: INSERTS:=nInsertCount;