DBA Data[Home] [Help]

APPS.JTF_CAL_PVT dependencies on JTF_CAL_UTILITY_PVT

Line 86: Jtf_Cal_Utility_Pvt.GetResourceInfo( p_UserID => p_userID

82: ** Get basic Resource Information for current FND_USER
83: *****************************************************************************/
84: IF ((p_ResourceID IS NULL) OR (p_ResourceType IS NULL))
85: THEN
86: Jtf_Cal_Utility_Pvt.GetResourceInfo( p_UserID => p_userID
87: , x_ResourceID => p_ResourceID
88: , x_ResourceType => p_ResourceType
89: , x_ResourceName => l_ResourceName
90: );

Line 92: l_ResourceName := Jtf_Cal_Utility_Pvt.GetResourceName( p_ResourceID

88: , x_ResourceType => p_ResourceType
89: , x_ResourceName => l_ResourceName
90: );
91: ELSE
92: l_ResourceName := Jtf_Cal_Utility_Pvt.GetResourceName( p_ResourceID
93: , p_ResourceType
94: );
95: END IF;
96:

Line 196: , Jtf_Cal_Utility_Pvt.GetItemURL -- can't join URL is dynamic..

192: , DECODE(jtb.source_object_type_code ,'APPOINTMENT', x_preferences.ApptColor, x_preferences.TaskColor)
193: ItemColor
194: , DECODE(jtb.source_object_type_code ,'APPOINTMENT', x_preferences.ApptPrefix, x_preferences.TaskPrefix)
195: ItemPrefix
196: , Jtf_Cal_Utility_Pvt.GetItemURL -- can't join URL is dynamic..
197: ( jtb.source_object_id
198: , jtb.source_object_type_code) URL
199: , jta.assignee_role AssigneeRole
200: , jtb.task_priority_id PriorityID -- Needed for todos

Line 253: l_TempItemDisplayType := Jtf_Cal_Utility_Pvt.GetItemType

249: ** We will have to adjust the Start/End Date for the users timezone
250: ***************************************************************************/
251: --Here onwards r_PersonalTask is replaced with l_tab_PersonalTask(l_index)
252: --for Bug#5037648 by MPADHIAR
253: l_TempItemDisplayType := Jtf_Cal_Utility_Pvt.GetItemType
254: ( p_SourceCode => l_tab_PersonalTask(l_index).SourceObjectTypeCode
255: , p_PeriodStartDate => p_QueryStartDate
256: , p_PeriodEndDate => p_QueryEndDate
257: , p_StartDate => l_tab_PersonalTask(l_index).StartDate

Line 268: Jtf_Cal_Utility_Pvt.AdjustForTimezone

264: l_EndDate := l_tab_PersonalTask(l_index).EndDate;
265:
266: IF l_TempItemDisplayType <> 3 THEN
267:
268: Jtf_Cal_Utility_Pvt.AdjustForTimezone
269: ( p_source_tz_id => l_tab_PersonalTask(l_index).TimezoneID--213--
270: , p_dest_tz_id => x_Preferences.Timezone
271: , p_source_day_time => l_StartDate
272: , x_dest_day_time => l_tab_PersonalTask(l_index).Startdate

Line 275: Jtf_Cal_Utility_Pvt.AdjustForTimezone

271: , p_source_day_time => l_StartDate
272: , x_dest_day_time => l_tab_PersonalTask(l_index).Startdate
273: );
274:
275: Jtf_Cal_Utility_Pvt.AdjustForTimezone
276: ( p_source_tz_id => l_tab_PersonalTask(l_index).TimezoneID--213--
277: , p_dest_tz_id => x_Preferences.Timezone
278: -- Modified by jawang on 11/21/02 to fix NOCOPY issue
279: , p_source_day_time => l_EndDate

Line 343: x_DisplayItems(x_index).AccessLevel := Jtf_Cal_Utility_Pvt.GetAccessLevel

339: x_DisplayItems(x_index).ItemName := p_prefix||l_tab_PersonalTask(l_index).ItemName;
340: ELSE
341: x_DisplayItems(x_index).ItemName := l_tab_PersonalTask(l_index).ItemPrefix || l_tab_PersonalTask(l_index).ItemName;
342: END IF;
343: x_DisplayItems(x_index).AccessLevel := Jtf_Cal_Utility_Pvt.GetAccessLevel
344: ( l_tab_PersonalTask(l_index).PrivateFlag
345: , l_tab_PersonalTask(l_index).AssigneeRole
346: , p_LoggedOnRSID
347: , p_LoggedOnRSType

Line 385: x_DisplayItems(x_index).PriorityName := Jtf_Cal_Utility_Pvt.GetTaskPriority

381: IF ((l_ItemDisplayType = 2) -- Display as Tasks only
382: AND (p_QueryMode = 4)) -- Combi view
383: THEN
384: x_DisplayItems(x_index).PriorityID := l_tab_PersonalTask(l_index).PriorityID;
385: x_DisplayItems(x_index).PriorityName := Jtf_Cal_Utility_Pvt.GetTaskPriority
386: ( l_tab_PersonalTask(l_index).PriorityID
387: );
388: x_DisplayItems(x_index).CategoryID := l_tab_PersonalTask(l_index).CategoryID;
389: x_DisplayItems(x_index).CategoryDesc := Jtf_Cal_Utility_Pvt.GetCategoryName

Line 389: x_DisplayItems(x_index).CategoryDesc := Jtf_Cal_Utility_Pvt.GetCategoryName

385: x_DisplayItems(x_index).PriorityName := Jtf_Cal_Utility_Pvt.GetTaskPriority
386: ( l_tab_PersonalTask(l_index).PriorityID
387: );
388: x_DisplayItems(x_index).CategoryID := l_tab_PersonalTask(l_index).CategoryID;
389: x_DisplayItems(x_index).CategoryDesc := Jtf_Cal_Utility_Pvt.GetCategoryName
390: ( l_tab_PersonalTask(l_index).CategoryID
391: );
392: x_DisplayItems(x_index).NoteFlag := Jtf_Cal_Utility_Pvt.TaskHasNotes
393: ( l_tab_PersonalTask(l_index).TaskId

Line 392: x_DisplayItems(x_index).NoteFlag := Jtf_Cal_Utility_Pvt.TaskHasNotes

388: x_DisplayItems(x_index).CategoryID := l_tab_PersonalTask(l_index).CategoryID;
389: x_DisplayItems(x_index).CategoryDesc := Jtf_Cal_Utility_Pvt.GetCategoryName
390: ( l_tab_PersonalTask(l_index).CategoryID
391: );
392: x_DisplayItems(x_index).NoteFlag := Jtf_Cal_Utility_Pvt.TaskHasNotes
393: ( l_tab_PersonalTask(l_index).TaskId
394: );
395: x_DisplayItems(x_index).TaskOVN := l_tab_PersonalTask(l_index).TaskOVN;
396: x_DisplayItems(x_index).AssignmentOVN := l_tab_PersonalTask(l_index).AssignmentOVN;

Line 405: Jtf_Cal_Utility_Pvt.AdjustMinMaxTime( p_StartDate => l_TempStartDate

401: ** tasks/appointments to be displayed fall outside the range.
402: *******************************************************************/
403: IF (l_ItemDisplayType IN (1,4))
404: THEN
405: Jtf_Cal_Utility_Pvt.AdjustMinMaxTime( p_StartDate => l_TempStartDate
406: , p_EndDate => l_TempEndDate
407: , p_increment => x_Preferences.ApptIncrement
408: , x_min_time => x_Preferences.MinStartTime
409: , x_max_time => x_Preferences.MaxEndTime

Line 545: Jtf_Cal_Utility_Pvt.AdjustForTimezone

541: --Added by jawang on 11/21/2002 to fix the NOCOPY issue
542: l_StartDate := r_PersonalItem .Startdate;
543: l_EndDate := r_PersonalItem .Enddate;
544:
545: Jtf_Cal_Utility_Pvt.AdjustForTimezone
546: ( p_source_tz_id => r_PersonalItem .TimezoneID
547: , p_dest_tz_id => x_Preferences.Timezone
548: , p_source_day_time => l_StartDate
549: , x_dest_day_time => r_PersonalItem .Startdate

Line 552: Jtf_Cal_Utility_Pvt.AdjustForTimezone

548: , p_source_day_time => l_StartDate
549: , x_dest_day_time => r_PersonalItem .Startdate
550: );
551:
552: Jtf_Cal_Utility_Pvt.AdjustForTimezone
553: ( p_source_tz_id => r_PersonalItem .TimezoneID
554: , p_dest_tz_id => x_Preferences.Timezone
555: , p_source_day_time => l_EndDate
556: , x_dest_day_time => r_PersonalItem .Enddate

Line 559: l_TempItemDisplayType := Jtf_Cal_Utility_Pvt.GetItemType

555: , p_source_day_time => l_EndDate
556: , x_dest_day_time => r_PersonalItem .Enddate
557: );
558:
559: l_TempItemDisplayType := Jtf_Cal_Utility_Pvt.GetItemType
560: ( p_SourceCode => 'CALENDARITEM'
561: , p_PeriodStartDate => p_QueryStartDate
562: , p_PeriodEndDate => p_QueryEndDate
563: , p_StartDate => r_PersonalItem.StartDate

Line 633: Jtf_Cal_Utility_Pvt.AdjustMinMaxTime( p_StartDate => l_TempStartDate

629: ** to be displayed fall outside the range.
630: *********************************************************************/
631: IF (l_ItemDisplayType = 1)
632: THEN
633: Jtf_Cal_Utility_Pvt.AdjustMinMaxTime( p_StartDate => l_TempStartDate
634: , p_EndDate => l_TempEndDate
635: , p_increment => x_Preferences.ApptIncrement
636: , x_min_time => x_Preferences.MinStartTime
637: , x_max_time => x_Preferences.MaxEndTime

Line 712: , Jtf_Cal_Utility_Pvt.GetGroupColor

708: ** subscribed to
709: *****************************************************************************/
710: ( b_ResourceID IN NUMBER
711: )IS SELECT DISTINCT TO_NUMBER(fgs.instance_pk1_value) GroupID
712: , Jtf_Cal_Utility_Pvt.GetGroupColor
713: ( b_ResourceID
714: , 'RS_EMPLOYEE'
715: , TO_NUMBER(fgs.instance_pk1_value)
716: ) Color

Line 717: , Jtf_Cal_Utility_Pvt.GetGroupPrefix

713: ( b_ResourceID
714: , 'RS_EMPLOYEE'
715: , TO_NUMBER(fgs.instance_pk1_value)
716: ) Color
717: , Jtf_Cal_Utility_Pvt.GetGroupPrefix
718: ( b_ResourceID
719: , 'RS_EMPLOYEE'
720: , TO_NUMBER(fgs.instance_pk1_value)
721: ) Prefix

Line 752: Jtf_Cal_Utility_Pvt.GetResourceInfo( p_UserID => p_input.UserID

748: IF(p_input.UserID IS NULL)
749: THEN
750: NULL; --error no user information provided, this is not supposed to happen...
751: ELSE
752: Jtf_Cal_Utility_Pvt.GetResourceInfo( p_UserID => p_input.UserID
753: , x_ResourceID => l_LoggedOnRSID
754: , x_ResourceType => l_LoggedOnRSType
755: );
756: END IF;

Line 781: Jtf_Cal_Utility_Pvt.GetPreferences( p_LoggedOnRSID => l_LoggedOnRSID

777:
778: /*****************************************************************************
779: ** Need to get all the preferences for the current resource
780: *****************************************************************************/
781: Jtf_Cal_Utility_Pvt.GetPreferences( p_LoggedOnRSID => l_LoggedOnRSID
782: , p_LoggedOnRSType => l_LoggedOnRSType
783: , p_QueryRSID => l_QueryRSID
784: , p_QueryRSType => l_QueryRSType
785: , x_Preferences => x_Preferences

Line 1087: Jtf_Cal_Utility_Pvt.SortTable(x_DisplayItems);

1083:
1084: /*****************************************************************************
1085: ** Almost done, just have to sort the table
1086: *****************************************************************************/
1087: Jtf_Cal_Utility_Pvt.SortTable(x_DisplayItems);
1088:
1089: END GetView;
1090:
1091: END Jtf_Cal_Pvt;