DBA Data[Home] [Help]

APPS.PA_RBS_ELEMENTS_PVT dependencies on PA_RBS_ELEMENTS_UTILS

Line 165: IF Pa_Rbs_Elements_Utils.RbsElementExists( P_Element_Id => P_Element_Id ) = 'Y' Then

161: Pa_Debug.G_Stage := 'Entering DeleteRbsElement().';
162: Pa_Debug.TrackPath('ADD','DeleteRbsElement');
163:
164: Pa_Debug.G_Stage := 'Call DeleteRbsElement() procedure.';
165: IF Pa_Rbs_Elements_Utils.RbsElementExists( P_Element_Id => P_Element_Id ) = 'Y' Then
166:
167: Pa_Debug.G_Stage := 'Delete the children elements/nodes using cursor and loop.';
168: Open c1(P_Element_Id);
169: Loop

Line 315: If Pa_Rbs_Elements_Utils.RbsElementExists( P_Element_Id => P_Parent_Element_Id ) = 'Y' Then

311: -- Check if the parent element is valid.
312: Pa_Debug.G_Stage := 'Check to see if parent element/node exists.';
313:
314:
315: If Pa_Rbs_Elements_Utils.RbsElementExists( P_Element_Id => P_Parent_Element_Id ) = 'Y' Then
316:
317:
318: Pa_Debug.G_Stage := 'Call ValidateAndBuildElement() procedure.';
319:

Line 458: End If; -- Pa_Rbs_Elements_Utils.RbsElementExists()

454:
455: Pa_Debug.G_Stage := 'Parent element/node does not exists.';
456: Raise No_Data_Found;
457:
458: End If; -- Pa_Rbs_Elements_Utils.RbsElementExists()
459:
460: Pa_Debug.G_Stage := 'Leaving UpdateExisingRbsElement() procedure.';
461: Pa_Debug.TrackPath('STRIP','UpdateExisingRbsElement');
462:

Line 522: If Pa_Rbs_Elements_Utils.RbsElementExists( P_Element_Id => P_Parent_Element_Id ) = 'Y' Then

518: Pa_Debug.TrackPath('ADD','CreateNewRbsElement');
519:
520: -- Check if the parent element is valid.
521: Pa_Debug.G_Stage := 'Check to see if parent element/node exists.';
522: If Pa_Rbs_Elements_Utils.RbsElementExists( P_Element_Id => P_Parent_Element_Id ) = 'Y' Then
523:
524: Pa_Debug.G_Stage := 'Call ValidateAndBuildElement() procedure.';
525: Pa_Rbs_Elements_Pvt.ValidateAndBuildElement(
526: P_Mode => l_Mode,

Line 617: End If; -- Pa_Rbs_Elements_Utils.RbsElementExists()

613:
614: Pa_Debug.G_Stage := 'Parent element/node does not exist.';
615: Raise No_Data_Found;
616:
617: End If; -- Pa_Rbs_Elements_Utils.RbsElementExists()
618:
619: Pa_Debug.G_Stage := 'Leaving CreateNewRbsElement() procedure.';
620: Pa_Debug.TrackPath('STRIP','CreateNewRbsElement');
621:

Line 1321: X_Resource_Type := Pa_Rbs_Elements_Utils.GetResTypeCode

1317: -- We need this validation irrespective of whether the resource type is
1318: -- changed or not. The x_resource_type we get below is used by the
1319: -- calling API to populate the element record in both update and insert mode.
1320:
1321: X_Resource_Type := Pa_Rbs_Elements_Utils.GetResTypeCode
1322: (P_Res_Type_Id => P_Resource_Type_Id);
1323:
1324:
1325: IF X_Resource_Type is Null or X_Resource_Type = 'NAMED_ROLE'

Line 2333: Pa_Debug.G_Stage := 'Get the Resource Type by calling Pa_Rbs_Elements_Utils.GetResTypeCode() function.';

2329: X_Supplier_Id => l_Supplier_Id,
2330: X_Rbs_Level => l_Dummy_Rbs_Level,
2331: X_Outline_Number => l_Dummy_Outline_Number);
2332:
2333: Pa_Debug.G_Stage := 'Get the Resource Type by calling Pa_Rbs_Elements_Utils.GetResTypeCode() function.';
2334: l_Resource_Type := Pa_Rbs_Elements_Utils.GetResTypeCode(P_Res_Type_Id => l_Child_Rec.Resource_Type_Id);
2335:
2336: Pa_Debug.G_Stage := 'Determine which resource type we have for this element to properly assign the resource source id.';
2337: If l_Resource_Type = 'BOM_LABOR' Then

Line 2334: l_Resource_Type := Pa_Rbs_Elements_Utils.GetResTypeCode(P_Res_Type_Id => l_Child_Rec.Resource_Type_Id);

2330: X_Rbs_Level => l_Dummy_Rbs_Level,
2331: X_Outline_Number => l_Dummy_Outline_Number);
2332:
2333: Pa_Debug.G_Stage := 'Get the Resource Type by calling Pa_Rbs_Elements_Utils.GetResTypeCode() function.';
2334: l_Resource_Type := Pa_Rbs_Elements_Utils.GetResTypeCode(P_Res_Type_Id => l_Child_Rec.Resource_Type_Id);
2335:
2336: Pa_Debug.G_Stage := 'Determine which resource type we have for this element to properly assign the resource source id.';
2337: If l_Resource_Type = 'BOM_LABOR' Then
2338: