DBA Data[Home] [Help]

APPS.POS_SUPPLIER_USER_REG_PKG dependencies on WF_ENGINE

Line 965: wf_engine.CreateProcess(itemtype => l_itemtype,

961:
962: l_itemtype := 'POSREGV2';
963: l_itemkey := gen_wf_item_key(p_registration_id,'approve');
964:
965: wf_engine.CreateProcess(itemtype => l_itemtype,
966: itemkey => l_itemkey,
967: process => l_process
968: );
969:

Line 970: wf_engine.SetItemAttrText (itemtype => l_itemtype,

966: itemkey => l_itemkey,
967: process => l_process
968: );
969:
970: wf_engine.SetItemAttrText (itemtype => l_itemtype,
971: itemkey => l_itemkey,
972: aname => 'LOGON_PAGE_URL',
973: avalue => pos_url_pkg.get_external_login_url
974: );

Line 976: wf_engine.SetItemAttrText (itemtype => l_itemtype,

972: aname => 'LOGON_PAGE_URL',
973: avalue => pos_url_pkg.get_external_login_url
974: );
975:
976: wf_engine.SetItemAttrText (itemtype => l_itemtype,
977: itemkey => l_itemkey,
978: aname => 'ASSIGNED_USER_NAME',
979: avalue => p_user_name
980: );

Line 982: wf_engine.SetItemAttrText (itemtype => l_itemtype,

978: aname => 'ASSIGNED_USER_NAME',
979: avalue => p_user_name
980: );
981:
982: wf_engine.SetItemAttrText (itemtype => l_itemtype,
983: itemkey => l_itemkey,
984: aname => 'FIRST_LOGON_KEY',
985: avalue => p_password
986: );

Line 988: wf_engine.SetItemAttrText (itemtype => l_itemtype,

984: aname => 'FIRST_LOGON_KEY',
985: avalue => p_password
986: );
987:
988: wf_engine.SetItemAttrText (itemtype => l_itemtype,
989: itemkey => l_itemkey,
990: aname => 'CONTACT_EMAIL',
991: avalue => get_contact_email
992: );

Line 995: wf_engine.SetItemAttrText (itemtype => l_itemtype,

991: avalue => get_contact_email
992: );
993:
994: IF p_is_invited <> 'Y' THEN
995: wf_engine.SetItemAttrText (itemtype => l_itemtype,
996: itemkey => l_itemkey,
997: aname => 'NOTE',
998: avalue => get_note(p_registration_id)
999: );

Line 1002: wf_engine.SetItemAttrText (itemtype => l_itemtype,

998: avalue => get_note(p_registration_id)
999: );
1000: END IF;
1001:
1002: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1003: itemkey => l_itemkey,
1004: aname => 'ENTERPRISE_NAME',
1005: avalue => get_enterprise_name
1006: );

Line 1011: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1007:
1008: -- Bug 8325979 - Following code added to replace the message body with FND
1009: -- Message tokens
1010:
1011: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1012: itemkey => l_itemkey,
1013: aname => 'POS_APPRV_REG_USER_SUBJECT',
1014: avalue => GET_APPRV_REG_USR_SUBJECT(l_enterprise_name)
1015: );

Line 1017: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1013: aname => 'POS_APPRV_REG_USER_SUBJECT',
1014: avalue => GET_APPRV_REG_USR_SUBJECT(l_enterprise_name)
1015: );
1016:
1017: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1018: itemkey => l_itemkey,
1019: aname => 'POS_APPRV_REG_USER_BODY',
1020: avalue => 'PLSQLCLOB:pos_supplier_user_reg_pkg.GENERATE_APPRV_REG_USR_BODY/'||l_itemtype ||':' ||l_itemkey
1021: );

Line 1025: wf_engine.StartProcess (itemtype => l_itemtype,

1021: );
1022:
1023:
1024:
1025: wf_engine.StartProcess (itemtype => l_itemtype,
1026: itemkey => l_itemkey
1027: );
1028:
1029: END send_approval_ntf;

Line 1056: wf_engine.CreateProcess(itemtype => l_itemtype,

1052: ELSE
1053: l_process := 'SEND_REG_ADMIN_NTF';
1054: END IF;
1055:
1056: wf_engine.CreateProcess(itemtype => l_itemtype,
1057: itemkey => l_itemkey,
1058: process => l_process
1059: );
1060:

Line 1063: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1059: );
1060:
1061: IF (is_osn = 'Y') THEN
1062: lv_approver_role := get_approver_role_for_osn();
1063: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1064: itemkey => l_itemkey,
1065: aname => 'APPROVER_ROLE',
1066: avalue => lv_approver_role
1067: );

