[Home] [Help]
255: and mtp.partner_type = 3
256: and l_plan_type = 6) t,
257:
258: msc_currency_conv_mv mcc,
259: msc_phub_suppliers_mv mps
260:
261: where mcc.from_currency(+) = t.currency_code
262: and mcc.to_currency(+) = fnd_profile.value('MSC_HUB_CUR_CODE_RPT')
263: and mcc.calendar_date(+) = t.analysis_date
371: and mbid.sr_instance_id = mtp.sr_instance_id
372: and mtp.partner_type = 3
373: and l_plan_type = 6) t,
374:
375: msc_phub_suppliers_mv mps
376:
377: where mps.supplier_id = nvl(t.supplier_id, -23453)
378: and mps.supplier_site_id = nvl(t.supplier_site_id, -23453)
379: and mps.region_id = decode(nvl(t.supplier_site_id, -23453),