DBA Data[Home] [Help]

APPS.IEM_EMAILPROC_PVT dependencies on IEM_ACTIONS

Line 151: select action into l_action from iem_actions

147: l_3Rs(x).rule_type := 'RRRS';
148: l_3Rs(x).created_by := v_emailProcs.user_name;
149: l_3Rs(x).creation_date := v_emailProcs.creation_date;
150:
151: select action into l_action from iem_actions
152: where emailproc_id = v_emailProcs.emailproc_id;
153: l_3Rs(x).action := l_action;
154:
155: x := x + 1;

Line 168: select action into l_action from iem_actions

164: l_documents(x).rule_type := 'DOCUMENTRETRIEVAL';
165: l_documents(x).created_by := v_emailProcs.user_name;
166: l_documents(x).creation_date := v_emailProcs.creation_date;
167:
168: select action into l_action from iem_actions
169: where emailproc_id = v_emailProcs.emailproc_id;
170: l_documents(x).action := l_action;
171:
172: x := x + 1;

Line 196: select action into l_action from iem_actions

192: l_redirects(x).rule_type := 'AUTOREDIRECT';
193: l_redirects(x).created_by := v_emailProcs.user_name;
194: l_redirects(x).creation_date := v_emailProcs.creation_date;
195:
196: select action into l_action from iem_actions
197: where emailproc_id = v_emailProcs.emailproc_id;
198: l_redirects(x).action := l_action;
199:
200: x := x + 1;

Line 296: from iem_emailprocs r, iem_account_emailprocs a, iem_actions b

292: --used to retrieve rule types with different actions
293: cursor c_emailProc_rrr( v_acct_Id number, v_rule_type varchar2) is
294: select a.account_emailProc_id, a.priority, r.emailproc_id, r.name, r.description,
295: b.action, a.enabled_flag
296: from iem_emailprocs r, iem_account_emailprocs a, iem_actions b
297: where r.emailproc_id = a.emailproc_id and a.email_account_id = v_acct_Id
298: and r.rule_type = v_rule_type and a.emailproc_id = b.emailproc_id order by a.priority asc;
299:
300: cursor c_routes(v_acct_Id number) is

Line 497: select action_id from iem_actions where emailproc_id = v_emailProc_id;

493: IEM_EMAILPROC_NOT_DELETED EXCEPTION;
494: MY_EXCEPTION EXCEPTION;
495:
496: cursor c_actions(v_emailProc_id number) is
497: select action_id from iem_actions where emailproc_id = v_emailProc_id;
498:
499: BEGIN
500:
501: --Standard Savepoint

Line 648: l_action_id IEM_ACTIONS.ACTION_ID%type;

644: l_return_status VARCHAR2(20) := FND_API.G_RET_STS_SUCCESS;
645: l_msg_count NUMBER := 0;
646: l_msg_data VARCHAR2(2000);
647:
648: l_action_id IEM_ACTIONS.ACTION_ID%type;
649: l_param2_count NUMBER := 0;
650: l_param_tag_count NUMBER := 0;
651:
652: l_param2 VARCHAR2(256);

Line 837: select action_id into l_action_id from iem_actions where emailproc_id = p_emailproc_id;

833: end if;
834: end if;
835:
836: -- updating action
837: select action_id into l_action_id from iem_actions where emailproc_id = p_emailproc_id;
838:
839: if ( p_action <> FND_API.G_MISS_CHAR ) or ( p_action is not null ) then
840: update iem_actions set action=p_action where action_id = l_action_id;
841: end if;

Line 840: update iem_actions set action=p_action where action_id = l_action_id;

836: -- updating action
837: select action_id into l_action_id from iem_actions where emailproc_id = p_emailproc_id;
838:
839: if ( p_action <> FND_API.G_MISS_CHAR ) or ( p_action is not null ) then
840: update iem_actions set action=p_action where action_id = l_action_id;
841: end if;
842:
843: -- updating action dtls
844: delete from iem_action_dtls where action_id = l_action_id;

Line 1020: l_action_id IEM_ACTIONS.ACTION_ID%type;

1016: l_api_version_number NUMBER:=1.0;
1017:
1018: l_emailproc_id IEM_EMAILPROCS.EMAILPROC_ID%TYPE;
1019: l_route_rule_id IEM_EMAILPROC_RULES.EMAILPROC_RULE_ID%TYPE;
1020: l_action_id IEM_ACTIONS.ACTION_ID%type;
1021: l_param2_count NUMBER := 0;
1022: l_param_tag_count NUMBER := 0;
1023:
1024: l_param2 VARCHAR2(256);

Line 1130: -- create iem_actions

1126: end if;
1127: end loop;
1128: end if;
1129:
1130: -- create iem_actions
1131: -- IF ( p_rule_type = 'AUTOACKNOWLEDGE' or p_rule_type = 'AUTOPROCESSING' or p_rule_type = 'AUTORRRS' ) then
1132: iem_emailproc_hdl_pvt.create_item_actions (
1133: p_api_version_number=>p_api_version_number,
1134: p_init_msg_list => p_init_msg_list,

Line 1335: from iem_emailprocs a, iem_actions b, iem_action_dtls c

1331: raise IEM_ADMIN_ACCOUNT_NOT_EXIST;
1332: end if;
1333:
1334: select count(*) into l_redirect_same_acct
1335: from iem_emailprocs a, iem_actions b, iem_action_dtls c
1336: where a.emailproc_id = p_emailproc_id and a.emailproc_id=b.emailproc_id
1337: and a.rule_type='AUTOREDIRECT' and b.action='AUTOREDIRECT_INTERNAL'
1338: and b.action_id=c.action_id and c.parameter1=to_char(p_email_account_id);
1339:

Line 1613: select action_id from iem_actions where emailproc_id = l_emailproc_id;

1609: CURSOR acct_id_cursor( l_emailproc_id IN NUMBER ) IS
1610: select email_account_id from iem_account_emailprocs where emailproc_id = l_emailproc_id;
1611:
1612: CURSOR action_id_cursor( l_emailproc_id IN NUMBER ) IS
1613: select action_id from iem_actions where emailproc_id = l_emailproc_id;
1614: IEM_ROUTE_NOT_DELETED EXCEPTION;
1615: BEGIN
1616:
1617:

Line 1683: delete from iem_actions where emailproc_id = p_emailproc_id;

1679: delete from iem_action_dtls where action_id = v_action_id.action_id;
1680: END LOOP;
1681:
1682: --remove iem_email_actions
1683: delete from iem_actions where emailproc_id = p_emailproc_id;
1684:
1685:
1686: --Standard check of p_commit
1687: IF FND_API.to_Boolean(p_commit) THEN