Line 1069: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1065: aname => 'APPROVER_ROLE',
1066: avalue => lv_approver_role
1067: );
1068: ELSE
1069: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1070: itemkey => l_itemkey,
1071: aname => 'APPROVER_ROLE',
1072: avalue => p_approver_role
1073: );

Line 1076: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1072: avalue => p_approver_role
1073: );
1074: END IF;
1075:
1076: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1077: itemkey => l_itemkey,
1078: aname => 'FIRST_NAME',
1079: avalue => p_first_name
1080: );

Line 1082: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1078: aname => 'FIRST_NAME',
1079: avalue => p_first_name
1080: );
1081:
1082: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1083: itemkey => l_itemkey,
1084: aname => 'LAST_NAME',
1085: avalue => p_last_name
1086: );

Line 1089: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1085: avalue => p_last_name
1086: );
1087:
1088: IF (is_osn = 'Y' AND p_vendor_name IS NULL) THEN
1089: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1090: itemkey => l_itemkey,
1091: aname => 'VENDOR_NAME',
1092: avalue => get_tp_name(p_registration_id)
1093: );

Line 1095: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1091: aname => 'VENDOR_NAME',
1092: avalue => get_tp_name(p_registration_id)
1093: );
1094: ELSE
1095: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1096: itemkey => l_itemkey,
1097: aname => 'VENDOR_NAME',
1098: avalue => p_vendor_name
1099: );

Line 1102: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1098: avalue => p_vendor_name
1099: );
1100: END IF;
1101:
1102: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1103: itemkey => l_itemkey,
1104: aname => 'LOGON_PAGE_URL',
1105: avalue => pos_url_pkg.get_buyer_login_url
1106: );

Line 1108: wf_engine.StartProcess (itemtype => l_itemtype,

1104: aname => 'LOGON_PAGE_URL',
1105: avalue => pos_url_pkg.get_buyer_login_url
1106: );
1107:
1108: wf_engine.StartProcess (itemtype => l_itemtype,
1109: itemkey => l_itemkey
1110: );
1111:
1112: END send_respond_ntf;

Line 1139: wf_engine.CreateProcess(itemtype => l_itemtype,

1135: p_email => p_email,
1136: p_language_code => p_language_code
1137: );
1138:
1139: wf_engine.CreateProcess(itemtype => l_itemtype,
1140: itemkey => l_itemkey,
1141: process => l_process
1142: );
1143:

Line 1144: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1140: itemkey => l_itemkey,
1141: process => l_process
1142: );
1143:
1144: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1145: itemkey => l_itemkey,
1146: aname => 'ADHOC_USER_NAME',
1147: avalue => l_local_user_name
1148: );

Line 1150: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1146: aname => 'ADHOC_USER_NAME',
1147: avalue => l_local_user_name
1148: );
1149:
1150: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1151: itemkey => l_itemkey,
1152: aname => 'ENTERPRISE_NAME',
1153: avalue => get_enterprise_name
1154: );

Line 1156: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1152: aname => 'ENTERPRISE_NAME',
1153: avalue => get_enterprise_name
1154: );
1155:
1156: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1157: itemkey => l_itemkey,
1158: aname => 'REG_PAGE_URL',
1159: avalue => get_reg_page_url(p_invitation_key,
1160: p_language_code)

Line 1163: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1159: avalue => get_reg_page_url(p_invitation_key,
1160: p_language_code)
1161: );
1162:
1163: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1164: itemkey => l_itemkey,
1165: aname => 'NOTE',
1166: avalue => p_note
1167: );

Line 1169: wf_engine.StartProcess (itemtype => l_itemtype,

1165: aname => 'NOTE',
1166: avalue => p_note
1167: );
1168:
1169: wf_engine.StartProcess (itemtype => l_itemtype,
1170: itemkey => l_itemkey
1171: );
1172:
1173: END send_invitation_ntf;

Line 1198: wf_engine.CreateProcess(itemtype => l_itemtype,

1194: p_email => p_email,
1195: p_language_code => p_language_code
1196: );
1197:
1198: wf_engine.CreateProcess(itemtype => l_itemtype,
1199: itemkey => l_itemkey,
1200: process => l_process
1201: );
1202:

Line 1203: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1199: itemkey => l_itemkey,
1200: process => l_process
1201: );
1202:
1203: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1204: itemkey => l_itemkey,
1205: aname => 'ADHOC_USER_NAME',
1206: avalue => l_local_user_name
1207: );

Line 1209: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1205: aname => 'ADHOC_USER_NAME',
1206: avalue => l_local_user_name
1207: );
1208:
1209: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1210: itemkey => l_itemkey,
1211: aname => 'CONTACT_EMAIL',
1212: avalue => get_contact_email
1213: );

