DBA Data[Home] [Help]

APPS.ECX_RULE dependencies on WF_CORE

Line 127: wf_core.token('ECX_PARTY_ID', party_id);

123: if (wf_log_pkg.level_error >= fnd_log.g_current_runtime_level) then
124: wf_log_pkg.string(wf_log_pkg.level_error, l_module,'No Party Setup');
125: end if;
126: ecx_exception_type := 'ecx_no_party_setup';
127: wf_core.token('ECX_PARTY_ID', party_id);
128: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
129: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
130: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
131: wf_core.raise('ECX_NO_PARTY_SETUP');

Line 128: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);

124: wf_log_pkg.string(wf_log_pkg.level_error, l_module,'No Party Setup');
125: end if;
126: ecx_exception_type := 'ecx_no_party_setup';
127: wf_core.token('ECX_PARTY_ID', party_id);
128: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
129: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
130: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
131: wf_core.raise('ECX_NO_PARTY_SETUP');
132: when ecx_document.ecx_delivery_setup_error then

Line 129: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);

125: end if;
126: ecx_exception_type := 'ecx_no_party_setup';
127: wf_core.token('ECX_PARTY_ID', party_id);
128: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
129: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
130: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
131: wf_core.raise('ECX_NO_PARTY_SETUP');
132: when ecx_document.ecx_delivery_setup_error then
133: if (wf_log_pkg.level_error >= fnd_log.g_current_runtime_level) then

Line 130: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);

126: ecx_exception_type := 'ecx_no_party_setup';
127: wf_core.token('ECX_PARTY_ID', party_id);
128: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
129: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
130: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
131: wf_core.raise('ECX_NO_PARTY_SETUP');
132: when ecx_document.ecx_delivery_setup_error then
133: if (wf_log_pkg.level_error >= fnd_log.g_current_runtime_level) then
134: wf_log_pkg.string(wf_log_pkg.level_error, l_module,'Delivery Setup Error');

Line 131: wf_core.raise('ECX_NO_PARTY_SETUP');

127: wf_core.token('ECX_PARTY_ID', party_id);
128: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
129: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
130: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
131: wf_core.raise('ECX_NO_PARTY_SETUP');
132: when ecx_document.ecx_delivery_setup_error then
133: if (wf_log_pkg.level_error >= fnd_log.g_current_runtime_level) then
134: wf_log_pkg.string(wf_log_pkg.level_error, l_module,'Delivery Setup Error');
135: end if;

Line 137: wf_core.token('ECX_PARTY_ID', party_id);

133: if (wf_log_pkg.level_error >= fnd_log.g_current_runtime_level) then
134: wf_log_pkg.string(wf_log_pkg.level_error, l_module,'Delivery Setup Error');
135: end if;
136: ecx_exception_type := 'ecx_delivery_setup_error';
137: wf_core.token('ECX_PARTY_ID', party_id);
138: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
139: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
140: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
141: wf_core.raise('ECX_DELIVERY_SETUP_ERROR');

Line 138: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);

134: wf_log_pkg.string(wf_log_pkg.level_error, l_module,'Delivery Setup Error');
135: end if;
136: ecx_exception_type := 'ecx_delivery_setup_error';
137: wf_core.token('ECX_PARTY_ID', party_id);
138: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
139: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
140: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
141: wf_core.raise('ECX_DELIVERY_SETUP_ERROR');
142: when ecx_utils.program_exit then

Line 139: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);

135: end if;
136: ecx_exception_type := 'ecx_delivery_setup_error';
137: wf_core.token('ECX_PARTY_ID', party_id);
138: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
139: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
140: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
141: wf_core.raise('ECX_DELIVERY_SETUP_ERROR');
142: when ecx_utils.program_exit then
143: if (wf_log_pkg.level_error >= fnd_log.g_current_runtime_level) then

Line 140: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);

136: ecx_exception_type := 'ecx_delivery_setup_error';
137: wf_core.token('ECX_PARTY_ID', party_id);
138: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
139: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
140: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
141: wf_core.raise('ECX_DELIVERY_SETUP_ERROR');
142: when ecx_utils.program_exit then
143: if (wf_log_pkg.level_error >= fnd_log.g_current_runtime_level) then
144: wf_log_pkg.string(wf_log_pkg.level_error, l_module,'Program Exit');

Line 141: wf_core.raise('ECX_DELIVERY_SETUP_ERROR');

137: wf_core.token('ECX_PARTY_ID', party_id);
138: wf_core.token('ECX_PARTY_SITE_ID', party_site_id);
139: wf_core.token('ECX_TRANSACTION_TYPE', transaction_type);
140: wf_core.token('ECX_TRANSACTION_SUBTYPE', transaction_subtype);
141: wf_core.raise('ECX_DELIVERY_SETUP_ERROR');
142: when ecx_utils.program_exit then
143: if (wf_log_pkg.level_error >= fnd_log.g_current_runtime_level) then
144: wf_log_pkg.string(wf_log_pkg.level_error, l_module,'Program Exit');
145: end if;

Line 148: wf_core.token('ECX_ERRMSG',ecx_debug.getMessage(ecx_utils.i_errbuf,

144: wf_log_pkg.string(wf_log_pkg.level_error, l_module,'Program Exit');
145: end if;
146: ecx_exception_type := 'program_exit';
147: -- Get the MLS message
148: wf_core.token('ECX_ERRMSG',ecx_debug.getMessage(ecx_utils.i_errbuf,
149: ecx_utils.i_errparams));
150: wf_core.raise('ECX_PROGRAM_EXIT');
151: when others then
152: wf_core.raise('ECX_EVENT_ERROR');

Line 150: wf_core.raise('ECX_PROGRAM_EXIT');

146: ecx_exception_type := 'program_exit';
147: -- Get the MLS message
148: wf_core.token('ECX_ERRMSG',ecx_debug.getMessage(ecx_utils.i_errbuf,
149: ecx_utils.i_errparams));
150: wf_core.raise('ECX_PROGRAM_EXIT');
151: when others then
152: wf_core.raise('ECX_EVENT_ERROR');
153: end;
154:

Line 152: wf_core.raise('ECX_EVENT_ERROR');

148: wf_core.token('ECX_ERRMSG',ecx_debug.getMessage(ecx_utils.i_errbuf,
149: ecx_utils.i_errparams));
150: wf_core.raise('ECX_PROGRAM_EXIT');
151: when others then
152: wf_core.raise('ECX_EVENT_ERROR');
153: end;
154:
155: exception
156: when others then

Line 157: Wf_Core.Context('ECX_RULE', 'OUTBOUND_RULE', p_event.getEventName(), p_subscription_guid);

153: end;
154:
155: exception
156: when others then
157: Wf_Core.Context('ECX_RULE', 'OUTBOUND_RULE', p_event.getEventName(), p_subscription_guid);
158: if(ecx_exception_type = 'ecx_no_party_setup') OR
159: (ecx_exception_type = 'ecx_delivery_setup_error') OR
160: (ecx_exception_type = 'program_exit') then
161: wf_event.setErrorInfo(p_event,'WARNING');

Line 845: wf_core.context('ECX_RULE', 'Exec_WF', p_event.getEventName(),

841:
842: return 'SUCCESS';
843: exception
844: when others then
845: wf_core.context('ECX_RULE', 'Exec_WF', p_event.getEventName(),
846: p_subscription_guid);
847: wf_event.setErrorInfo(p_event, 'ERROR');
848: return 'ERROR';
849: end exec_wf;