DBA Data[Home] [Help]

APPS.CN_PLAN_ELEMENT_PVT dependencies on CN_PERIOD_QUOTAS_PKG

Line 1494: cn_period_quotas_pkg.distribute_target (p_plan_element.quota_id);

1490: x_salesrep_end_flag => p_plan_element.sreps_enddated_flag
1491: );
1492: -- Record inserted successfully
1493: -- insert the periods given that we always have a start and end date
1494: cn_period_quotas_pkg.distribute_target (p_plan_element.quota_id);
1495:
1496: IF p_plan_element.quota_status <> cn_plan_element_pvt.g_new_status
1497: THEN
1498: -- Call the Rate_quotas Procedure to create rate quota Assigns

Line 1833: -- cn_period_quotas_pkg.DELETE_RECORD (p_plan_element.quota_id);

1829: OR NVL (p_plan_element.end_date, fnd_api.g_miss_date)
1830: <> NVL (l_old_plan_element.end_date, fnd_api.g_miss_date)
1831: THEN
1832: -- Call the Table Handler to Delete the Old Period quotas
1833: -- cn_period_quotas_pkg.DELETE_RECORD (p_plan_element.quota_id);
1834: cn_period_quotas_pkg.distribute_target (p_plan_element.quota_id);
1835: END IF;
1836: -- Commented out for Bug 4722521------------------------------------------------
1837: -- check if we need to update the cn_srp_period_quotas ext table. If yes, update the table

Line 1834: cn_period_quotas_pkg.distribute_target (p_plan_element.quota_id);

1830: <> NVL (l_old_plan_element.end_date, fnd_api.g_miss_date)
1831: THEN
1832: -- Call the Table Handler to Delete the Old Period quotas
1833: -- cn_period_quotas_pkg.DELETE_RECORD (p_plan_element.quota_id);
1834: cn_period_quotas_pkg.distribute_target (p_plan_element.quota_id);
1835: END IF;
1836: -- Commented out for Bug 4722521------------------------------------------------
1837: -- check if we need to update the cn_srp_period_quotas ext table. If yes, update the table
1838: -- if the new assignement is external package, we do not do anything