Line 1215: wf_engine.SetItemAttrText (itemtype => l_itemtype,

1211: aname => 'CONTACT_EMAIL',
1212: avalue => get_contact_email
1213: );
1214:
1215: wf_engine.SetItemAttrText (itemtype => l_itemtype,
1216: itemkey => l_itemkey,
1217: aname => 'ENTERPRISE_NAME',
1218: avalue => get_enterprise_name
1219: );

Line 1220: wf_engine.StartProcess (itemtype => l_itemtype,

1216: itemkey => l_itemkey,
1217: aname => 'ENTERPRISE_NAME',
1218: avalue => get_enterprise_name
1219: );
1220: wf_engine.StartProcess (itemtype => l_itemtype,
1221: itemkey => l_itemkey
1222: );
1223:
1224: END send_rejection_ntf;

Line 1795: l_enterprisename := wf_engine.GetItemAttrText (itemtype => l_item_type,

1791: fnd_log.string(fnd_log.level_procedure, g_log_module_name || '.GENERATE_APPRV_REG_USR_BODY', 'l_item_type ' || l_item_type);
1792: fnd_log.string(fnd_log.level_procedure, g_log_module_name || '.GENERATE_APPRV_REG_USR_BODY', 'l_item_key ' || l_item_key);
1793: END IF;
1794:
1795: l_enterprisename := wf_engine.GetItemAttrText (itemtype => l_item_type,
1796: itemkey => l_item_key,
1797: aname => 'ENTERPRISE_NAME');
1798: l_url := wf_engine.GetItemAttrText (itemtype => l_item_type,
1799: itemkey => l_item_key,

Line 1798: l_url := wf_engine.GetItemAttrText (itemtype => l_item_type,

1794:
1795: l_enterprisename := wf_engine.GetItemAttrText (itemtype => l_item_type,
1796: itemkey => l_item_key,
1797: aname => 'ENTERPRISE_NAME');
1798: l_url := wf_engine.GetItemAttrText (itemtype => l_item_type,
1799: itemkey => l_item_key,
1800: aname => 'LOGON_PAGE_URL');
1801: l_username := wf_engine.GetItemAttrText (itemtype => l_item_type,
1802: itemkey => l_item_key,

Line 1801: l_username := wf_engine.GetItemAttrText (itemtype => l_item_type,

1797: aname => 'ENTERPRISE_NAME');
1798: l_url := wf_engine.GetItemAttrText (itemtype => l_item_type,
1799: itemkey => l_item_key,
1800: aname => 'LOGON_PAGE_URL');
1801: l_username := wf_engine.GetItemAttrText (itemtype => l_item_type,
1802: itemkey => l_item_key,
1803: aname => 'ASSIGNED_USER_NAME');
1804: l_password := wf_engine.GetItemAttrText (itemtype => l_item_type,
1805: itemkey => l_item_key,

Line 1804: l_password := wf_engine.GetItemAttrText (itemtype => l_item_type,

1800: aname => 'LOGON_PAGE_URL');
1801: l_username := wf_engine.GetItemAttrText (itemtype => l_item_type,
1802: itemkey => l_item_key,
1803: aname => 'ASSIGNED_USER_NAME');
1804: l_password := wf_engine.GetItemAttrText (itemtype => l_item_type,
1805: itemkey => l_item_key,
1806: aname => 'FIRST_LOGON_KEY');
1807: l_email := wf_engine.GetItemAttrText (itemtype => l_item_type,
1808: itemkey => l_item_key,

Line 1807: l_email := wf_engine.GetItemAttrText (itemtype => l_item_type,

1803: aname => 'ASSIGNED_USER_NAME');
1804: l_password := wf_engine.GetItemAttrText (itemtype => l_item_type,
1805: itemkey => l_item_key,
1806: aname => 'FIRST_LOGON_KEY');
1807: l_email := wf_engine.GetItemAttrText (itemtype => l_item_type,
1808: itemkey => l_item_key,
1809: aname => 'CONTACT_EMAIL');
1810:
1811: l_note := wf_engine.GetItemAttrText (itemtype => l_item_type,

Line 1811: l_note := wf_engine.GetItemAttrText (itemtype => l_item_type,

1807: l_email := wf_engine.GetItemAttrText (itemtype => l_item_type,
1808: itemkey => l_item_key,
1809: aname => 'CONTACT_EMAIL');
1810:
1811: l_note := wf_engine.GetItemAttrText (itemtype => l_item_type,
1812: itemkey => l_item_key,
1813: aname => 'NOTE');
1814:
1815: IF ( fnd_log.level_procedure >= FND_LOG.G_CURRENT_RUNTIME_LEVEL ) THEN