DBA Data[Home] [Help]

APPS.AMS_EVENTOFFER_PVT dependencies on AMS_EVHRULES_PVT

Line 509: AMS_EvhRules_PVT.Convert_Evnt_Currency(

505: -- the code will convert the transaction currency in to
506: -- functional currency.
507: -- ==========================================================
508: IF l_evo_rec.fund_amount_tc IS NOT NULL THEN
509: AMS_EvhRules_PVT.Convert_Evnt_Currency(
510: p_tc_curr => l_evo_rec.currency_code_tc,
511: p_tc_amt => l_evo_rec.fund_amount_tc,
512: x_fc_curr => l_evo_rec.currency_code_fc,
513: x_fc_amt => l_evo_rec.fund_amount_fc

Line 985: AMS_EvhRules_PVT.push_source_code(

981:
982: --modified sugupta Should do it only for 'MAIN' event level
983: IF l_evo_rec.event_level = 'MAIN' THEN
984: --IF p_evo_rec.source_code is NOT NULL THEN
985: AMS_EvhRules_PVT.push_source_code(
986: l_evo_rec.source_code,
987: l_evo_rec.event_object_type,
988: l_evo_rec.event_offer_id
989: );

Line 997: AMS_EvhRules_PVT.Create_list(

993: IF c_list_YN%NOTFOUND THEN
994: CLOSE c_list_YN;
995: else
996: CLOSE c_list_YN;
997: AMS_EvhRules_PVT.Create_list(
998: p_evo_id => x_evo_id,
999: p_evo_name => l_evo_rec.event_offer_name,
1000: p_obj_type => l_evo_rec.event_object_type,
1001: p_owner_id => l_evo_rec.owner_user_id

Line 1004: AMS_EvhRules_PVT.Add_Update_Access_record(p_object_type => l_evo_rec.event_object_type, -- 'EVEO'

1000: p_obj_type => l_evo_rec.event_object_type,
1001: p_owner_id => l_evo_rec.owner_user_id
1002: );
1003: END IF;
1004: AMS_EvhRules_PVT.Add_Update_Access_record(p_object_type => l_evo_rec.event_object_type, -- 'EVEO'
1005: p_object_id => l_evo_rec.event_offer_id,
1006: p_Owner_user_id => l_evo_rec.owner_user_id,
1007: x_return_status => l_return_status,
1008: x_msg_count => x_msg_count,

Line 1863: AMS_EvhRules_PVT.update_evo_source_code(

1859: THEN
1860: IF l_evo_rec.event_object_type = 'EVEO' THEN
1861: -- extracting out source code modified by soagrawa
1862: -- 21-jan-2003 bug# 2761612
1863: AMS_EvhRules_PVT.update_evo_source_code(
1864: l_evo_rec.event_offer_id,
1865: l_evo_rec.source_code,
1866: l_evo_rec.global_flag,
1867: l_dummy_source_code,

Line 1875: AMS_EvhRules_PVT.update_eone_source_code(

1871: ELSE
1872: /* this new procedure needed for one of event take this comment once the code is ready*/
1873: -- extracting out source code modified by soagrawa
1874: -- 21-jan-2003 bug# 2761612
1875: AMS_EvhRules_PVT.update_eone_source_code(
1876: l_evo_rec.event_offer_id,
1877: l_evo_rec.source_code,
1878: l_evo_rec.global_flag,
1879: l_dummy_source_code,

Line 1917: AMS_Utility_PVT.debug_message('Entered AMS_EvhRules_PVT.update_evo_source_code');

1913: THEN
1914: IF l_evo_rec.event_object_type = 'EVEO' THEN
1915: IF (AMS_DEBUG_HIGH_ON) THEN
1916:
1917: AMS_Utility_PVT.debug_message('Entered AMS_EvhRules_PVT.update_evo_source_code');
1918: END IF;
1919: -- extracting out source code modified by soagrawa
1920: -- 21-jan-2003 bug# 2761612
1921: AMS_EvhRules_PVT.update_evo_source_code(

Line 1921: AMS_EvhRules_PVT.update_evo_source_code(

1917: AMS_Utility_PVT.debug_message('Entered AMS_EvhRules_PVT.update_evo_source_code');
1918: END IF;
1919: -- extracting out source code modified by soagrawa
1920: -- 21-jan-2003 bug# 2761612
1921: AMS_EvhRules_PVT.update_evo_source_code(
1922: l_evo_rec.event_offer_id,
1923: l_evo_rec.source_code,
1924: l_evo_rec.global_flag,
1925: l_dummy_source_code,

Line 1933: AMS_EvhRules_PVT.update_eone_source_code(

1929: ELSE
1930: /* this new procedure needed for one of event take this comment once the code is ready*/
1931: -- extracting out source code modified by soagrawa
1932: -- 21-jan-2003 bug# 2761612
1933: AMS_EvhRules_PVT.update_eone_source_code(
1934: l_evo_rec.event_offer_id,
1935: l_evo_rec.source_code,
1936: l_evo_rec.global_flag,
1937: l_dummy_source_code,

Line 2158: AMS_EvhRules_PVT.create_inventory_item(

2154: l_inv_item_desc := l_evo_rec.EVENT_OFFER_NAME;
2155: l_inv_long_desc := l_evo_rec.DESCRIPTION;
2156:
2157:
2158: AMS_EvhRules_PVT.create_inventory_item(
2159: p_item_number => l_inv_item_number,
2160: p_item_desc => l_inv_item_desc,
2161: p_item_long_desc => l_inv_long_desc,
2162: p_user_id => l_evo_rec.owner_user_id,

Line 2227: AMS_EvhRules_PVT.Convert_Evnt_Currency(

2223: -- functional currency.
2224: -- ==========================================================
2225: IF p_evo_rec.fund_amount_tc IS NOT NULL THEN
2226: IF p_evo_rec.fund_amount_tc <> FND_API.g_miss_num THEN
2227: AMS_EvhRules_PVT.Convert_Evnt_Currency(
2228: p_tc_curr => l_evo_rec.currency_code_tc,
2229: p_tc_amt => l_evo_rec.fund_amount_tc,
2230: x_fc_curr => l_evo_rec.currency_code_fc,
2231: x_fc_amt => l_evo_rec.fund_amount_fc

Line 2386: /* If the owner user id cahnges call AMS_EvhRules_PVT.Update_Owner */

2382: ELSIF x_return_status = Fnd_Api.g_ret_sts_error THEN
2383: RAISE Fnd_Api.g_exc_error;
2384: END IF;
2385:
2386: /* If the owner user id cahnges call AMS_EvhRules_PVT.Update_Owner */
2387: -- Change the owner in Access table if the owner is changed.
2388:
2389: IF p_evo_rec.owner_user_id <> FND_API.g_miss_num
2390: THEN

Line 2391: AMS_EvhRules_PVT.Update_Owner(

2387: -- Change the owner in Access table if the owner is changed.
2388:
2389: IF p_evo_rec.owner_user_id <> FND_API.g_miss_num
2390: THEN
2391: AMS_EvhRules_PVT.Update_Owner(
2392: p_api_version => p_api_version,
2393: p_init_msg_list => p_init_msg_list,
2394: p_commit => p_commit,
2395: p_validation_level => p_validation_level,

Line 2804: AMS_EvhRules_PVT.update_event_status(

2800:
2801: --End Adding
2802:
2803: IF l_evo_rec.event_level = 'MAIN' THEN
2804: AMS_EvhRules_PVT.update_event_status(
2805: p_event_id => l_evo_rec.event_offer_id,
2806: p_event_activity_type => l_evo_rec.event_object_type, --'EVEO',
2807: p_user_status_id => l_evo_rec.user_status_id,
2808: p_fund_amount_tc => l_evo_rec.fund_amount_tc,

Line 2812: AMS_EvhRules_PVT.Add_Update_Access_record(p_object_type => l_evo_rec.event_object_type, --'EVEO',

2808: p_fund_amount_tc => l_evo_rec.fund_amount_tc,
2809: p_currency_code_tc => l_evo_rec.currency_code_tc
2810: );
2811:
2812: AMS_EvhRules_PVT.Add_Update_Access_record(p_object_type => l_evo_rec.event_object_type, --'EVEO',
2813: p_object_id => l_evo_rec.event_offer_id,
2814: p_Owner_user_id => l_evo_rec.owner_user_id,
2815: x_return_status => l_return_status,
2816: x_msg_count => x_msg_count,

Line 4783: AMS_EvhRules_PVT.check_evh_fund_source(

4779: -- no need to check for event_level = MAIN
4780: IF p_evo_rec.fund_source_type_code <> FND_API.g_miss_char
4781: OR p_evo_rec.fund_source_id <> FND_API.g_miss_num
4782: THEN
4783: AMS_EvhRules_PVT.check_evh_fund_source(
4784: p_complete_rec.fund_source_type_code,
4785: p_complete_rec.fund_source_id,
4786: l_return_status
4787: );

Line 4817: AMS_EvhRules_PVT.check_evh_calendar(

4813: OR p_evo_rec.end_period_name <> FND_API.g_miss_char
4814: OR p_evo_rec.event_start_date <> FND_API.g_miss_date
4815: OR p_evo_rec.event_end_date <> FND_API.g_miss_date
4816: THEN
4817: AMS_EvhRules_PVT.check_evh_calendar(
4818: p_complete_rec.event_calendar,
4819: p_complete_rec.start_period_name,
4820: p_complete_rec.end_period_name,
4821: p_complete_rec.event_start_date,

Line 7324: AMS_EvhRules_PVT.Send_Out_Information(

7320:
7321: l_bind_names(1) := 'EVENT_OFFER_ID' ;
7322: l_bind_values(1):= TO_CHAR(p_evo_rec.event_offer_id);
7323:
7324: AMS_EvhRules_PVT.Send_Out_Information(
7325: p_object_type => p_evo_rec.event_object_type,
7326: p_object_id => p_evo_rec.event_offer_id,
7327: p_trigger_type => 'CANCELLED',
7328: p_bind_values => l_bind_values,

Line 7352: AMS_EvhRules_PVT.Send_Out_Information(

7348:
7349: l_bind_names(1) := 'EVENT_OFFER_ID' ;
7350: l_bind_values(1):= TO_CHAR(p_evo_rec.event_offer_id);
7351:
7352: AMS_EvhRules_PVT.Send_Out_Information(
7353: p_object_type => p_evo_rec.event_object_type,
7354: p_object_id => p_evo_rec.event_offer_id,
7355: p_trigger_type => 'INVITATION',
7356: p_bind_values => l_bind_values,

Line 7410: AMS_EvhRules_PVT.Send_Out_Information(

7406: l_bind_values(3):= TO_CHAR(p_evo_rec.event_offer_id);
7407:
7408:
7409:
7410: AMS_EvhRules_PVT.Send_Out_Information(
7411: p_object_type => p_evo_rec.event_object_type,
7412: p_object_id => p_evo_rec.event_offer_id,
7413: p_trigger_type => 'DATE_CHANGE',
7414: p_bind_values => l_bind_values,

Line 7456: AMS_EvhRules_PVT.Send_Out_Information(

7452: l_bind_values(1):= TO_CHAR(l_venue_id);
7453: l_bind_values(2):= TO_CHAR(p_evo_rec.event_offer_id);
7454:
7455:
7456: AMS_EvhRules_PVT.Send_Out_Information(
7457: p_object_type => p_evo_rec.event_object_type,
7458: p_object_id => p_evo_rec.event_offer_id,
7459: p_trigger_type => 'VENUE_CHANGE',
7460: p_bind_values => l_bind_values,

Line 7507: AMS_EvhRules_PVT.Send_Out_Information(

7503: l_bind_values(1):= TO_CHAR(l_venue_id);
7504: l_bind_values(2):= TO_CHAR(p_evo_rec.event_offer_id);
7505:
7506:
7507: AMS_EvhRules_PVT.Send_Out_Information(
7508: p_object_type => p_evo_rec.event_object_type,
7509: p_object_id => p_evo_rec.event_offer_id,
7510: p_trigger_type => 'VENUE_CHANGE',
7511: p_bind_values => l_bind_values,