DBA Data[Home] [Help]

APPS.CS_SR_WF_DUP_CHK_PVT dependencies on WF_ENGINE

Line 28: l_incident_id := WF_ENGINE.GetItemAttrNumber(

24:
25: IF (funmode = 'RUN') THEN
26:
27: -- Get the service request ID
28: l_incident_id := WF_ENGINE.GetItemAttrNumber(
29: itemtype => itemtype,
30: itemkey => itemkey,
31: aname => 'REQUEST_ID' );
32:

Line 79: l_incident_id := WF_ENGINE.GetItemAttrNumber(

75: BEGIN
76: IF (funmode = 'RUN') THEN
77:
78: -- Get the service request ID
79: l_incident_id := WF_ENGINE.GetItemAttrNumber(
80: itemtype => itemtype,
81: itemkey => itemkey,
82: aname => 'REQUEST_ID' );
83:

Line 96: WF_ENGINE.SetItemAttrText(

92: l_duplicate_criteria := FND_PROFILE.Value('CS_SR_DUP_CHK_CRITERIA');
93: l_auto_task_profile := FND_PROFILE.value('CS_SR_AUTO_TASK_CREATE');
94: l_task_error_note := FND_PROFILE.value('CS_SR_TASK_ERROR_NOTE_TYPE');
95:
96: WF_ENGINE.SetItemAttrText(
97: itemtype => 'SERVEREQ',
98: itemkey => itemkey,
99: aname => 'CS_DUPLICATE_CHECK_PROFILE',
100: avalue => l_duplicate_check_profile );

Line 102: WF_ENGINE.SetItemAttrText(

98: itemkey => itemkey,
99: aname => 'CS_DUPLICATE_CHECK_PROFILE',
100: avalue => l_duplicate_check_profile );
101:
102: WF_ENGINE.SetItemAttrText(
103: itemtype => 'SERVEREQ',
104: itemkey => itemkey,
105: aname => 'CS_DUPLICATE_CRITERIA',
106: avalue => l_duplicate_criteria);

Line 108: WF_ENGINE.SetItemAttrText(

104: itemkey => itemkey,
105: aname => 'CS_DUPLICATE_CRITERIA',
106: avalue => l_duplicate_criteria);
107:
108: WF_ENGINE.SetItemAttrText(
109: itemtype => 'SERVEREQ',
110: itemkey => itemkey,
111: aname => 'CS_AUTO_TASK_PROFILE',
112: avalue => l_auto_task_profile );

Line 114: WF_ENGINE.SetItemAttrText(

110: itemkey => itemkey,
111: aname => 'CS_AUTO_TASK_PROFILE',
112: avalue => l_auto_task_profile );
113:
114: WF_ENGINE.SetItemAttrText(
115: itemtype => 'SERVEREQ',
116: itemkey => itemkey,
117: aname => 'CS_TASK_FAILURE_NOTE_PROFILE',
118: avalue => l_task_error_note );

Line 157: l_duplicate_check_profile := WF_ENGINE.GetItemAttrText(

153:
154: BEGIN
155: IF (funmode = 'RUN') THEN
156:
157: l_duplicate_check_profile := WF_ENGINE.GetItemAttrText(
158: itemtype => itemtype,
159: itemkey => itemkey,
160: aname => 'CS_DUPLICATE_CHECK_PROFILE' );
161:

Line 242: l_incident_id := WF_ENGINE.GetItemAttrNumber(

238:
239: l_duplicate_flag := 'N' ;
240:
241: -- Get the service request ID
242: l_incident_id := WF_ENGINE.GetItemAttrNumber(
243: itemtype => itemtype,
244: itemkey => itemkey,
245: aname => 'REQUEST_ID' );
246:

Line 253: l_dup_criteria_profile := WF_ENGINE.GetItemAttrText(

249: FETCH l_ServiceRequest_csr INTO l_ServiceRequest_rec;
250: l_incident_type_id := l_ServiceRequest_rec.incident_type_id;
251:
252: -- l_dup_criteria_profile := FND_PROFILE.Value('CS_SR_DUP_CHK_CRITERIA');
253: l_dup_criteria_profile := WF_ENGINE.GetItemAttrText(
254: itemtype => itemtype,
255: itemkey => itemkey,
256: aname => 'CS_DUPLICATE_CRITERIA' );
257:

Line 372: WF_ENGINE.SetItemAttrText(

368: x_msg_data => l_msg_data
369: );
370:
371: IF l_duplicate_flag = 'T' THEN
372: WF_ENGINE.SetItemAttrText(
373: itemtype => 'SERVEREQ',
374: itemkey => itemkey,
375: aname => 'CS_DUPLICATE_FOUND_AT',
376: avalue => l_dup_found_at );

Line 449: l_task_prof_value := WF_ENGINE.GetItemAttrText(

445: BEGIN
446: IF (funmode = 'RUN') THEN
447: l_counter := 0;
448: -- l_task_prof_value := FND_PROFILE.value('CS_SR_AUTO_TASK_CREATE');
449: l_task_prof_value := WF_ENGINE.GetItemAttrText(
450: itemtype => itemtype,
451: itemkey => itemkey,
452: aname => 'CS_AUTO_TASK_PROFILE' );
453:

Line 459: l_incident_id := WF_ENGINE.GetItemAttrNumber(

455: result := 'Y';
456: return;
457: END IF;
458:
459: l_incident_id := WF_ENGINE.GetItemAttrNumber(
460: itemtype => itemtype,
461: itemkey => itemkey,
462: aname => 'REQUEST_ID' );
463:

Line 877: l_note_type := WF_ENGINE.GetItemAttrText(

873: l_err := l_err || l_msg_data ;
874: end loop;
875:
876: -- l_note_type := fnd_profile.value('CS_SR_TASK_ERROR_NOTE_TYPE');
877: l_note_type := WF_ENGINE.GetItemAttrText(
878: itemtype => itemtype,
879: itemkey => itemkey,
880: aname => 'CS_TASK_FAILURE_NOTE_PROFILE' );
881:

Line 988: l_incident_id := WF_ENGINE.GetItemAttrNumber(

984: BEGIN
985:
986: IF (funmode = 'RUN') THEN
987:
988: l_incident_id := WF_ENGINE.GetItemAttrNumber(
989: itemtype => itemtype,
990: itemkey => itemkey,
991: aname => 'REQUEST_ID' );
992:

Line 993: l_dup_found_at := WF_ENGINE.GetItemAttrText(

989: itemtype => itemtype,
990: itemkey => itemkey,
991: aname => 'REQUEST_ID' );
992:
993: l_dup_found_at := WF_ENGINE.GetItemAttrText(
994: itemtype => itemtype,
995: itemkey => itemkey,
996: aname => 'CS_DUPLICATE_FOUND_AT' );
997:

Line 1023: WF_ENGINE.SetItemAttrText(

1019: l_errmsg_name := 'CS_WF_SR_CANT_FIND_OWNER';
1020: raise l_API_ERROR;
1021: END IF;
1022:
1023: WF_ENGINE.SetItemAttrText(
1024: itemtype => 'SERVEREQ',
1025: itemkey => itemkey,
1026: aname => 'OWNER_NAME',
1027: avalue => l_owner_name );

Line 1029: WF_ENGINE.SetItemAttrText(

1025: itemkey => itemkey,
1026: aname => 'OWNER_NAME',
1027: avalue => l_owner_name );
1028:
1029: WF_ENGINE.SetItemAttrText(
1030: itemtype => 'SERVEREQ',
1031: itemkey => itemkey,
1032: aname => 'OWNER_ROLE',
1033: avalue => l_owner_role );

Line 1062: WF_ENGINE.SetItemAttrText(

1058: l_errmsg_name := 'CS_WF_SR_CANT_FIND_OWNER';
1059: raise l_API_ERROR;
1060: END IF;
1061:
1062: WF_ENGINE.SetItemAttrText(
1063: itemtype => 'SERVEREQ',
1064: itemkey => itemkey,
1065: aname => 'CS_EA_SR_OWNER_NOTIFY',
1066: avalue => l_owner_role );

Line 1069: WF_ENGINE.SetItemAttrText(

1065: aname => 'CS_EA_SR_OWNER_NOTIFY',
1066: avalue => l_owner_role );
1067:
1068: /*
1069: WF_ENGINE.SetItemAttrText(
1070: itemtype => 'SERVEREQ',
1071: itemkey => itemkey,
1072: aname => 'CS_EA_SR_OWNER_NOTIFY',
1073: avalue => l_owner_name );

Line 1123: l_incident_id := WF_ENGINE.GetItemAttrNumber(

1119: BEGIN
1120:
1121: IF (funmode = 'RUN') THEN
1122:
1123: l_incident_id := WF_ENGINE.GetItemAttrNumber(
1124: itemtype => itemtype,
1125: itemkey => itemkey,
1126: aname => 'REQUEST_ID' );
1127: