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 457: l_task_prof_value := WF_ENGINE.GetItemAttrText(

453: BEGIN
454: IF (funmode = 'RUN') THEN
455: l_counter := 0;
456: -- l_task_prof_value := FND_PROFILE.value('CS_SR_AUTO_TASK_CREATE');
457: l_task_prof_value := WF_ENGINE.GetItemAttrText(
458: itemtype => itemtype,
459: itemkey => itemkey,
460: aname => 'CS_AUTO_TASK_PROFILE' );
461:

Line 467: l_incident_id := WF_ENGINE.GetItemAttrNumber(

463: result := 'Y';
464: return;
465: END IF;
466:
467: l_incident_id := WF_ENGINE.GetItemAttrNumber(
468: itemtype => itemtype,
469: itemkey => itemkey,
470: aname => 'REQUEST_ID' );
471:

Line 898: l_note_type := WF_ENGINE.GetItemAttrText(

894: l_err := l_err || l_msg_data ;
895: end loop;
896:
897: -- l_note_type := fnd_profile.value('CS_SR_TASK_ERROR_NOTE_TYPE');
898: l_note_type := WF_ENGINE.GetItemAttrText(
899: itemtype => itemtype,
900: itemkey => itemkey,
901: aname => 'CS_TASK_FAILURE_NOTE_PROFILE' );
902:

Line 1009: l_incident_id := WF_ENGINE.GetItemAttrNumber(

1005: BEGIN
1006:
1007: IF (funmode = 'RUN') THEN
1008:
1009: l_incident_id := WF_ENGINE.GetItemAttrNumber(
1010: itemtype => itemtype,
1011: itemkey => itemkey,
1012: aname => 'REQUEST_ID' );
1013:

Line 1014: l_dup_found_at := WF_ENGINE.GetItemAttrText(

1010: itemtype => itemtype,
1011: itemkey => itemkey,
1012: aname => 'REQUEST_ID' );
1013:
1014: l_dup_found_at := WF_ENGINE.GetItemAttrText(
1015: itemtype => itemtype,
1016: itemkey => itemkey,
1017: aname => 'CS_DUPLICATE_FOUND_AT' );
1018:

Line 1044: WF_ENGINE.SetItemAttrText(

1040: l_errmsg_name := 'CS_WF_SR_CANT_FIND_OWNER';
1041: raise l_API_ERROR;
1042: END IF;
1043:
1044: WF_ENGINE.SetItemAttrText(
1045: itemtype => 'SERVEREQ',
1046: itemkey => itemkey,
1047: aname => 'OWNER_NAME',
1048: avalue => l_owner_name );

Line 1050: WF_ENGINE.SetItemAttrText(

1046: itemkey => itemkey,
1047: aname => 'OWNER_NAME',
1048: avalue => l_owner_name );
1049:
1050: WF_ENGINE.SetItemAttrText(
1051: itemtype => 'SERVEREQ',
1052: itemkey => itemkey,
1053: aname => 'OWNER_ROLE',
1054: avalue => l_owner_role );

Line 1083: WF_ENGINE.SetItemAttrText(

1079: l_errmsg_name := 'CS_WF_SR_CANT_FIND_OWNER';
1080: raise l_API_ERROR;
1081: END IF;
1082:
1083: WF_ENGINE.SetItemAttrText(
1084: itemtype => 'SERVEREQ',
1085: itemkey => itemkey,
1086: aname => 'CS_EA_SR_OWNER_NOTIFY',
1087: avalue => l_owner_role );

Line 1090: WF_ENGINE.SetItemAttrText(

1086: aname => 'CS_EA_SR_OWNER_NOTIFY',
1087: avalue => l_owner_role );
1088:
1089: /*
1090: WF_ENGINE.SetItemAttrText(
1091: itemtype => 'SERVEREQ',
1092: itemkey => itemkey,
1093: aname => 'CS_EA_SR_OWNER_NOTIFY',
1094: avalue => l_owner_name );

Line 1144: l_incident_id := WF_ENGINE.GetItemAttrNumber(

1140: BEGIN
1141:
1142: IF (funmode = 'RUN') THEN
1143:
1144: l_incident_id := WF_ENGINE.GetItemAttrNumber(
1145: itemtype => itemtype,
1146: itemkey => itemkey,
1147: aname => 'REQUEST_ID' );
1148: