DBA Data[Home] [Help]

APPS.GHG_TRANSACTIONS_PKG dependencies on GHG_ORGANIZATION_MAPPINGS_PKG

Line 737: v_facility_id := GHG_organization_mappings_pkg.find_project_mapping(dist_rec.distribution_line_number, dist_rec.project, dist_rec.task, dist_rec.gl_date);

733: IF v_map_projects_flag = 'Y' THEN
734: IF dist_rec.project IS NOT NULL THEN
735: -- Note that the package being called will issue an error message if it can't find a mapping, so there's no need
736: -- for this trigger to handle this exception.
737: v_facility_id := GHG_organization_mappings_pkg.find_project_mapping(dist_rec.distribution_line_number, dist_rec.project, dist_rec.task, dist_rec.gl_date);
738: ELSE
739: v_facility_id := GHG_organization_mappings_pkg.find_flexfield_mapping(dist_rec.distribution_line_number, dist_rec.code_combination_id, v_chart_of_accounts_id, dist_rec.gl_date);
740: END IF;
741: ELSE

Line 739: v_facility_id := GHG_organization_mappings_pkg.find_flexfield_mapping(dist_rec.distribution_line_number, dist_rec.code_combination_id, v_chart_of_accounts_id, dist_rec.gl_date);

735: -- Note that the package being called will issue an error message if it can't find a mapping, so there's no need
736: -- for this trigger to handle this exception.
737: v_facility_id := GHG_organization_mappings_pkg.find_project_mapping(dist_rec.distribution_line_number, dist_rec.project, dist_rec.task, dist_rec.gl_date);
738: ELSE
739: v_facility_id := GHG_organization_mappings_pkg.find_flexfield_mapping(dist_rec.distribution_line_number, dist_rec.code_combination_id, v_chart_of_accounts_id, dist_rec.gl_date);
740: END IF;
741: ELSE
742: v_facility_id := GHG_organization_mappings_pkg.find_flexfield_mapping(dist_rec.distribution_line_number, dist_rec.code_combination_id, v_chart_of_accounts_id, dist_rec.gl_date);
743: END IF;

Line 742: v_facility_id := GHG_organization_mappings_pkg.find_flexfield_mapping(dist_rec.distribution_line_number, dist_rec.code_combination_id, v_chart_of_accounts_id, dist_rec.gl_date);

738: ELSE
739: v_facility_id := GHG_organization_mappings_pkg.find_flexfield_mapping(dist_rec.distribution_line_number, dist_rec.code_combination_id, v_chart_of_accounts_id, dist_rec.gl_date);
740: END IF;
741: ELSE
742: v_facility_id := GHG_organization_mappings_pkg.find_flexfield_mapping(dist_rec.distribution_line_number, dist_rec.code_combination_id, v_chart_of_accounts_id, dist_rec.gl_date);
743: END IF;
744: ELSIF v_map_projects_flag = 'Y' THEN
745: IF dist_rec.project IS NOT NULL THEN
746: v_facility_id := GHG_organization_mappings_pkg.find_project_mapping(dist_rec.distribution_line_number, dist_rec.project, dist_rec.task, dist_rec.gl_date);

Line 746: v_facility_id := GHG_organization_mappings_pkg.find_project_mapping(dist_rec.distribution_line_number, dist_rec.project, dist_rec.task, dist_rec.gl_date);

742: v_facility_id := GHG_organization_mappings_pkg.find_flexfield_mapping(dist_rec.distribution_line_number, dist_rec.code_combination_id, v_chart_of_accounts_id, dist_rec.gl_date);
743: END IF;
744: ELSIF v_map_projects_flag = 'Y' THEN
745: IF dist_rec.project IS NOT NULL THEN
746: v_facility_id := GHG_organization_mappings_pkg.find_project_mapping(dist_rec.distribution_line_number, dist_rec.project, dist_rec.task, dist_rec.gl_date);
747: ELSIF v_map_operating_unit_flag = 'Y' THEN
748: v_facility_id := v_facility_id_for_op_unit;
749: ELSE
750: v_facility_id := -1;