Resources Value In specific period

Hi,
Is there any way to get the total resources values in specific period?
I want to know for each resource...
1- How many hours it made in this period.
2-the total value for this resource...
Grouped by the cost component class IE: (Labor , Machine ) ...
Waiting for your ideas and any thing that may helps.
Thanks in advance.

Hi karthik..
here you are.
SELECT   br.resources, rmst.resource_desc, b.cost_cmpntcls_code,
*(AVG (gmf_cmcommon.get_rsrc_cost (br.resources,*
bh.organization_id,
bvd.consume_layer_date,
*1000,*
*0*
*) avg_resource_cost,*
SUM (bvd.consume_ib_pri_qty) hrs,
*( (SUM (bvd.consume_ib_pri_qty))*
** (AVG (gmf_cmcommon.get_rsrc_cost (br.resources,*
bh.organization_id,
bvd.consume_layer_date,
*1000,*
*0*
*) AS rsc_value*
FROM gmf_batch_vib_details bvd,
gmf_batch_requirements br,
gme_batch_header_vw bh,
cr_rsrc_mst_vl rmst,
cm_cmpt_mst_b b
WHERE rmst.cost_cmpntcls_id = b.cost_cmpntcls_id
AND bh.organization_id = :p_org_id
AND br.resources BETWEEN NVL (:p_resources_lo, br.resources)
AND NVL (:p_resources_hi, br.resources)
AND br.batch_id = bh.batch_id
AND br.resources IS NOT NULL
AND br.ingredient_item_id IS NULL
AND bvd.requirement_id = br.requirement_id
AND bvd.line_type = 0
AND rmst.resources = br.resources
AND b.cost_cmpntcls_code BETWEEN NVL (:p_cmpntcls_lo,
b.cost_cmpntcls_code
AND NVL (:p_cmpntcls_hi,
b.cost_cmpntcls_code
AND (   rmst.resource_class >=
NVL (:p_resource_class_low, rmst.resource_class)
OR (rmst.resource_class IS NULL AND :p_resource_class_low IS NULL)
AND (   rmst.resource_class <=
NVL (:p_resource_class_hi, rmst.resource_class)
OR (rmst.resource_class IS NULL AND :p_resource_class_hi IS NULL)
GROUP BY b.cost_cmpntcls_code, br.resources, rmst.resource_desc
waiting for your suggestions .
Edited by: Ahmed.Abbas on Jul 12, 2011 6:30 AM

Similar Messages

  • Export data for specific period through Data Pump

    Hi,
    I've a specific requirement to take the dumps of some tables for specific time period. like between last 10 days like 01-JAN-11 to 10-JAN-11. How can I acommplish this. For Documentation what I read is that we can export the data for specific period of thie by either setting FLASHBACK_SCN or FLASHBACK_TIME parameter in expdp command but this is point in time export not for the specific time export.
    Please guide me how can export between the specific time. like between 1-JAN to 10-JAN
    Regards,
    Abbasi

    export between the specific time. like between 1-JAN to 10-JANYou need to clarify your requirements. Data is always "at a point in time". I can see data as at noon of 01-Jan. I can see data as at noon of 10-Jan. What would I mean by data "between" 01-Jan and 10-Jan ?
    Say the table has 5 rows on 01-Jan :
    ID    VALUES
    1      ABC
    2      DEF
    3      TRG
    4      MXY
    5     DEW2 Rows "6-GGG" and "7-FRD" were inserted on 02-Jan.
    2 Rows "2" and "3" were updated from "DEF" and "TRG" to "RTU" and "GTR" on 03-Jan.
    1 Row "5-DEW" was deleted on 09-Jan.
    2 Rows "8-TFE" and "9-DZN" were insereted on 09-Jan.
    Can you tell me what is the "data between 01-Jan and 10-Jan" ?
    (the above example actually happens to have an incrementing key column "ID". Your table might not even have such an identifier column at all !)
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jan 10, 2011 5:23 PM

  • Oracle HR 11.5.7 -Select DateTracked Info of Employees for Specific Period

    Oracle HR 11.5.7 -Select DateTracked Info of Employees for Specific Period (From/To)
    Hi,
    We have Oracle Human Resources 11.5.7 and I would like to know which is the best way to use when need to query data for employees valid within a specific period (From/To) or at specific date.
    For example:
    Say Current Date= 25-OCT-05
    1.
    If I want to query the number of employees booked for a training event occurred as at 01-AUG-05 and one of the employees booked left as at 30-SEP-05, I would like to be included in the query.
    or 2.
    If I want to see the employees assignment details for a specific period to see the active(latest) assignment details as at that period.
    I would appreciate any feedback regarding the best way to do such queries as far as accuracy of data and performance is concerned.
    Thanking you in advance.
    Best regards,
    Elena

    Thank you for your reply..:)
    Actually I'm already using this..
    My problem is when I need to retrieve information for a specific period of time.
    For example say I want to retrieve all sickness absences for Year 2004 and want to retrieve the last employee details (people & assignment tables) that fall within this period (either with an effective date >= sysdate (ie. still active) or which was current upto 31-dec-2004 and might changed later on).
    To be more specific let's say an employee took sick leave in 2004 for total 10 days and has the following rows in per_people_f and per_assignments_f:
    per_people_f:
    start_date end_date person_id other personal details
    01-FEB-2001 - 15-MAR-2004 3808 xxxx
    16-MAR-2004 - 30-JUN-2004 3808 yyyy
    01-JUL-2004 - 17-FEB-2005 3808 zzzz
    18-FEB-2005 TO DATE 3808 www
    per_assignments_f:
    start_date end_date person_id assign_id other assignment details
    01-FEB-2001 - 15-JAN-2003 3808 1114 aaaa
    16-JAN-2003 - 30-AUG-2004 3808 1114 bbbb
    31-AUG-2004 - TO DATE 3808 1114 cccc
    What I need the query to return for the above example is:
    per_people_f:
    start_date end_date person_id other personal details
    01-JUL-2004 - 17-FEB-2005 3808 zzzz
    and
    per_assignments_f:
    start_date end_date person_id assign_id other assignment details
    31-AUG-2004 - TO DATE 3808 1114 cccc
    and sickness days =10
    (sum of duration where
    absence start_date >= 01-JAN-2004
    AND end_date<=31-DEC-2004)
    Thanking you in advance for any help on this issue.
    Regards,
    Elena

  • TS3988 synchronizing in specific period

    My email is not synchronizing in a specific period from May 2012 till day before yesterday. From yesterday the new email and mail before May 2012 is synchronizing well. I have tried to delete my icloud account and than loaded again. Same problem is occured. On the icloud server my latest emails are still there.
    Who can advice or help me, Simon

    Hi karthik..
    here you are.
    SELECT   br.resources, rmst.resource_desc, b.cost_cmpntcls_code,
    *(AVG (gmf_cmcommon.get_rsrc_cost (br.resources,*
    bh.organization_id,
    bvd.consume_layer_date,
    *1000,*
    *0*
    *) avg_resource_cost,*
    SUM (bvd.consume_ib_pri_qty) hrs,
    *( (SUM (bvd.consume_ib_pri_qty))*
    ** (AVG (gmf_cmcommon.get_rsrc_cost (br.resources,*
    bh.organization_id,
    bvd.consume_layer_date,
    *1000,*
    *0*
    *) AS rsc_value*
    FROM gmf_batch_vib_details bvd,
    gmf_batch_requirements br,
    gme_batch_header_vw bh,
    cr_rsrc_mst_vl rmst,
    cm_cmpt_mst_b b
    WHERE rmst.cost_cmpntcls_id = b.cost_cmpntcls_id
    AND bh.organization_id = :p_org_id
    AND br.resources BETWEEN NVL (:p_resources_lo, br.resources)
    AND NVL (:p_resources_hi, br.resources)
    AND br.batch_id = bh.batch_id
    AND br.resources IS NOT NULL
    AND br.ingredient_item_id IS NULL
    AND bvd.requirement_id = br.requirement_id
    AND bvd.line_type = 0
    AND rmst.resources = br.resources
    AND b.cost_cmpntcls_code BETWEEN NVL (:p_cmpntcls_lo,
    b.cost_cmpntcls_code
    AND NVL (:p_cmpntcls_hi,
    b.cost_cmpntcls_code
    AND (   rmst.resource_class >=
    NVL (:p_resource_class_low, rmst.resource_class)
    OR (rmst.resource_class IS NULL AND :p_resource_class_low IS NULL)
    AND (   rmst.resource_class <=
    NVL (:p_resource_class_hi, rmst.resource_class)
    OR (rmst.resource_class IS NULL AND :p_resource_class_hi IS NULL)
    GROUP BY b.cost_cmpntcls_code, br.resources, rmst.resource_desc
    waiting for your suggestions .
    Edited by: Ahmed.Abbas on Jul 12, 2011 6:30 AM

  • Inactive Item report to show Item bought within a specific period and not sold within a specific period by whse and have stock

    Hi
    I'm trying to come up with query report to show Inactive Item bought within a specific period and not sold within a specific period by whse and have stock
    The report should show  Item Number, Item Name ,Item cost,Retail Price [Based on a price list], Qty in Whse, Last Purchase Date, Last sale Date etc.
    e.g item bought between 2011-2013 and have not been sold with the same date range or the last 12 months.
    Regards
    Brian Ndunda.

    Hi,
    Try this query:
    SELECT T0.[ItemCode], T0.[ItemName], T0.[OnHand], T0.[AvgPrice], T0.[LastPurPrc], T0.[LstSalDate] FROM OITM T0  left JOIN INV1 T1 ON T0.ItemCode = T1.ItemCode left JOIN OINV T2 ON T1.DocEntry = T2.DocEntry WHERE T1.[Quantity] is null and  T0.[OnHand] >0 GROUP BY T0.[ItemCode], T0.[ItemName], T0.[OnHand], T0.[AvgPrice], T0.[LastPurPrc], T0.[LstSalDate]
    Thanks & Regards,
    Nagarajan

  • WCS Lobby Ambassador audit report for a specific period of time

    Hi all,
    I know there is an WCS audit report for each lobby ambassador activities. But the problem is that I see only activities from Nov 9 to the present. I don't know what the reason is, whether somebody erased that information before Nov 9 or something else happened.
    Is there any option to manually configure a specific period of time, for example obtain all activities for last 3 months?
    Thanks for any hint.
    Jozef

    Hi Koti,
    What error did you meet when you used audit report from Oct 16 to Oct 31?
    Please check the log file to find more information about this issue. The path of the log file is: C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS. You can check the log file whose modified date is from Oct 16 to Oct 31.
    In addition, please deactivate and reactivate Reporting feature at site collection level.
    A similar post for your reference:
    http://sharepointknowledgebase.blogspot.com/2012/07/unexpected-error-when-trying-to-view.html#.VG2cFouUeog
    About audit log report, please take a look at:
    https://support.office.com/en-us/article/Configure-audit-settings-for-a-site-collection-a9920c97-38c0-44f2-8bcb-4cf1e2ae22d2?ui=en-US&rs=en-US&ad=US
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • New GL - Financial Statement for Specific Periods

    We are using the new GL. I am looking for a report similar to F.01. Instead of displaying reporting period, comparison period, absolute difference, and rel diff, we would like to display amounts for specific periods.
    For example, we would like to see totals for period 11 2009, period 10 2010, and period 11 2010 all in one report with columns like below.
    Ccode     Acct          11.2009          10.2010          11.2010
    ABCD     101000          7.221,53     6.482,51     5.418,92
    ABCD     102000          2.447,34     2.361,81     3.144,62
    Is there such a report? I have looked, but it appears that all the reports can only be displayed for a range of periods.
    Thanks for your help.
    Brenda

    Hi,
    define such a report using T-code FGI0.
    Best regards, Christian

  • Create a Crystal report to display the sum of G/L account code within a specific period

    Hi,
    Just wonder is it possible to create a crystal report to display the total of a G/L account code within a specific period?
    How to write the query to get the sum within a specific period?
    For example:
    Period: 2014-06-01-2014-06-10
    Account code A: USD "TOTAL"
    Account code B: USD "TOTAL"
    Thanks

    Hi Olga,
    Please check below Query.
    SELECT T1.[Account], T1.[ShortName], SUM (T1.[Debit]) as Debit, SUM (T1.[Credit]) As Credit, SUM (T1.[FCDebit]) As FCDebit, SUM (T1.[FCCredit]) As FCCredit, SUM (T1.[SYSDeb]) As SysDebit , SUM (T1.[SYSCred]) As SysCredit  FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.[TransId] = T1.[TransId] WHERE T1.[RefDate] >=[%3]  AND   T1.[RefDate] <=[%4]
    Hope this Help
    Regards::::
    Atul Chakraborty

  • How to Get Resource value which are referred in code behind file using IResourceProvider

    Hi Everyone,
    Currently I'm working on moving the Resource file from "App_GlobalResources" to Database by using IResourceProvider. I created a CustomResourceProvider project using ResourceProviderFactory and able to get the resource values from DB which
    are used in aspx page.
    But i'm not able to get the values which are referring from code behind file.
    Ex: Label1.Text = Resources.Common.Car; // This is still coming from resx file.
    Can any one please let me know how to get the value from DB instead of resx file which are referred in cs file.
    Appreciate your help. 
    The below code uses the ResourceProviderFactory which calls this method and gets it from DB. Please let me know if you need any more info.
    public class DBResourceProviderFactory : ResourceProviderFactory
            public override IResourceProvider CreateGlobalResourceProvider(string classKey)
                return new DBResourceProvider(classKey);
            public override IResourceProvider CreateLocalResourceProvider(string virtualPath)
                 // we should always get a path from the runtime
                string classKey = virtualPath;
                if (!string.IsNullOrEmpty(virtualPath))
                    virtualPath = virtualPath.Remove(0, 1);
                    classKey = virtualPath.Remove(0, virtualPath.IndexOf('/') + 1);
                return new DBResourceProvider(classKey);
    Regards, Ravi Neelam.

    Hi Ravi Neelam.
    >>Currently I'm working on moving the Resource file from "App_GlobalResources" to Database by using IResourceProvider.
    Based on this message, your issue related to web application, questions related to Asp.Net should be posted in
    Asp.Net forum.
    Please reopen a new thread in that forum. You will get more efficient response.
    Regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 11g Add Text  Resource Values in a Resource Bundle (Bug? - minor)

    Hi,
    When you are adding a new Text Resource Value in a Resource Bundle the "Save and Select" button becomes active only when you enter a value for "Description". I believe we should be able to input text resources having no Description if we would like so.
    Notice that the "Project Properties/ Resource Bundle / Always Prompt for Description" check box is not selected.
    Best Regards,
    Elias.

    I have made a small mistake in the post above as the line
    *<c:set var="viewBundle" value="#{adfBundle}"/>*
    should be read as
    *<c:set var="viewBundle" value="#{adfBundle\['nsi.isbs.uicli.bundles.ResponsesBundle'\]}"/>*
    The forum application removed the content inside square brackets because I had not escaped the brackets in the text.

  • How to start a workflow when a value in specific column is changed?

    HI !! 
    I would like that  my workflow will run only if a value on a specific colunm will change.
    is there a way to do it without using a third colunm ?
    thank you !
    nikita.

    Hi,
    According to your post, my understanding is that you wanted to start a workflow when a value in specific column is changed.
    When you create workflow, if you check the “start the workflow automatically when an item is changed”, the workflow will be started automatically once the item is edited.
    In the other word, no matter which column we changed, the the workflow will be started automatically.
    As a workaround, we can add condition or action to make the workflow excute the next step only if the value in specific column is changed.
    There are two options to achieve it.
    Use the “Wait for Field Change in Current Item" action”. If you add the action at the first,  the workflow will excute the next step until the column is chaned to the specific value.
       2. User the “If any value equals to value” condition. If you add the condition at the first, the workflow will excute the next step if the condition is satisfied.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Pull all GL Lines for specific period

    I am in need of pulling all GL Lines for a specific period. However, the query I built is also pulling in Project Account Lines. What I want are lines that posted to an account. I've posted my query below but can someone shed light onto how I can pull al GL Lines that posted to an account for a specific period?
    thanks,
    select distinct
    cb.segment1
    ,cb.segment2
    ,cb.segment3
    ,cb.segment4
    ,cb.segment5
    ,cb.segment6
    ,cb.code_combination_id
    , fv.description acct_desc
    ,jh.posted_date
    ,jh.je_category category
    ,jh.name entry
    ,jh.description reference
    ,jh.external_reference
    ,jb.name batch
    ,jl.accounted_dr debit
    ,jl.accounted_cr credit
    ,usr.user_name last_updated_by_username
    ,usr.description last_updated_by_user
    ,cusr.user_name created_by_username
    ,cusr.description created_by_user
    ,jl.EFFECTIVE_DATE
    ,jl.je_header_id je_unique_id
    from gl_je_headers jh
    , gl_je_lines jl
    , gl_je_batches jb
    , gl_code_combinations cb
    , FND_ID_FLEX_SEGMENTS fs
    , FND_FLEX_VALUES_VL fv
    , fnd_user usr
    , fnd_user cusr
    where
    jh.je_header_id = jl.je_header_id
    and jh.je_batch_id = jb.je_batch_id
    and jl.code_combination_id = cb.code_combination_id
    and fs.flex_value_set_id = fv.flex_value_set_id
    and fv.flex_value = cb.segment1
    and jb.last_updated_by=usr.user_id
    and jb.CREATED_BY = cusr.user_id
    and jl.EFFECTIVE_DATE between '01-APR-10' and '5-APR-10'

    hi friend
    u have specify ur account segments so it will only retrive the account code u want
    u can also limit Source_Name for specifying the source of journals
    but for limiting post date u have to write the posted date u want by putting condition on "Posted_Date" in GL_JE_Headers
    bests

  • Resource related billing and periodic billing and milestone billing

    Hi friends,
        Any one having resource related billing and periodic billing and milestone billing
    documents are any config documents and any more details.
    Waiting for reply urgently,
    Regards.
    kishore

    Hi Kishore,
    Pl. check these links :
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/31/03953401024735e10000009b38f83b/frameset.htm">Periodic Billing</a>
    <a href="http://www.sap-img.com/sd006.htm">Milestone Billing</a>
    <a href="http://help.sap.com/saphelp_47x200/helpdata/en/4a/ac853478616434e10000009b38f83b/frameset.htm">Resource related billing</a>
    Reward if useful.
    Thanks & Regards
    Sadhu Kishore

  • Programs which are not being executed for a specific period

    Hi,
    We are planning to do the application upgrade in few months,with respect to that we would like to find out what all programs/transactions(standard or custom) which are not being executed for a specific period.What is the way to find this?
    Regards,
    Sam

    Hi Sam,
    You can use st03 and defice theprograme name and period to sotp the activity.
    Regards,
    Anil

  • Planned depreciation value for each period

    Hi,
    Where can I get the planned depreciation value for each period? I need the fields for customised report.
    Thank you

    Hi,
    You can get the dep planned values for the each period by using SAP standard report S_ALR_87012936.
    In the selection screen of that report, click on All selections button on application tool bar. Then you will be able to see the all the available fields for selection.
    Choose evaluation period as Month.
    Now execute it. After getting output, you need to go for change layout and adopt fileds like Dep 01-2010, Dep 02-2010, Dep 03-2010....Etc till Dep 12-2010.
    This will fix your requirement.
    Thanks,
    Srinu

Maybe you are looking for

  • Custom icon editor BUG

    If you use a custom Icon editor (as shown here and here), and you want to create a smaller Icon this will be meaningless. Because the lv_icon interface only allows you to generate the 2-colour and 256 colour icon. The 16 colour icon will be untouched

  • Process flow hanging in owb 11.2.0.2

    Hello All, My process flow keeps on running and never completes but in the design center I see that my maps have all completed, I checked my tables and the data has been loaded. There is this process running in the background. I don't know what this

  • Duplicate entries in Contacts and iCal

    I have Lion on my iMac and IOS 5 on my i Phone 4S. Ever since I set up iCloud, everything in Contacts and on iCal is entered twice. Do I have to do anything with iTunes to stop this? What else if anything do I need to do to stop this?

  • No changes possible

    Dear all, I want to change a standard method of the class CL_RSR_WWW_PAGE. When I click the change button, it shows "Carry out modification comparison for METH CL_RSR_WWW_PAGE PAGE_CONTROLLER_WRAP first. No changes possible". How can I do? I want to

  • Backing up on Mac?

    I'm a longtime PC user who decided to take the plunge and get a Mac... One thing I need to figure out is how to back up my stuff. On the PC, I would simply start up the CD/DVD burning software, highlight several folders and burn them off to a DVD. Ho