93: wf_engine.CreateProcess(ItemType => ItemType,
94: itemKey => newItemKey,
95: process => WorkflowProcess);
96:
97: -- Get the short text from fnd messages
98: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_PUBLISH_TASK_ISSUE_MSG');
99: issue_msg := FND_MESSAGE.GET;
100:
101: textVarNameArray(1) := 'EPBPERFORMER';
94: itemKey => newItemKey,
95: process => WorkflowProcess);
96:
97: -- Get the short text from fnd messages
98: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_PUBLISH_TASK_ISSUE_MSG');
99: issue_msg := FND_MESSAGE.GET;
100:
101: textVarNameArray(1) := 'EPBPERFORMER';
102: textVarValArray(1) := owner;
95: process => WorkflowProcess);
96:
97: -- Get the short text from fnd messages
98: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_PUBLISH_TASK_ISSUE_MSG');
99: issue_msg := FND_MESSAGE.GET;
100:
101: textVarNameArray(1) := 'EPBPERFORMER';
102: textVarValArray(1) := owner;
103:
286: SELECT value INTO read_access
287: FROM zpb_task_parameters
288: WHERE task_ID = taskID and NAME = 'DOCUMENT_SECURITY';
289: IF read_access = 'USER_READSCOPE' THEN
290: read_access := fnd_message.get_string('ZPB', 'ZPB_RECIPIENT_READ_SCOPE');
291: ELSE
292: read_access := fnd_message.get_string('ZPB', 'ZPB_BPO_READ_SCOPE');
293: END IF;
294:
288: WHERE task_ID = taskID and NAME = 'DOCUMENT_SECURITY';
289: IF read_access = 'USER_READSCOPE' THEN
290: read_access := fnd_message.get_string('ZPB', 'ZPB_RECIPIENT_READ_SCOPE');
291: ELSE
292: read_access := fnd_message.get_string('ZPB', 'ZPB_BPO_READ_SCOPE');
293: END IF;
294:
295: --To find whether the Approval required CheckBox is selected
296: SELECT value INTO appr_flag
301: SELECT value INTO send_status_flag
302: FROM zpb_task_parameters
303: WHERE task_ID = taskID and NAME = 'DOCUMENT_SEND_STATUS_BPO';
304:
305: -- Get the short text from fnd messages
306: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_CAL_JAVA_XML_GEN_ISSUE_MSG');
307: issue_msg := FND_MESSAGE.GET;
308: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_NO_ISSUE_MSG');
309: no_issue_msg := FND_MESSAGE.GET;
302: FROM zpb_task_parameters
303: WHERE task_ID = taskID and NAME = 'DOCUMENT_SEND_STATUS_BPO';
304:
305: -- Get the short text from fnd messages
306: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_CAL_JAVA_XML_GEN_ISSUE_MSG');
307: issue_msg := FND_MESSAGE.GET;
308: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_NO_ISSUE_MSG');
309: no_issue_msg := FND_MESSAGE.GET;
310:
303: WHERE task_ID = taskID and NAME = 'DOCUMENT_SEND_STATUS_BPO';
304:
305: -- Get the short text from fnd messages
306: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_CAL_JAVA_XML_GEN_ISSUE_MSG');
307: issue_msg := FND_MESSAGE.GET;
308: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_NO_ISSUE_MSG');
309: no_issue_msg := FND_MESSAGE.GET;
310:
311: textVarNameArray(1) := 'ISSUEMSG';
304:
305: -- Get the short text from fnd messages
306: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_CAL_JAVA_XML_GEN_ISSUE_MSG');
307: issue_msg := FND_MESSAGE.GET;
308: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_NO_ISSUE_MSG');
309: no_issue_msg := FND_MESSAGE.GET;
310:
311: textVarNameArray(1) := 'ISSUEMSG';
312: textVarValArray(1) := issue_msg;
305: -- Get the short text from fnd messages
306: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_CAL_JAVA_XML_GEN_ISSUE_MSG');
307: issue_msg := FND_MESSAGE.GET;
308: FND_MESSAGE.SET_NAME('ZPB', 'ZPB_NO_ISSUE_MSG');
309: no_issue_msg := FND_MESSAGE.GET;
310:
311: textVarNameArray(1) := 'ISSUEMSG';
312: textVarValArray(1) := issue_msg;
313: