FND Design Data [Home] [Help]

View: PA_RPT_CUST_BGT_SUMMARY

Product: PA - Projects
Description: Reporting view which displays project level budgets by customers.
Implementation/DBA Data: ViewAPPS.PA_RPT_CUST_BGT_SUMMARY
View Text

SELECT PAH.PROJECT_ACCUM_ID
, PAB.BUDGET_TYPE_CODE
, PAH.ACCUM_PERIOD
, PC.CUSTOMER_ID
, PC.CUSTOMER_BILL_SPLIT
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_RAW_COST_ITD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_RAW_COST_YTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_RAW_COST_PP*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_RAW_COST_PTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_BURDENED_COST_ITD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_BURDENED_COST_YTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_BURDENED_COST_PP*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_BURDENED_COST_PTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_RAW_COST_ITD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_RAW_COST_YTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_RAW_COST_PP*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_RAW_COST_PTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_BURDENED_COST_ITD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_BURDENED_COST_YTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_BURDENED_COST_PP*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_BURDENED_COST_PTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_REVENUE_ITD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_REVENUE_YTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_REVENUE_PP*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_REVENUE_PTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_REVENUE_ITD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_REVENUE_YTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_REVENUE_PP*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_REVENUE_PTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_LABOR_HOURS_ITD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_LABOR_HOURS_YTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_LABOR_HOURS_PP*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_LABOR_HOURS_PTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_LABOR_HOURS_ITD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_LABOR_HOURS_YTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_LABOR_HOURS_PP*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_LABOR_HOURS_PTD*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_LABOR_HOURS_TOT*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_LABOR_HOURS_TOT*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_RAW_COST_TOT*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_BURDENED_COST_TOT*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_RAW_COST_TOT*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_BURDENED_COST_TOT*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.BASE_REVENUE_TOT*PC.CUSTOMER_BILL_SPLIT/100)
, DECODE(PC.CUSTOMER_BILL_SPLIT
, 0
, 0
, PAB.ORIG_REVENUE_TOT*PC.CUSTOMER_BILL_SPLIT/100)
, PAH.PROJECT_ID
, PBT.BUDGET_AMOUNT_CODE
, PBT.BUDGET_TYPE
, PPT.ORG_ID
FROM PA_PROJECT_ACCUM_BUDGETS PAB
, PA_PROJECT_ACCUM_HEADERS PAH
, PA_PROJECT_CUSTOMERS PC
, PA_PROJECTS_ALL PPA
, PA_BUDGET_TYPES PBT
, PA_PROJECT_TYPES PPT
WHERE PAB.PROJECT_ACCUM_ID = PAH.PROJECT_ACCUM_ID
AND PAH.RESOURCE_LIST_MEMBER_ID = 0
AND PAB.BUDGET_TYPE_CODE = PBT.BUDGET_TYPE_CODE
AND PAH.TASK_ID = 0
AND PAH.PROJECT_ID = PPA.PROJECT_ID
AND PPA.PROJECT_TYPE = PPT.PROJECT_TYPE
AND PC.PROJECT_ID = PPA.PROJECT_ID
AND PPT.PROJECT_TYPE_CLASS_CODE = 'CONTRACT'

Columns

Name
PROJECT_ACCUM_ID
BUDGET_TYPE_CODE
ACCUM_PERIOD
CUSTOMER_ID
CUSTOMER_BILL_SPLIT
BASE_RAW_COST_ITD
BASE_RAW_COST_YTD
BASE_RAW_COST_PP
BASE_RAW_COST_PTD
BASE_BURDENED_COST_ITD
BASE_BURDENED_COST_YTD
BASE_BURDENED_COST_PP
BASE_BURDENED_COST_PTD
ORIG_RAW_COST_ITD
ORIG_RAW_COST_YTD
ORIG_RAW_COST_PP
ORIG_RAW_COST_PTD
ORIG_BURDENED_COST_ITD
ORIG_BURDENED_COST_YTD
ORIG_BURDENED_COST_PP
ORIG_BURDENED_COST_PTD
BASE_REVENUE_ITD
BASE_REVENUE_YTD
BASE_REVENUE_PP
BASE_REVENUE_PTD
ORIG_REVENUE_ITD
ORIG_REVENUE_YTD
ORIG_REVENUE_PP
ORIG_REVENUE_PTD
ORIG_LABOR_HOURS_ITD
ORIG_LABOR_HOURS_YTD
ORIG_LABOR_HOURS_PP
ORIG_LABOR_HOURS_PTD
BASE_LABOR_HOURS_ITD
BASE_LABOR_HOURS_YTD
BASE_LABOR_HOURS_PP
BASE_LABOR_HOURS_PTD
ORIG_LABOR_HOURS_TOT
BASE_LABOR_HOURS_TOT
BASE_RAW_COST_TOT
BASE_BURDENED_COST_TOT
ORIG_RAW_COST_TOT
ORIG_BURDENED_COST_TOT
BASE_REVENUE_TOT
ORIG_REVENUE_TOT
PROJECT_ID
BUDGET_AMOUNT_CODE
BUDGET_TYPE
ORG_ID