DBA Data[Home] [Help]

APPS.PA_RBS_ELEMENTS_PVT dependencies on PA_RBS_ELEMENTS_UTILS

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

150: Pa_Debug.G_Stage := 'Entering DeleteRbsElement().';
151: Pa_Debug.TrackPath('ADD','DeleteRbsElement');
152:
153: Pa_Debug.G_Stage := 'Call DeleteRbsElement() procedure.';
154: IF Pa_Rbs_Elements_Utils.RbsElementExists( P_Element_Id => P_Element_Id ) = 'Y' Then
155:
156: Pa_Debug.G_Stage := 'Delete the children elements/nodes using cursor and loop.';
157: Open c1(P_Element_Id);
158: Loop

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

296: -- Check if the parent element is valid.
297: Pa_Debug.G_Stage := 'Check to see if parent element/node exists.';
298:
299:
300: If Pa_Rbs_Elements_Utils.RbsElementExists( P_Element_Id => P_Parent_Element_Id ) = 'Y' Then
301:
302:
303: Pa_Debug.G_Stage := 'Call ValidateAndBuildElement() procedure.';
304: Pa_Rbs_Elements_Pvt.ValidateAndBuildElement(

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

434:
435: Pa_Debug.G_Stage := 'Parent element/node does not exists.';
436: Raise No_Data_Found;
437:
438: End If; -- Pa_Rbs_Elements_Utils.RbsElementExists()
439:
440: Pa_Debug.G_Stage := 'Leaving UpdateExisingRbsElement() procedure.';
441: Pa_Debug.TrackPath('STRIP','UpdateExisingRbsElement');
442:

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

495: Pa_Debug.TrackPath('ADD','CreateNewRbsElement');
496:
497: -- Check if the parent element is valid.
498: Pa_Debug.G_Stage := 'Check to see if parent element/node exists.';
499: If Pa_Rbs_Elements_Utils.RbsElementExists( P_Element_Id => P_Parent_Element_Id ) = 'Y' Then
500:
501: Pa_Debug.G_Stage := 'Call ValidateAndBuildElement() procedure.';
502: Pa_Rbs_Elements_Pvt.ValidateAndBuildElement(
503: P_Mode => l_Mode,

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

587:
588: Pa_Debug.G_Stage := 'Parent element/node does not exist.';
589: Raise No_Data_Found;
590:
591: End If; -- Pa_Rbs_Elements_Utils.RbsElementExists()
592:
593: Pa_Debug.G_Stage := 'Leaving CreateNewRbsElement() procedure.';
594: Pa_Debug.TrackPath('STRIP','CreateNewRbsElement');
595:

Line 1285: X_Resource_Type := Pa_Rbs_Elements_Utils.GetResTypeCode

1281: -- We need this validation irrespective of whether the resource type is
1282: -- changed or not. The x_resource_type we get below is used by the
1283: -- calling API to populate the element record in both update and insert mode.
1284:
1285: X_Resource_Type := Pa_Rbs_Elements_Utils.GetResTypeCode
1286: (P_Res_Type_Id => P_Resource_Type_Id);
1287:
1288:
1289: IF X_Resource_Type is Null or X_Resource_Type = 'NAMED_ROLE'

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

2286: X_Supplier_Id => l_Supplier_Id,
2287: X_Rbs_Level => l_Dummy_Rbs_Level,
2288: X_Outline_Number => l_Dummy_Outline_Number);
2289:
2290: Pa_Debug.G_Stage := 'Get the Resource Type by calling Pa_Rbs_Elements_Utils.GetResTypeCode() function.';
2291: l_Resource_Type := Pa_Rbs_Elements_Utils.GetResTypeCode(P_Res_Type_Id => l_Child_Rec.Resource_Type_Id);
2292:
2293: Pa_Debug.G_Stage := 'Determine which resource type we have for this element to properly assign the resource source id.';
2294: If l_Resource_Type = 'BOM_LABOR' Then

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

2287: X_Rbs_Level => l_Dummy_Rbs_Level,
2288: X_Outline_Number => l_Dummy_Outline_Number);
2289:
2290: Pa_Debug.G_Stage := 'Get the Resource Type by calling Pa_Rbs_Elements_Utils.GetResTypeCode() function.';
2291: l_Resource_Type := Pa_Rbs_Elements_Utils.GetResTypeCode(P_Res_Type_Id => l_Child_Rec.Resource_Type_Id);
2292:
2293: Pa_Debug.G_Stage := 'Determine which resource type we have for this element to properly assign the resource source id.';
2294: If l_Resource_Type = 'BOM_LABOR' Then
2295: