DBA Data[Home] [Help]

APPS.OKL_KBK_APPROVALS_WF dependencies on WF_ENGINE

Line 1154: l_user_id := wf_engine.GetItemAttrText (itemtype => itemtype,

1150:
1151: -- "RUN"
1152: IF (funcmode = 'RUN') THEN
1153: --l_user_id := fnd_profile.value('OKL_LEASE_CONTRACT_APPROVER');
1154: l_user_id := wf_engine.GetItemAttrText (itemtype => itemtype,
1155: itemkey => itemkey,
1156: aname => G_WF_ITM_REQUESTER_ID);
1157:
1158: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,

Line 1158: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,

1154: l_user_id := wf_engine.GetItemAttrText (itemtype => itemtype,
1155: itemkey => itemkey,
1156: aname => G_WF_ITM_REQUESTER_ID);
1157:
1158: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,
1159: itemkey => itemkey,
1160: aname => G_WF_ITM_CONTRACT_NUMBER);
1161:
1162: resultout := 'COMPLETE:NOT_FOUND'; -- default

Line 1169: wf_engine.SetItemAttrText (itemtype => itemtype,

1165: LOOP
1166: --Start of changes by jjuneja for Bug # 16189745
1167: --Commented following by jjuneja for Bug # 16189745
1168: /*
1169: wf_engine.SetItemAttrText (itemtype => itemtype,
1170: itemkey => itemkey,
1171: aname => G_WF_ITM_APPROVER,
1172: avalue => l_fnd_users_rec.user_name);
1173: */

Line 1174: IF (( wf_engine.GetItemAttrText (itemtype => itemtype,

1170: itemkey => itemkey,
1171: aname => G_WF_ITM_APPROVER,
1172: avalue => l_fnd_users_rec.user_name);
1173: */
1174: IF (( wf_engine.GetItemAttrText (itemtype => itemtype,
1175: itemkey => itemkey,
1176: aname => G_WF_ITM_APPROVER)) IS NULL)
1177: THEN
1178: wf_engine.SetItemAttrText (itemtype => itemtype,

Line 1178: wf_engine.SetItemAttrText (itemtype => itemtype,

1174: IF (( wf_engine.GetItemAttrText (itemtype => itemtype,
1175: itemkey => itemkey,
1176: aname => G_WF_ITM_APPROVER)) IS NULL)
1177: THEN
1178: wf_engine.SetItemAttrText (itemtype => itemtype,
1179: itemkey => itemkey,
1180: aname => G_WF_ITM_APPROVER,
1181: avalue => l_fnd_users_rec.user_name);
1182: END IF;

Line 1184: wf_engine.SetItemAttrText (itemtype => itemtype,

1180: aname => G_WF_ITM_APPROVER,
1181: avalue => l_fnd_users_rec.user_name);
1182: END IF;
1183: --End of changes by jjuneja for Bug # 16189745
1184: wf_engine.SetItemAttrText (itemtype => itemtype,
1185: itemkey => itemkey,
1186: aname => G_WF_ITM_MESSAGE_SUBJECT,
1187: avalue => get_message('OKL_LLA_REQUEST_APPROVAL_SUB',l_contract_number));
1188:

Line 1190: wf_engine.SetItemAttrText (itemtype => itemtype,

1186: aname => G_WF_ITM_MESSAGE_SUBJECT,
1187: avalue => get_message('OKL_LLA_REQUEST_APPROVAL_SUB',l_contract_number));
1188:
1189: --Added by jjuneja for Bug # 15991081
1190: wf_engine.SetItemAttrText (itemtype => itemtype,
1191: itemkey => itemkey,
1192: aname => G_WF_ITM_FROM_ROLE,
1193: avalue => l_fnd_users_rec.user_name);
1194: --End of addition by jjuneja

Line 1241: l_result := wf_engine.GetItemAttrText (itemtype => itemtype,

1237: BEGIN
1238: SAVEPOINT set_atts;
1239: IF (funcmode = 'RUN') THEN
1240: -- Get current approval status
1241: l_result := wf_engine.GetItemAttrText (itemtype => itemtype,
1242: itemkey => itemkey,
1243: aname => G_WF_ITM_RESULT);
1244:
1245: l_parent_key := wf_engine.GetItemAttrText (itemtype => itemtype,

Line 1245: l_parent_key := wf_engine.GetItemAttrText (itemtype => itemtype,

1241: l_result := wf_engine.GetItemAttrText (itemtype => itemtype,
1242: itemkey => itemkey,
1243: aname => G_WF_ITM_RESULT);
1244:
1245: l_parent_key := wf_engine.GetItemAttrText (itemtype => itemtype,
1246: itemkey => itemkey,
1247: aname => G_WF_ITM_PARENT_ITEM_KEY);
1248:
1249: l_parent_type := wf_engine.GetItemAttrText (itemtype => itemtype,

Line 1249: l_parent_type := wf_engine.GetItemAttrText (itemtype => itemtype,

1245: l_parent_key := wf_engine.GetItemAttrText (itemtype => itemtype,
1246: itemkey => itemkey,
1247: aname => G_WF_ITM_PARENT_ITEM_KEY);
1248:
1249: l_parent_type := wf_engine.GetItemAttrText (itemtype => itemtype,
1250: itemkey => itemkey,
1251: aname => G_WF_ITM_PARENT_ITEM_TYPE);
1252:
1253: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,

Line 1253: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,

1249: l_parent_type := wf_engine.GetItemAttrText (itemtype => itemtype,
1250: itemkey => itemkey,
1251: aname => G_WF_ITM_PARENT_ITEM_TYPE);
1252:
1253: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,
1254: itemkey => itemkey,
1255: aname => G_WF_ITM_CONTRACT_NUMBER);
1256:
1257: IF l_result = G_WF_ITM_RESULT_APPROVED THEN

Line 1259: wf_engine.SetItemAttrText (itemtype => itemtype,

1255: aname => G_WF_ITM_CONTRACT_NUMBER);
1256:
1257: IF l_result = G_WF_ITM_RESULT_APPROVED THEN
1258: l_approved_yn := G_WF_ITM_APPROVED_YN_YES;
1259: wf_engine.SetItemAttrText (itemtype => itemtype,
1260: itemkey => itemkey,
1261: aname => G_WF_ITM_MESSAGE_SUBJECT,
1262: avalue => get_message('OKL_LLA_REQUEST_APPROVED_SUB',l_contract_number));
1263: ELSE

Line 1265: wf_engine.SetItemAttrText (itemtype => itemtype,

1261: aname => G_WF_ITM_MESSAGE_SUBJECT,
1262: avalue => get_message('OKL_LLA_REQUEST_APPROVED_SUB',l_contract_number));
1263: ELSE
1264: l_approved_yn := G_WF_ITM_APPROVED_YN_NO;
1265: wf_engine.SetItemAttrText (itemtype => itemtype,
1266: itemkey => itemkey,
1267: aname => G_WF_ITM_MESSAGE_SUBJECT,
1268: avalue => get_message('OKL_LLA_REQUEST_REJECTED_SUB',l_contract_number));
1269: END IF;

Line 1271: wf_engine.SetItemAttrText(itemtype => l_parent_type,

1267: aname => G_WF_ITM_MESSAGE_SUBJECT,
1268: avalue => get_message('OKL_LLA_REQUEST_REJECTED_SUB',l_contract_number));
1269: END IF;
1270:
1271: wf_engine.SetItemAttrText(itemtype => l_parent_type,
1272: itemkey => l_parent_key,
1273: aname => G_WF_ITM_APPROVED_YN,
1274: avalue => l_approved_yn);
1275: resultout := 'COMPLETE:';

Line 1338: l_chrv_id := wf_engine.GetItemAttrText(itemtype => itemtype,

1334: l_message VARCHAR2(4000);
1335:
1336: BEGIN
1337: -- We getting the contract_Id from WF
1338: l_chrv_id := wf_engine.GetItemAttrText(itemtype => itemtype,
1339: itemkey => itemkey,
1340: aname => G_WF_ITM_CONTRACT_ID);
1341: --Run Mode
1342: IF funcmode = 'RUN' THEN

Line 1343: l_approved_yn := wf_engine.GetItemAttrText (itemtype => itemtype,

1339: itemkey => itemkey,
1340: aname => G_WF_ITM_CONTRACT_ID);
1341: --Run Mode
1342: IF funcmode = 'RUN' THEN
1343: l_approved_yn := wf_engine.GetItemAttrText (itemtype => itemtype,
1344: itemkey => itemkey,
1345: aname => G_WF_ITM_APPROVED_YN);
1346:
1347: IF l_approved_yn = G_WF_ITM_APPROVED_YN_YES THEN

Line 1391: l_trx_number := wf_engine.GetItemAttrText (itemtype => itemtype,

1387: END IF;
1388: END IF;
1389:
1390: -- trx's trx_number IS wf's trx_id
1391: l_trx_number := wf_engine.GetItemAttrText (itemtype => itemtype,
1392: itemkey => itemkey,
1393: aname => G_WF_ITM_TRANSACTION_ID);
1394:
1395: FOR l_okl_trx_contracts_rec IN l_okl_trx_contracts_csr(l_trx_number)

Line 1422: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,

1418:
1419: -- Bug#9873432 - Start
1420: -- Populate the message doc and subject for the notification to be sent to the requester
1421: IF l_process_status <> OKL_API.G_RET_STS_SUCCESS THEN
1422: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,
1423: itemkey => itemkey,
1424: aname => G_WF_ITM_CONTRACT_NUMBER);
1425: -- Set the message subject
1426: wf_engine.SetItemAttrText (itemtype => itemtype,

Line 1426: wf_engine.SetItemAttrText (itemtype => itemtype,

1422: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,
1423: itemkey => itemkey,
1424: aname => G_WF_ITM_CONTRACT_NUMBER);
1425: -- Set the message subject
1426: wf_engine.SetItemAttrText (itemtype => itemtype,
1427: itemkey => itemkey,
1428: aname => G_WF_ITM_MESSAGE_SUBJECT,
1429: avalue => get_message('OKL_LLA_ACT_FAILURE_SUB',l_contract_number));
1430:

Line 1432: wf_engine.SetItemAttrText (itemtype => itemtype,

1428: aname => G_WF_ITM_MESSAGE_SUBJECT,
1429: avalue => get_message('OKL_LLA_ACT_FAILURE_SUB',l_contract_number));
1430:
1431: -- Set the Message Document
1432: wf_engine.SetItemAttrText (itemtype => itemtype,
1433: itemkey => itemkey,
1434: aname => G_WF_ITM_MESSAGE_DOC,
1435: avalue => 'plsql:Okl_Kbk_Approvals_Wf.pop_act_failure_doc/'|| itemkey);
1436:

Line 1451: wf_engine.SetItemAttrText (itemtype => itemtype,

1447: );
1448: l_message := l_message || l_data;
1449: END LOOP;
1450: END IF;
1451: wf_engine.SetItemAttrText (itemtype => itemtype,
1452: itemkey => itemkey,
1453: aname => G_WF_ITM_API_ERR_MSG,
1454: avalue => l_message);
1455:

Line 1463: resultout := wf_engine.eng_null;

1459: RETURN;
1460: END IF;
1461: --Transfer Mode
1462: IF funcmode = 'TRANSFER' THEN
1463: resultout := wf_engine.eng_null;
1464: RETURN;
1465: END IF;
1466: -- CANCEL mode
1467: IF (funcmode = 'CANCEL') THEN

Line 1524: l_contract_id := wf_engine.GetItemAttrText (

1520: l_message VARCHAR2(32000);
1521: l_contract_id NUMBER;
1522: BEGIN
1523:
1524: l_contract_id := wf_engine.GetItemAttrText (
1525: itemtype => G_ITEM_TYPE_WF,
1526: itemkey => document_id,
1527: aname => G_WF_ITM_CONTRACT_ID);
1528:

Line 1561: l_contract_number := wf_engine.GetItemAttrText (

1557: l_message VARCHAR2(32000);
1558: l_contract_number OKC_K_HEADERS_B.CONTRACT_NUMBER%TYPE;
1559: BEGIN
1560:
1561: l_contract_number := wf_engine.GetItemAttrText (
1562: itemtype => G_ITEM_TYPE_WF,
1563: itemkey => document_id,
1564: aname => G_WF_ITM_CONTRACT_NUMBER);
1565:

Line 1571: l_message := l_message|| wf_engine.GetItemAttrText (

1567: l_message := '

'; -- begin message
1568: l_message := l_message || get_message('OKL_LLA_ACT_FAILURE_MSG',l_contract_number);
1569: l_message := l_message || '

';
1570: -- Send the API error stack as well here in the notification
1571: l_message := l_message|| wf_engine.GetItemAttrText (
1572: itemtype => G_ITEM_TYPE_WF,
1573: itemkey => document_id,
1574: aname => G_WF_ITM_API_ERR_MSG);
1575:

Line 1605: l_contract_id := wf_engine.GetItemAttrText(itemtype => itemtype,

1601: IF (funcmode = 'RUN') THEN
1602: l_approval_option := fnd_profile.value('OKL_LEASE_CONTRACT_APPROVAL_PROCESS');
1603: IF l_approval_option = G_LEASE_CONTRACT_APPROVAL_AME THEN
1604:
1605: l_contract_id := wf_engine.GetItemAttrText(itemtype => itemtype,
1606: itemkey => itemkey,
1607: aname => G_WF_ITM_CONTRACT_ID);
1608:
1609: l_contract_number := wf_engine.GetItemAttrText(itemtype => itemtype,

Line 1609: l_contract_number := wf_engine.GetItemAttrText(itemtype => itemtype,

1605: l_contract_id := wf_engine.GetItemAttrText(itemtype => itemtype,
1606: itemkey => itemkey,
1607: aname => G_WF_ITM_CONTRACT_ID);
1608:
1609: l_contract_number := wf_engine.GetItemAttrText(itemtype => itemtype,
1610: itemkey => itemkey,
1611: aname => G_WF_ITM_CONTRACT_NUMBER);
1612:
1613: -- smadhava - Bug#5235038 - Modified - Start

Line 1618: wf_engine.SetItemAttrText (itemtype => itemtype,

1614: -- Commenting code as DESCRIPITON attribute is not used by WF or AME. Besides
1615: -- compile_message returns a string which is of length > 4000 which cannot be stored
1616: -- in WF tables. Hence commenting code.
1617: /*
1618: wf_engine.SetItemAttrText (itemtype => itemtype,
1619: itemkey => itemkey,
1620: aname => G_WF_ITM_MESSAGE_DESCRIPTION,
1621: avalue => compile_message(l_contract_id));
1622: */

Line 1624: wf_engine.SetItemAttrText (itemtype => itemtype,

1620: aname => G_WF_ITM_MESSAGE_DESCRIPTION,
1621: avalue => compile_message(l_contract_id));
1622: */
1623: -- Set the Message Document
1624: wf_engine.SetItemAttrText (itemtype => itemtype,
1625: itemkey => itemkey,
1626: aname => G_WF_ITM_MESSAGE_DOC,
1627: avalue => 'plsql:Okl_Kbk_Approvals_Wf.pop_approval_doc/'|| itemkey);
1628:

Line 1631: wf_engine.SetItemAttrText (itemtype => itemtype,

1627: avalue => 'plsql:Okl_Kbk_Approvals_Wf.pop_approval_doc/'|| itemkey);
1628:
1629: -- smadhava - Bug#5235038 - Modified - End
1630:
1631: wf_engine.SetItemAttrText (itemtype => itemtype,
1632: itemkey => itemkey,
1633: aname => G_WF_ITM_APP_REQUEST_SUB,
1634: avalue => get_message('OKL_LLA_REQUEST_APPROVAL_SUB',l_contract_number));
1635:

Line 1636: wf_engine.SetItemAttrText (itemtype => itemtype,

1632: itemkey => itemkey,
1633: aname => G_WF_ITM_APP_REQUEST_SUB,
1634: avalue => get_message('OKL_LLA_REQUEST_APPROVAL_SUB',l_contract_number));
1635:
1636: wf_engine.SetItemAttrText (itemtype => itemtype,
1637: itemkey => itemkey,
1638: aname => G_WF_ITM_APP_REMINDER_SUB,
1639: avalue => get_message('OKL_LLA_REQ_APPR_SUB_REMINDER',l_contract_number));
1640:

Line 1641: wf_engine.SetItemAttrText (itemtype => itemtype,

1637: itemkey => itemkey,
1638: aname => G_WF_ITM_APP_REMINDER_SUB,
1639: avalue => get_message('OKL_LLA_REQ_APPR_SUB_REMINDER',l_contract_number));
1640:
1641: wf_engine.SetItemAttrText (itemtype => itemtype,
1642: itemkey => itemkey,
1643: aname => G_WF_ITM_APP_APPROVED_SUB,
1644: avalue => get_message('OKL_LLA_REQUEST_APPROVED_SUB',l_contract_number));
1645:

Line 1646: wf_engine.SetItemAttrText (itemtype => itemtype,

1642: itemkey => itemkey,
1643: aname => G_WF_ITM_APP_APPROVED_SUB,
1644: avalue => get_message('OKL_LLA_REQUEST_APPROVED_SUB',l_contract_number));
1645:
1646: wf_engine.SetItemAttrText (itemtype => itemtype,
1647: itemkey => itemkey,
1648: aname => G_WF_ITM_APP_REJECTED_SUB,
1649: avalue => get_message('OKL_LLA_REQUEST_REJECTED_SUB',l_contract_number));
1650:

Line 1651: wf_engine.SetItemAttrText (itemtype => itemtype,

1647: itemkey => itemkey,
1648: aname => G_WF_ITM_APP_REJECTED_SUB,
1649: avalue => get_message('OKL_LLA_REQUEST_REJECTED_SUB',l_contract_number));
1650:
1651: wf_engine.SetItemAttrText (itemtype => itemtype,
1652: itemkey => itemkey,
1653: aname => G_WF_ITM_APP_REMINDER_HEAD,
1654: avalue => get_message('OKL_LLA_REQ_APPROVAL_REMINDER',l_contract_number));
1655:

Line 1656: wf_engine.SetItemAttrText (itemtype => itemtype,

1652: itemkey => itemkey,
1653: aname => G_WF_ITM_APP_REMINDER_HEAD,
1654: avalue => get_message('OKL_LLA_REQ_APPROVAL_REMINDER',l_contract_number));
1655:
1656: wf_engine.SetItemAttrText (itemtype => itemtype,
1657: itemkey => itemkey,
1658: aname => G_WF_ITM_APP_APPROVED_HEAD,
1659: avalue => get_message('OKL_LLA_REQUEST_APPROVED_SUB',l_contract_number));
1660:

Line 1661: wf_engine.SetItemAttrText (itemtype => itemtype,

1657: itemkey => itemkey,
1658: aname => G_WF_ITM_APP_APPROVED_HEAD,
1659: avalue => get_message('OKL_LLA_REQUEST_APPROVED_SUB',l_contract_number));
1660:
1661: wf_engine.SetItemAttrText (itemtype => itemtype,
1662: itemkey => itemkey,
1663: aname => G_WF_ITM_APP_REJECTED_HEAD,
1664: avalue => get_message('OKL_LLA_REQUEST_REJECTED_SUB',l_contract_number));
1665:

Line 1732: wf_engine.CreateProcess(itemtype => l_item_type,

1728: CLOSE l_wf_item_key_csr;
1729:
1730: IF (funcmode = 'RUN') THEN
1731:
1732: wf_engine.CreateProcess(itemtype => l_item_type,
1733: itemkey => l_key,
1734: process => l_process);
1735:
1736: wf_engine.SetItemParent(itemtype => l_item_type,

Line 1736: wf_engine.SetItemParent(itemtype => l_item_type,

1732: wf_engine.CreateProcess(itemtype => l_item_type,
1733: itemkey => l_key,
1734: process => l_process);
1735:
1736: wf_engine.SetItemParent(itemtype => l_item_type,
1737: itemkey => l_key,
1738: parent_itemtype => itemtype,
1739: parent_itemkey => itemkey,
1740: parent_context => G_WF_ITM_MASTER);

Line 1742: wf_engine.SetItemAttrText (

1738: parent_itemtype => itemtype,
1739: parent_itemkey => itemkey,
1740: parent_context => G_WF_ITM_MASTER);
1741:
1742: wf_engine.SetItemAttrText (
1743: itemtype => l_item_type,
1744: itemkey => l_key,
1745: aname => G_WF_ITM_PARENT_ITEM_KEY,
1746: avalue => itemkey);

Line 1748: wf_engine.SetItemAttrText (

1744: itemkey => l_key,
1745: aname => G_WF_ITM_PARENT_ITEM_KEY,
1746: avalue => itemkey);
1747:
1748: wf_engine.SetItemAttrText (
1749: itemtype => l_item_type,
1750: itemkey => l_key,
1751: aname => G_WF_ITM_PARENT_ITEM_TYPE,
1752: avalue => itemtype);

Line 1756: l_contract_id := wf_engine.GetItemAttrText (itemtype => itemtype,

1752: avalue => itemtype);
1753:
1754: -- Re populate Item Attributes for the Detail Process
1755:
1756: l_contract_id := wf_engine.GetItemAttrText (itemtype => itemtype,
1757: itemkey => itemkey,
1758: aname => G_WF_ITM_CONTRACT_ID);
1759:
1760: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,

Line 1760: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,

1756: l_contract_id := wf_engine.GetItemAttrText (itemtype => itemtype,
1757: itemkey => itemkey,
1758: aname => G_WF_ITM_CONTRACT_ID);
1759:
1760: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,
1761: itemkey => itemkey,
1762: aname => G_WF_ITM_CONTRACT_NUMBER);
1763:
1764: l_requester := wf_engine.GetItemAttrText (itemtype => itemtype,

Line 1764: l_requester := wf_engine.GetItemAttrText (itemtype => itemtype,

1760: l_contract_number := wf_engine.GetItemAttrText (itemtype => itemtype,
1761: itemkey => itemkey,
1762: aname => G_WF_ITM_CONTRACT_NUMBER);
1763:
1764: l_requester := wf_engine.GetItemAttrText (itemtype => itemtype,
1765: itemkey => itemkey,
1766: aname => G_WF_ITM_REQUESTER);
1767:
1768: l_requester_id := wf_engine.GetItemAttrText (itemtype => itemtype,

Line 1768: l_requester_id := wf_engine.GetItemAttrText (itemtype => itemtype,

1764: l_requester := wf_engine.GetItemAttrText (itemtype => itemtype,
1765: itemkey => itemkey,
1766: aname => G_WF_ITM_REQUESTER);
1767:
1768: l_requester_id := wf_engine.GetItemAttrText (itemtype => itemtype,
1769: itemkey => itemkey,
1770: aname => G_WF_ITM_REQUESTER_ID);
1771:
1772: wf_engine.SetItemAttrText (

Line 1772: wf_engine.SetItemAttrText (

1768: l_requester_id := wf_engine.GetItemAttrText (itemtype => itemtype,
1769: itemkey => itemkey,
1770: aname => G_WF_ITM_REQUESTER_ID);
1771:
1772: wf_engine.SetItemAttrText (
1773: itemtype => l_item_type,
1774: itemkey => l_key,
1775: aname => G_WF_ITM_CONTRACT_ID,
1776: avalue => l_contract_id);

Line 1778: wf_engine.SetItemAttrText (

1774: itemkey => l_key,
1775: aname => G_WF_ITM_CONTRACT_ID,
1776: avalue => l_contract_id);
1777:
1778: wf_engine.SetItemAttrText (
1779: itemtype => l_item_type,
1780: itemkey => l_key,
1781: aname => G_WF_ITM_CONTRACT_NUMBER,
1782: avalue => l_contract_number);

Line 1784: wf_engine.SetItemAttrText (

1780: itemkey => l_key,
1781: aname => G_WF_ITM_CONTRACT_NUMBER,
1782: avalue => l_contract_number);
1783:
1784: wf_engine.SetItemAttrText (
1785: itemtype => l_item_type,
1786: itemkey => l_key,
1787: aname => G_WF_ITM_REQUESTER,
1788: avalue => l_requester);

Line 1789: wf_engine.SetItemAttrText (

1785: itemtype => l_item_type,
1786: itemkey => l_key,
1787: aname => G_WF_ITM_REQUESTER,
1788: avalue => l_requester);
1789: wf_engine.SetItemAttrText (
1790: itemtype => l_item_type,
1791: itemkey => l_key,
1792: aname => G_WF_ITM_REQUESTER_ID,
1793: avalue => l_requester_id);

Line 1796: wf_engine.SetItemAttrText (itemtype => l_item_type,

1792: aname => G_WF_ITM_REQUESTER_ID,
1793: avalue => l_requester_id);
1794:
1795: -- Set the Message Document
1796: wf_engine.SetItemAttrText (itemtype => l_item_type,
1797: itemkey => l_key,
1798: aname => G_WF_ITM_MESSAGE_DOC,
1799: avalue => 'plsql:Okl_Kbk_Approvals_Wf.pop_approval_doc/'||l_key);
1800:

Line 1802: wf_engine.StartProcess(itemtype => l_item_type,

1798: aname => G_WF_ITM_MESSAGE_DOC,
1799: avalue => 'plsql:Okl_Kbk_Approvals_Wf.pop_approval_doc/'||l_key);
1800:
1801: -- Now, Start the Detail Process
1802: wf_engine.StartProcess(itemtype => l_item_type,
1803: itemkey => l_key);
1804:
1805: resultout := 'COMPLETE:';
1806: RETURN;