DBA Data[Home] [Help]

APPS.MSC_PHUB_BUDGET_PKG dependencies on MSC_BUDGETS_F

Line 50: insert into msc_budgets_f (

46: return;
47: end if;
48:
49: if (l_budget_id > 0) then
50: insert into msc_budgets_f (
51: plan_id,
52: plan_run_id,
53: budget_level,
54: sr_instance_id,

Line 118: insert into msc_budgets_f (

114: where mcc.from_currency(+)=t.currency_code
115: and mcc.calendar_date(+)=l_plan_start_date
116: and mcc.to_currency(+)=fnd_profile.value('MSC_HUB_CUR_CODE_RPT');
117: else
118: insert into msc_budgets_f (
119: plan_id,
120: plan_run_id,
121: budget_level,
122: sr_instance_id,

Line 170: msc_phub_util.log('msc_phub_budget_pkg.populate_details: msc_budgets_f, rowcount='||sql%rowcount);

166: where mcc.from_currency(+)=currency_code
167: and mcc.calendar_date(+)=l_plan_start_date
168: and mcc.to_currency(+)=fnd_profile.value('MSC_HUB_CUR_CODE_RPT');
169: end if;
170: msc_phub_util.log('msc_phub_budget_pkg.populate_details: msc_budgets_f, rowcount='||sql%rowcount);
171: commit;
172:
173: exception
174: when others then

Line 231: ' '||l_apps_schema||'.msc_budgets_f'||l_suffix||' f,'||

227: ' f.budget_value2,'||
228: ' fnd_global.user_id, sysdate,'||
229: ' fnd_global.user_id, sysdate, fnd_global.login_id'||
230: ' from'||
231: ' '||l_apps_schema||'.msc_budgets_f'||l_suffix||' f,'||
232: ' '||l_apps_schema||'.msc_trading_partners'||l_suffix||' mtp,'||
233: ' '||l_apps_schema||'.msc_phub_categories_mv'||l_suffix||' c,'||
234: ' '||l_apps_schema||'.msc_apps_instances'||l_suffix||' mai'||
235: ' where f.plan_run_id=:p_plan_run_id'||

Line 262: l_fact_table varchar2(30) := 'msc_budgets_f';

258: p_plan_type number, p_plan_start_date date, p_plan_cutoff_date date,
259: p_upload_mode number, p_overwrite_after_date date, p_def_instance_code varchar2)
260: is
261: l_staging_table varchar2(30) := 'msc_st_budgets_f';
262: l_fact_table varchar2(30) := 'msc_budgets_f';
263: l_result number := 0;
264: begin
265: msc_phub_util.log('msc_phub_budget_pkg.import_budgets_f');
266: retcode := 0;

Line 281: msc_phub_util.log('msc_phub_budget_pkg.import_budgets_f: purge msc_budgets_f');

277: l_result := l_result + msc_phub_util.decode_category_key(
278: l_staging_table, p_st_transaction_id);
279:
280: if (p_upload_mode = msc_phub_util.upload_replace) then
281: msc_phub_util.log('msc_phub_budget_pkg.import_budgets_f: purge msc_budgets_f');
282:
283: delete from msc_budgets_f
284: where plan_id=p_plan_id and plan_run_id=p_plan_run_id;
285: commit;

Line 283: delete from msc_budgets_f

279:
280: if (p_upload_mode = msc_phub_util.upload_replace) then
281: msc_phub_util.log('msc_phub_budget_pkg.import_budgets_f: purge msc_budgets_f');
282:
283: delete from msc_budgets_f
284: where plan_id=p_plan_id and plan_run_id=p_plan_run_id;
285: commit;
286: end if;
287:

Line 288: msc_phub_util.log('msc_phub_budget_pkg.import_budgets_f: insert into msc_budgets_f');

284: where plan_id=p_plan_id and plan_run_id=p_plan_run_id;
285: commit;
286: end if;
287:
288: msc_phub_util.log('msc_phub_budget_pkg.import_budgets_f: insert into msc_budgets_f');
289: insert into msc_budgets_f (
290: plan_id,
291: plan_run_id,
292: sr_instance_id,

Line 289: insert into msc_budgets_f (

285: commit;
286: end if;
287:
288: msc_phub_util.log('msc_phub_budget_pkg.import_budgets_f: insert into msc_budgets_f');
289: insert into msc_budgets_f (
290: plan_id,
291: plan_run_id,
292: sr_instance_id,
293: organization_id,