Pa_budget_lines

Hi,
RAW_COST_SOURCE and BURDENED_COST_SOURCE in table PA_BUDGET_LINES has the value of 'B' and 'M'. What does 'B' and 'M' stands for ? If possible please also explain what does RAW cost source and burden cost source mean.
Thanks a ton.
Uva

Hi
When you setup a budget type you have to enter the method of data entry.
The choice is to enter manually the quantity, and or raw cost and or the burdened costs.
You could also choose to leave quantity and raw cost as null and only enter the burdened costs.
You could select to enter quantity or raw cost and let the system calculate the rest for you. This is done by implementing the Budget Client Extension.
So, you might want to check what is the budget type configuration, for finding the meaning of the B and M letters.
Dina

Similar Messages

  • Pa_budget_lines table

    Hi,
    I'm using R12.1.1 PA module.
    I entered budget, submitted and baselined. I can see budget information in the budget form and so on.
    However when I query pa_budget_lines in sql/plus, I don't see any data. What are the main tables that budget data are stored in PA?
    Thanks,

    I'm not sure why becuase I see all the budget data from the form. However when I run select * from pa_budget_lines, I don't see data returned.
    Do I have to se up some multi org policy?
    I tried the folowing and still don't see any data from sql/plus.
    exec mo_global.init('PA');
    exec mo_global.set_policy_context('S','101');

  • Project budget and forecast tables in R12

    Hi All,
    I had to extract the budget and forecast amounts for each project in the below format.
    Project number, budget/forecast, task, resource, PA period, burden cost..etc.+
    We are on R12. Can I use below tables to extract the above information. or should i depend on PJI% tables. please suggest.
    pa_budget_versions
    pa_budget_lines
    below is the full query i built:
    SELECT pp.NAME project_name, pp.segment1 project_number,
    haou.NAME project_organization, pp.project_type,
    pp.project_status_code, pp.start_date project_start_date,
    pp.completion_date project_completion_date,
    pfpt.NAME fin_plan_type, pfpt.description fin_plan_description,
    pfpt.plan_class_code, pbv.budget_version_id, pbv.budget_type_code, pbv.version_number,
    pbv.budget_status_code, pbv.version_name, pbv.baselined_date,
    pbv.labor_quantity project_level_labor_quantity,
    pbv.labor_unit_of_measure, pbv.raw_cost project_level_raw_cost, pbv.burdened_cost project_level_burdened_cost,
    pbv.revenue project_level_revenue, pbv.version_type,pbv.current_planning_period, pt.task_number, pt.task_name,
    prlm.alias resource_alias, prlm.expenditure_type, prlm.event_type,
    prlm.expenditure_category, prlm.resource_class_code,
    prlm.unit_of_measure, pbl.start_date, pbl.end_date, pbl.period_name,
    pbl.quantity, pbl.raw_cost, pbl.burdened_cost, pbl.revenue, prlm.resource_list_member_id,
    prlm.resource_type_code
    FROM apps.pa_projects_all pp,
    hr_all_organization_units haou,
    apps.pa_budget_versions pbv,
    apps.pa_fin_plan_types_vl pfpt,
    apps.pa_budget_lines pbl,
    pa_resource_assignments pra,
    pa_tasks pt,
    pa_resource_list_members prlm
    WHERE 1 = 1
    AND pp.project_id = pbv.project_id
    AND pp.carrying_out_organization_id = haou.organization_id
    AND pbv.fin_plan_type_id = pfpt.fin_plan_type_id
    AND pbv.budget_status_code = 'B'
    AND pbv.budget_version_id =
    (SELECT MAX (budget_version_id)
    FROM pa_budget_versions pbv1
    WHERE 1 = 1
    AND pbv1.project_id = pp.project_id
    AND pbv1.budget_status_code = 'B'
    AND pbv1.version_type = pbv.version_type)
    --AND version_type = 'COST'
    AND pbl.budget_version_id = pbv.budget_version_id
    AND pbl.resource_assignment_id = pra.resource_assignment_id
    AND pra.resource_list_member_id = prlm.resource_list_member_id
    AND pt.task_id(+) = pra.task_id
    and pp.name = 'TEST_XX'
    order by pp.segment1, pbl.period_name, pt.task_number, pbl.start_date

    Can any body please help on this note..
    thanks in advance..

  • Original and current budget together with PTD,ITD,MTD and YTD labor...

    Hi experts:
    I need a Project Accounting Report that shows Original and Current budget together with PTD,ITD,MTD and YTD labor amount, labor cost, non-labor cost, and revenue on the same line for all the task_id for a project. I know these are coming from these ,PA_BUDGET_VERSIONS V, PA_RESOURCE_ASSIGNMENTS A,PA_BUDGET_LINES L, main tables. But I am unable to break down the amounts according to PA and GL periods. Can anyone help please?
    Thanks a million , in advance.

    Help you with what?
    No database version number.
    No application name or version number.
    No DDL.
    Do you, for some reason, think we have any idea what PTD and ITD are? If so why?
    Do you think we all have your version of a table named PA_RESOURCE_ASSIGNMENTS on our hard disks?
    Perhaps you have some version of e-Business Suite. Perhaps you have SAP. Perhaps you have something we've never even heard of.
    Your task is as follows:
    1. If this question relates to an Oracle product change the subject of the post to "Please Ignore" and post your question in the correct forum.
    or
    2. Provide us with sufficient information that we can duplicate those portions of your environment required to understand what you are asking.

  • Need query to find out the sum till a period

    Hi,
    I need to write one query to find out the cumulative sum of raw_cost of table pa_budget_lines till the specified period, I tried to do this by analytical function, but that is not working in Report 10g. Can anybody help me in this.
    Thanks

    not familiar with report but could you do something like this
    with t as
      select 1 grp, 10 * level the_cost, add_months (sysdate,  level) effective_dt from dual connect by  level < 11 union all
      select 2 grp, 5 * level the_cost, add_months (sysdate,  level) effective_dt from dual connect by  level < 11
    input as
      ( select null grp, null the_cost, null running_total,  v_eff_dt effective_dt   from dual)
    select * from(
    select t.grp, t.the_cost, sum(t.the_cost) over (partition by t.grp order by t.effective_dt) running_total, t.effective_dt,
           lead(t.effective_dt) over (partition by t.grp order by t.effective_dt) next_effective_dt,
           input.effective_dt  inp_eff_dt
    from t, input
    where inp_eff_dt between effective_dt and next_effective_dtv_eff_dt would be the input date you are interested in

  • Trouble on launch a select statement twice

    Hello everyone,
    this is my problem: when i launch this query the first time, it returns 2 records, if i launch it the second time it returns no records.
    I tried to remove SUM(NVL) and the group by and the query functions normally.
    select  SUM (NVL (a.burdened_cost, 0)) AS amount ,c.track_as_labor_flag,a.start_date, a.end_date
              FROM nome_vista a, nome_tabella b,nome_tabella c
            WHERE a.project_id =  ...
               AND a.task_id = ...
               AND a.budget_version_id = b.budget_version_id
               AND NVL (b.current_flag, 'N') = 'Y'
               AND  b.budget_status_code = ...
               AND b.budget_type_code = ...
               AND c.track_as_labor_flag = ...       --filtro costi interni
               AND c.resource_id = a.resource_id
        Group By c.track_as_labor_flag,a.start_date, a.end_dateThank You
    Edited by: BluShadow on 27-Jul-2011 13:52
    added {noformat}{noformat} tags for readability.  Please see {message:id=9360002} to learn to do this yourself.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    SQL> set autotrace on;
    SQL>  SQL>  select SUM (NVL (a.burdened_cost, 0)) AS amount
                   ,c.track_as_labor_flag
                   ,a.start_date
                   ,a.end_date
      2            FROM  pa_budget_lines_v a,
      3                  pa_budget_versions b,
      4                  pa_resource_list_members c
      5          WHERE a.project_id =  1879
      6             AND a.task_id = 211004
      7             AND a.budget_version_id = b.budget_version_id
      8             AND NVL (b.current_flag, 'N') = 'Y'
      9             AND  b.budget_status_code =  'B'
    10             AND b.budget_type_code =  'AC'
    11             AND c.track_as_labor_flag = 'Y'       --filtro costi interni
    12             AND c.resource_id = a.resource_id
    13      Group By c.track_as_labor_flag,a.start_date, a.end_date;
        AMOUNT T START_DA END_DATE
        2919,2 Y 10-07-01 10-12-31
        945,36 Y 10-01-01 11-01-31
    Execution Plan
    | Id  | Operation                          | Name                        | Rows | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT                   |                             |     1 |   161 |    19  (11)|
    |   1 |  HASH GROUP BY                     |                             |     1 |   161 |    19  (11)|
    |*  2 |   HASH JOIN                        |                             |     1 |   161 |    18   (6)|
    |   3 |    NESTED LOOPS OUTER              |                             |     1 |   154 |    11   (0)|
    |   4 |     NESTED LOOPS                   |                             |     1 |   118 |    10   (0)|
    |   5 |      NESTED LOOPS                  |                             |     1 |    91 |     8   (0)|
    |   6 |       NESTED LOOPS                 |                             |     1 |    79 |     7   (0)|
    |   7 |        NESTED LOOPS OUTER          |                             |     1 |    67 |     6   (0)|
    |*  8 |         TABLE ACCESS BY INDEX ROWID| PA_RESOURCE_ASSIGNMENTS     |     1 |    31 |     5   (0)|
    |*  9 |          INDEX RANGE SCAN          | PA_RESOURCE_ASSIGNMENTS_N2  |     6 |       |     1   (0)|
    |* 10 |         INDEX UNIQUE SCAN          | FND_LOOKUP_VALUES_U1        |     1 |    36 |     1   (0)|
    |* 11 |        TABLE ACCESS BY INDEX ROWID | PA_BUDGET_VERSIONS          |     1 |    12 |     1   (0)|
    |* 12 |         INDEX UNIQUE SCAN          | PA_BUDGET_VERSIONS_U1       |     1 |       |     0   (0)|
    |* 13 |       TABLE ACCESS BY INDEX ROWID  | PA_RESOURCE_LIST_MEMBERS    |     1 |    12 |     1   (0)|
    |* 14 |        INDEX UNIQUE SCAN           | PA_RESOURCE_LIST_MEMBERS_U1 |     1 |       |     0   (0)|
    |  15 |      TABLE ACCESS BY INDEX ROWID   | PA_BUDGET_LINES             |     1 |    27 |     2   (0)|
    |* 16 |       INDEX RANGE SCAN             | PA_BUDGET_LINES_N2          |     1 |       |     1   (0)|
    |* 17 |     INDEX UNIQUE SCAN              | FND_LOOKUP_VALUES_U1        |     1 |    36 |     1   (0)|
    |* 18 |    TABLE ACCESS FULL               | PA_RESOURCE_LIST_MEMBERS    |   121 |   847 |     6   (0)|
    Predicate Information (identified by operation id):
       2 - access("C"."RESOURCE_ID"="M"."RESOURCE_ID")
       8 - filter("A"."PROJECT_ID"=1879)
       9 - access("A"."TASK_ID"=211004)
      10 - access("LOOKUP_TYPE"(+)='UNIT' AND "VIEW_APPLICATION_ID"(+)=275 AND
                  "A"."UNIT_OF_MEASURE"="LOOKUP_CODE"(+) AND "SECURITY_GROUP_ID"(+)=
    0 AND
                  "LANGUAGE"(+)=USERENV('LANG'))
      11 - filter("B"."BUDGET_STATUS_CODE"='B' AND "B"."CURRENT_FLAG"='Y' AND
                  "B"."BUDGET_TYPE_CODE"='AC')
      12 - access("A"."BUDGET_VERSION_ID"="B"."BUDGET_VERSION_ID")
      13 - filter(NVL("M"."MIGRATION_CODE",'-99')<>'N')
      14 - access("A"."RESOURCE_LIST_MEMBER_ID"="M"."RESOURCE_LIST_MEMBER_ID")
      16 - access("I"."RESOURCE_ASSIGNMENT_ID"="A"."RESOURCE_ASSIGNMENT_ID")
      17 - access("LOOKUP_TYPE"(+)='BUDGET CHANGE REASON' AND "VIEW_APPLICATION_ID"(
    +)=275 AND
                  "I"."CHANGE_REASON_CODE"="LOOKUP_CODE"(+) AND "SECURITY_GROUP_ID"(
    +)=0 AND
                  "LANGUAGE"(+)=USERENV('LANG'))
      18 - filter("C"."TRACK_AS_LABOR_FLAG"='Y')
    Note
    --- 'PLAN_TABLE' is old version
    Statistics
             22  recursive calls
              0  db block gets
            145  consistent gets
             21  physical reads
              0  redo size
            574  bytes sent via SQL*Net to client
            337  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              2  rows processed
    SQL>  select SUM (NVL (a.burdened_cost, 0)) AS amount
             ,c.track_as_labor_flag
             ,a.start_date
             ,a.end_date
      2            FROM  pa_budget_lines_v a,
      3                  pa_budget_versions b,
      4                  pa_resource_list_members c
      5          WHERE a.project_id =  1879
      6             AND a.task_id = 211004
      7             AND a.budget_version_id = b.budget_version_id
      8             AND NVL (b.current_flag, 'N') = 'Y'
      9             AND  b.budget_status_code =  'B'
    10             AND b.budget_type_code =  'AC'
    11             AND c.track_as_labor_flag = 'Y'       --filtro costi interni
    12             AND c.resource_id = a.resource_id
    13      Group By c.track_as_labor_flag,a.start_date, a.end_date;
    no rows selected
    Execution Plan
    | Id  | Operation                          | Name                        | Rows | Bytes | Cost (%CPU)|
    |   0 | SELECT STATEMENT                   |                             |     1 |   161 |    19  (11)|
    |   1 |  HASH GROUP BY                     |                             |     1 |   161 |    19  (11)|
    |*  2 |   HASH JOIN                        |                             |     1 |   161 |    18   (6)|
    |   3 |    NESTED LOOPS OUTER              |                             |     1 |   154 |    11   (0)|
    |   4 |     NESTED LOOPS                   |                             |     1 |   118 |    10   (0)|
    |   5 |      NESTED LOOPS                  |                             |     1 |    91 |     8   (0)|
    |   6 |       NESTED LOOPS                 |                             |     1 |    79 |     7   (0)|
    |   7 |        NESTED LOOPS OUTER          |                             |     1 |    67 |     6   (0)|
    |*  8 |         TABLE ACCESS BY INDEX ROWID| PA_RESOURCE_ASSIGNMENTS     |     1 |    31 |     5   (0)|
    |*  9 |          INDEX RANGE SCAN          | PA_RESOURCE_ASSIGNMENTS_N2  |     6 |       |     1   (0)|
    |* 10 |         INDEX UNIQUE SCAN          | FND_LOOKUP_VALUES_U1        |     1 |    36 |     1   (0)|
    |* 11 |        TABLE ACCESS BY INDEX ROWID | PA_BUDGET_VERSIONS          |     1 |    12 |     1   (0)|
    |* 12 |         INDEX UNIQUE SCAN          | PA_BUDGET_VERSIONS_U1       |     1 |       |     0   (0)|
    |* 13 |       TABLE ACCESS BY INDEX ROWID  | PA_RESOURCE_LIST_MEMBERS    |     1 |    12 |     1   (0)|
    |* 14 |        INDEX UNIQUE SCAN           | PA_RESOURCE_LIST_MEMBERS_U1 |     1 |       |     0   (0)|
    |  15 |      TABLE ACCESS BY INDEX ROWID   | PA_BUDGET_LINES             |     1 |    27 |     2   (0)|
    |* 16 |       INDEX RANGE SCAN             | PA_BUDGET_LINES_N2          |     1 |       |     1   (0)|
    |* 17 |     INDEX UNIQUE SCAN              | FND_LOOKUP_VALUES_U1        |     1 |    36 |     1   (0)|
    |* 18 |    TABLE ACCESS FULL               | PA_RESOURCE_LIST_MEMBERS    |   121 |   847 |     6   (0)|
    Predicate Information (identified by operation id):
       2 - access("C"."RESOURCE_ID"="M"."RESOURCE_ID")
       8 - filter("A"."PROJECT_ID"=1879)
       9 - access("A"."TASK_ID"=211004)
      10 - access("LOOKUP_TYPE"(+)='UNIT' AND "VIEW_APPLICATION_ID"(+)=275 AND
                  "A"."UNIT_OF_MEASURE"="LOOKUP_CODE"(+) AND "SECURITY_GROUP_ID"(+)=
    0 AND
                  "LANGUAGE"(+)=USERENV('LANG'))
      11 - filter("B"."BUDGET_STATUS_CODE"='B' AND "B"."CURRENT_FLAG"='Y' AND
                  "B"."BUDGET_TYPE_CODE"='AC')
      12 - access("A"."BUDGET_VERSION_ID"="B"."BUDGET_VERSION_ID")
      13 - filter(NVL("M"."MIGRATION_CODE",'-99')<>'N')
      14 - access("A"."RESOURCE_LIST_MEMBER_ID"="M"."RESOURCE_LIST_MEMBER_ID")
      16 - access("I"."RESOURCE_ASSIGNMENT_ID"="A"."RESOURCE_ASSIGNMENT_ID")
      17 - access("LOOKUP_TYPE"(+)='BUDGET CHANGE REASON' AND "VIEW_APPLICATION_ID"(
    +)=275 AND
                  "I"."CHANGE_REASON_CODE"="LOOKUP_CODE"(+) AND "SECURITY_GROUP_ID"(
    +)=0 AND
                  "LANGUAGE"(+)=USERENV('LANG'))
      18 - filter("C"."TRACK_AS_LABOR_FLAG"='Y')
    Note
       - 'PLAN_TABLE' is old version
    Statistics
             22  recursive calls
              2  db block gets
              9  consistent gets
              0  physical reads
              0  redo size
            416  bytes sent via SQL*Net to client
            326  bytes received via SQL*Net from client
              1  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              0  rows processedEdited by: -deb- on 28-lug-2011 2.44
    Edited by: BluShadow on 28-Jul-2011 10:57
    added {noformat}{noformat} tags again!  This is the last time I'll do it for you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for