DBA Data[Home] [Help]

APPS.PA_TRANSACTIONS_PUB dependencies on PA_EXPENDITURES_ALL

Line 657: -- 2) pa_expenditures_all.incurred_by_person_id may or may not exist for Usages, and

653: --The following Cursor will select the item in Projects based upon the parameters passed
654: --to the API. It is a UNION because
655: -- 1) pa_expenditure_items_all.non_labor_resource and pa_expenditure_items_all.organization_id
656: -- (non labor resource owning organization) only exist for Usages (expenditure_type_class = 'USG')
657: -- 2) pa_expenditures_all.incurred_by_person_id may or may not exist for Usages, and
658: -- does not exist for Supplier Invoices.
659:
660: CURSOR item_in_projects IS
661: --The first part of the UNION handles all expenditure_type_classes EXCEPT

Line 665: pa_expenditures_all exp,

661: --The first part of the UNION handles all expenditure_type_classes EXCEPT
662: --Usages (USG) and Supplier Invoices (VI).
663: SELECT net_zero_adjustment_flag
664: FROM pa_expenditure_items_all ei,
665: pa_expenditures_all exp,
666: per_all_people_f per,
667: pa_projects_all proj,
668: pa_tasks task,
669: hr_all_organization_units hr1

Line 708: pa_expenditures_all exp,

704: --when IN parameter x_employee_number is NOT NULL. The additional join to
705: --hr_all_organization_units hr2 is required.
706: SELECT net_zero_adjustment_flag
707: FROM pa_expenditure_items_all ei,
708: pa_expenditures_all exp,
709: per_all_people_f per,
710: pa_projects_all proj,
711: pa_tasks task,
712: hr_all_organization_units hr1,

Line 755: pa_expenditures_all exp,

751: --when IN PARAMETER x_exployee_number IS NULL. The additional join to
752: --hr_all_organization_units hr2 is required and the join to per_all_people_f is not required.
753: SELECT net_zero_adjustment_flag
754: FROM pa_expenditure_items_all ei,
755: pa_expenditures_all exp,
756: pa_projects_all proj,
757: pa_tasks task,
758: hr_all_organization_units hr1,
759: hr_all_organization_units hr2

Line 794: --The join to per_all_people_f is not required as pa_expenditures_all.incurred_by_person_id

790: x_expenditure_type_class = 'USG' AND
791: x_employee_number IS NULL
792: UNION ALL
793: --The fourth part of the UNION handles Supplier Invoices (expenditure_type_class='VI').
794: --The join to per_all_people_f is not required as pa_expenditures_all.incurred_by_person_id
795: --is NULL for Supplier Invoices.
796: SELECT net_zero_adjustment_flag
797: FROM pa_expenditure_items_all ei,
798: pa_expenditures_all exp,

Line 798: pa_expenditures_all exp,

794: --The join to per_all_people_f is not required as pa_expenditures_all.incurred_by_person_id
795: --is NULL for Supplier Invoices.
796: SELECT net_zero_adjustment_flag
797: FROM pa_expenditure_items_all ei,
798: pa_expenditures_all exp,
799: pa_projects_all proj,
800: pa_tasks task,
801: hr_all_organization_units hr1
802: WHERE ei.transaction_source = x_transaction_source AND