333:
334: -- Messages are seeded using Oracle Apps screens - so that customer can change the heading on the messages
335: -- as per requirements
336:
337: l_subject := fnd_message.get_string('OE', 'OE_BIS_SUBJECT') || ' - ' || cr.target_level_name;
338: l_set_of_books_id := fnd_message.get_string('OE', 'OE_BIS_SET_OF_BOOKS') || ': ' || cr.org_level_value_id ||
339: ' - ' || l_org_name;
340: l_area := fnd_message.get_string('OE', 'OE_BIS_AREA') || ': ' || dim3_name;
341: l_prod_catg := fnd_message.get_string('OE', 'OE_BIS_PROD_CATEGORY') || ': ' || dim2_name;
334: -- Messages are seeded using Oracle Apps screens - so that customer can change the heading on the messages
335: -- as per requirements
336:
337: l_subject := fnd_message.get_string('OE', 'OE_BIS_SUBJECT') || ' - ' || cr.target_level_name;
338: l_set_of_books_id := fnd_message.get_string('OE', 'OE_BIS_SET_OF_BOOKS') || ': ' || cr.org_level_value_id ||
339: ' - ' || l_org_name;
340: l_area := fnd_message.get_string('OE', 'OE_BIS_AREA') || ': ' || dim3_name;
341: l_prod_catg := fnd_message.get_string('OE', 'OE_BIS_PROD_CATEGORY') || ': ' || dim2_name;
342: l_sales_channel := fnd_message.get_string('OE', 'OE_BIS_SALES_CHANNEL') || ': ' || dim1_name;
336:
337: l_subject := fnd_message.get_string('OE', 'OE_BIS_SUBJECT') || ' - ' || cr.target_level_name;
338: l_set_of_books_id := fnd_message.get_string('OE', 'OE_BIS_SET_OF_BOOKS') || ': ' || cr.org_level_value_id ||
339: ' - ' || l_org_name;
340: l_area := fnd_message.get_string('OE', 'OE_BIS_AREA') || ': ' || dim3_name;
341: l_prod_catg := fnd_message.get_string('OE', 'OE_BIS_PROD_CATEGORY') || ': ' || dim2_name;
342: l_sales_channel := fnd_message.get_string('OE', 'OE_BIS_SALES_CHANNEL') || ': ' || dim1_name;
343: l_period := fnd_message.get_string('OE', 'OE_BIS_PERIOD')|| ': ' || p_time_period;
344: l_actual := fnd_message.get_string('OE', 'OE_BIS_ACTUAL')|| ': ' || round(actual, 2);
337: l_subject := fnd_message.get_string('OE', 'OE_BIS_SUBJECT') || ' - ' || cr.target_level_name;
338: l_set_of_books_id := fnd_message.get_string('OE', 'OE_BIS_SET_OF_BOOKS') || ': ' || cr.org_level_value_id ||
339: ' - ' || l_org_name;
340: l_area := fnd_message.get_string('OE', 'OE_BIS_AREA') || ': ' || dim3_name;
341: l_prod_catg := fnd_message.get_string('OE', 'OE_BIS_PROD_CATEGORY') || ': ' || dim2_name;
342: l_sales_channel := fnd_message.get_string('OE', 'OE_BIS_SALES_CHANNEL') || ': ' || dim1_name;
343: l_period := fnd_message.get_string('OE', 'OE_BIS_PERIOD')|| ': ' || p_time_period;
344: l_actual := fnd_message.get_string('OE', 'OE_BIS_ACTUAL')|| ': ' || round(actual, 2);
345: l_target := fnd_message.get_string('OE', 'OE_BIS_TARGET')|| ': ' || round(target, 2);
338: l_set_of_books_id := fnd_message.get_string('OE', 'OE_BIS_SET_OF_BOOKS') || ': ' || cr.org_level_value_id ||
339: ' - ' || l_org_name;
340: l_area := fnd_message.get_string('OE', 'OE_BIS_AREA') || ': ' || dim3_name;
341: l_prod_catg := fnd_message.get_string('OE', 'OE_BIS_PROD_CATEGORY') || ': ' || dim2_name;
342: l_sales_channel := fnd_message.get_string('OE', 'OE_BIS_SALES_CHANNEL') || ': ' || dim1_name;
343: l_period := fnd_message.get_string('OE', 'OE_BIS_PERIOD')|| ': ' || p_time_period;
344: l_actual := fnd_message.get_string('OE', 'OE_BIS_ACTUAL')|| ': ' || round(actual, 2);
345: l_target := fnd_message.get_string('OE', 'OE_BIS_TARGET')|| ': ' || round(target, 2);
346:
339: ' - ' || l_org_name;
340: l_area := fnd_message.get_string('OE', 'OE_BIS_AREA') || ': ' || dim3_name;
341: l_prod_catg := fnd_message.get_string('OE', 'OE_BIS_PROD_CATEGORY') || ': ' || dim2_name;
342: l_sales_channel := fnd_message.get_string('OE', 'OE_BIS_SALES_CHANNEL') || ': ' || dim1_name;
343: l_period := fnd_message.get_string('OE', 'OE_BIS_PERIOD')|| ': ' || p_time_period;
344: l_actual := fnd_message.get_string('OE', 'OE_BIS_ACTUAL')|| ': ' || round(actual, 2);
345: l_target := fnd_message.get_string('OE', 'OE_BIS_TARGET')|| ': ' || round(target, 2);
346:
347: -- Reverting back because the report needs to be called with the right parameters.
340: l_area := fnd_message.get_string('OE', 'OE_BIS_AREA') || ': ' || dim3_name;
341: l_prod_catg := fnd_message.get_string('OE', 'OE_BIS_PROD_CATEGORY') || ': ' || dim2_name;
342: l_sales_channel := fnd_message.get_string('OE', 'OE_BIS_SALES_CHANNEL') || ': ' || dim1_name;
343: l_period := fnd_message.get_string('OE', 'OE_BIS_PERIOD')|| ': ' || p_time_period;
344: l_actual := fnd_message.get_string('OE', 'OE_BIS_ACTUAL')|| ': ' || round(actual, 2);
345: l_target := fnd_message.get_string('OE', 'OE_BIS_TARGET')|| ': ' || round(target, 2);
346:
347: -- Reverting back because the report needs to be called with the right parameters.
348:
341: l_prod_catg := fnd_message.get_string('OE', 'OE_BIS_PROD_CATEGORY') || ': ' || dim2_name;
342: l_sales_channel := fnd_message.get_string('OE', 'OE_BIS_SALES_CHANNEL') || ': ' || dim1_name;
343: l_period := fnd_message.get_string('OE', 'OE_BIS_PERIOD')|| ': ' || p_time_period;
344: l_actual := fnd_message.get_string('OE', 'OE_BIS_ACTUAL')|| ': ' || round(actual, 2);
345: l_target := fnd_message.get_string('OE', 'OE_BIS_TARGET')|| ': ' || round(target, 2);
346:
347: -- Reverting back because the report needs to be called with the right parameters.
348:
349: if cr.dim1_level_value_id = '-1' then