Group by multiple years

I have an application where I need to sum a field by year PLUS the the previous 2 years. When I sum simply by year, it looks like this:
select s.survey_year. sum(ac.plover_calculated_adult) AS totalCalcAdults
from dms.adult_census ac,dms.sites s
where ac.site_id = s.site_id
group by s.survey_year
How do I group by year plus the previous 2 years? I'm at a loss for how to write that.
Thanks in advance!!
JOhn

Hi,
It sounds like you want ot use RANGE BETWEEN in the analytic clause.
I don't have versions of your tables, so I'll illustrate using scott.emp:
SELECT       TRUNC (hiredate, 'YEAR')     AS hire_year
,       COUNT (*)                  AS cnt_1
,       SUM (COUNT (*)) OVER ( ORDER BY       TRUNC (hiredate, 'YEAR')
                                   RANGE BETWEEN     (2 * 366) PRECEDING
                           AND     CURRENT ROW
                      )        AS cnt_3
,       SUM (sal)               AS total_sal_1
,       SUM (SUM (sal)) OVER ( ORDER BY       TRUNC (hiredate, 'YEAR')
                                   RANGE BETWEEN     (2 * 366) PRECEDING
                           AND     CURRENT ROW
                      )        AS total_sal_3
FROM       scott.emp
GROUP BY  TRUNC (hiredate, 'YEAR')
ORDER BY  hire_year
;Output:
HIRE_YEAR      CNT_1      CNT_3 TOTAL_SAL_1 TOTAL_SAL_3
01-JAN-80          1          1         800         800
01-JAN-81         10         11       22825       23625
01-JAN-82          1         12        1300       24925
01-JAN-87          2          2        4100        4100As you can see, the cnt_3 and total_sal_3 columns are the totals of the cnt_1 and total_sal_1 columns for the last 3 years , which may mean the last 1, 2 or 3 rows , depending on what years are in the table.
If survery_year is a NUMBER, then you'll probably want to use "RANGE BETWEEN 2 PRECEDING AND CURRENT ROW".
I hope that answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements) and the resutls you want from that data.

Similar Messages

  • Can I run the currency translation for multiple years at the same time?

    Dear Friends,
    I set up currency translation on our BPC NW 7.0 system and it is working fine ONLY if I run it for any one year at a time. But if I select multiple years in the data package (FX Restatment) selection it only calculates for the first year in that selection.
    say if I run the data package for years: 2009, 2010, 2011, 2012, it only performs currency translation for the year 2009.
    Can I run the currency translation for multiple years at the same time ?
    Note: The year is determined from the YEAR property of the "Time" dimension
    appreciate any inputs,
    thanks

    You can run currency translation for multiple years.
    I think the problem it is actually related to how you are sending the parameter to currency translation script.
    Just review the script logic log and you will see with what parameters was called currency translation FXTrans.
    My expectation is that actually the script is called just with first year and that's the problem.
    Log of script logic you can find it into:
    C:\BPC|DATA\Webfolder\YourAppset\YourApplication\Private Publications\Users used to run logic\Temp
    Regards
    Sorin Radulescu

  • SSL Multiple Tunnel Groups with Multiple group policies

    Hello folks.
    Have a query and cant seem to find an answer on the web.
    I have configured SSL Clientless VPN on a lab ASA5510, using 2 tunnel groups, one for enginneers and one for staff, mapped to 2 different group policies, each with different customisation. I have mapped the AD groups to the tunnel groups using both ACS and now LDAP (currently in use), both working successfully, using group lock and LDAP map of IETF-Radius-Class to Group name ensures engineers get assigned to the engineers tunnel group and staff get mapped to the staff tunnel group only.
    The question i have is....is there a way to use a single tunnel group to map the user based on AD group which will then use the correct Group-policy (1 tunnel group to multiple group-polciies). I have seen examples of doing this with different URLs but want to know if they can all use the same URL and avoid using the drop down list using aliases.
    It may be a simple "No" but it would be nice to know how to do it without using the URLs or drop down list. Users are easily confused ......

    Easy. Disable the drop-down list, and use the authentication-server (LDAP or Radius) in the DefaultWEBVPNGroup. By default when you browse to the ASA, it will be using the DefaultWEBVPNGroup. Let LDAP or Radius take care of the rest.
    You will get the functionality you are looking for.
    HTH
    PS. If this post was helpful, please rate it.

  • Group by month/year from DATE FORMAT column

    Hi Chaps,
    I have a recordset that pulls data from a database, then presents the data in a table. The data is grouped by 'projid', repeated for every 'projid', with a show/hide control, to show all the 'jobid's' relating to that particular 'projid'
    This is what I have so far:
    Code:
    SELECT             
    tbl_projects.projid,
    tbl_projects.projtitle,
    tbl_projects.projdue, DATE_FORMAT(tbl_projects.projdue, '%%d/%%m/%%Y') as projdue_format,
    tbl_projects.projtype, 
    tbl_projects.projinvtype,
    tbl_projects.FK_custid,
    tbl_projects.projcompletedate
    tbl_languaget.langtname,
    tbl_doctype.doctypename,
    tbl_jobs.jobid,
    tbl_jobs.FK_projid,              
    tbl_jobs.jobname,              
    tbl_jobs.FK_langid,              
    tbl_jobs.jobpages,              
    tbl_jobs.jobshipped,
    tbl_jobs.jobinvsent,   
    tbl_jobs.jobtranslatorcharge,    
    'tbl_jobs' as fromtable,
    tbl_customers.custid,
    FROM tbl_projects  
    INNER JOIN tbl_jobs              
    ON tbl_projects.projid=tbl_jobs.FK_projid  
    INNER JOIN tbl_languaget              
    ON tbl_languaget.langtid=tbl_jobs.FK_langid  
    INNER JOIN tbl_customers              
    ON tbl_customers.custid=tbl_projects.FK_custid
    INNER JOIN tbl_costs
    ON tbl_costs.FK_custid=tbl_customers.custid 
    INNER JOIN tbl_doctype
    ON tbl_doctype.doctypeid=tbl_jobs.FK_doctypeid
    WHERE tbl_projects.projstatus='Complete'        
    AND tbl_projects.projinvtype='Costing Sheet'
    AND langtname!='TH'
    AND langtname!='ID'
    AND langtname!='KO'
    AND langtname!='JP'
    AND jobinvsent='y'
    AND FK_custid = %s
    ORDER BY projid ASC", GetSQLValueString($colname_rsInvPending, "int");
    $rsInvPending = mysql_query($query_rsInvPending, $conndb2) or die(mysql_error());
    //$row_rsInvPending = mysql_fetch_assoc($rsInvPending);
    $totalRows_rsInvPending = mysql_num_rows($rsInvPending);
    Code:
    // REPEAT - FOR EVERY PROJECT
      <?php
      $previousProject = '';
      if ($totalRows_rsInvPending > 0) {
      // Show if recordset not empty
        while ($row_rsInvPending = mysql_fetch_assoc($rsInvPending)) {
          if ($previousProject != $row_rsInvPending['projid']) {
          // for every Project, show the Project ID
      ?>
    Code:
    // SHOW/HIDE CONTROL
        <tr>
        <td colspan="9" class="highlight"><span class="blueBold"><a href="#" onclick="toggle2('proj1<?php echo $row_rsInvPending['projid'] ?>', this)"><img src="../../Images/plus.gif" border="0" /></a> <?php echo $row_rsInvPending['projid'] ?> - </a></span><span class="blueNOTBold"><em><?php echo $row_rsInvPending['projtitle'] ?></em></span></td>
        </tr>
    Code:
    // SHOW/HIDE
        <?php $previousProject = $row_rsInvPending['projid']; } ?>
        <tr class="proj1<?php echo $row_rsInvPending['projid'] ?>" style="display:none">
        <td>column 1</td>
        <td>column 2</td>
    What I want, is to put in another grouped by stage, where the 'projid's' themselves are in a show/hide region, grouped by 'projcompletedate' (year/month). 'projcompletedate' is in DATE format, but how to I get PHP/SQL to take the month and year and then group them correctly?

    Hi David, I'm not sure if I've got this right, would you mind looking at my latest code?:
    <table border="0" cellpadding="0" cellspacing="0" id="tblinvoice">
        <tr>
          <th>Job Title</th>
          <th>Type</th>
          <th>Language</th>
          <th>Translator</th>
          <th>Total</th>
          <th>Full</th>
          <th>Fuzzy</th>
          <th>Proof</th>
          <th>Full Price</th>
          <th>Discount Price</th>
          <th>Document Format</th>
          <th>Pages</th>
          <th>Typesetting Cost</th>
          <th>EN Proofreading Cost</th>
          <th>Total</th>
          <th>Translator Charge</th>
          <th>Profit</th>
          <th>Profit Percentage</th>
        </tr>
        <?php
          $previousMonth = '';
          if ($totalRows_rsInvPending > 0) {
          // Show if recordset not empty
          do ($row_rsInvPending = mysql_fetch_assoc($rsInvPending)) {
          if ($previousMonth != $row_rsInvPending['themonth']) {
          // for every Month, show the Month Name
       ?>
        <tr>
          <td colspan="18" class="highlight"><?php echo $row_rsInvPending['theyear'] ?> - <?php echo $row_rsInvPending['themonth'] ?></td>
        </tr>
        <?php $previousMonth = $row_rsInvPending['themonth']; } ?>
        <?php
          $previousProject = '';
          if ($totalRows_rsInvPending > 0) {
          // Show if recordset not empty
          while ($row_rsInvPending = mysql_fetch_assoc($rsInvPending)) {
          if ($previousProject != $row_rsInvPending['projid']) {
          // for every Project, show the Project ID
       ?>
       <tr>
        <td colspan="18" class="highlight"><span class="blueBold"><a href="#" onclick="toggle2('proj1<?php echo $row_rsInvPending['projid'] ?>', this)"><img src="../../Images/plus.gif" border="0" /></a> <?php echo $row_rsInvPending['projid'] ?> - </a></span><span class="blueNOTBold"><em><?php echo $row_rsInvPending['projtitle'] ?></em></span></td>
        </tr>
        <?php $previousProject = $row_rsInvPending['projid']; } ?>
        <tr class="proj1<?php echo $row_rsInvPending['projid'] ?>" style="display:none">
            <td><?php echo $row_rsInvPending['jobname']; ?></td>
            <td><?php echo $row_rsInvPending['projtype']; ?></td>
            <td><?php echo $row_rsInvPending['langtname']; ?></td>
            <td><?php echo $row_rsInvPending['translator']; ?></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
          </tr>
          <?php } while ($row_rsInvPending = mysql_fetch_assoc($rsInvPending)); ?>
          <?php } // Show if recordset not empty ?>

  • Tollerence group for multiple user

    hii all
    can any one tell me how shall i assign multiple tollerence group to multiple user? and also tell me, while creating tollerence group am i have to give the tollerence group with co code? or just only co code?? please solve
    regards rajesh Kr Mahato

    Hi,
    'assign multiple tollerence group to multiple user'-it's not possible,in table V_T043 the key is USNAM
    'while creating tollerence group am i have to give the tollerence group with co code? or just only co code??'-I don't understand. In table V_T043T you need to put CC and Tol.group

  • Grouping of multiple criterias as expression

    Dear all
    I want to do a grouping of multiple criterias as expression .
    Single grouping is possible , but when group within a group comes things doesnt work for me.
    User would define the comibination
    For example i have 4 criterias
    C1
    C2
    C3
    C4
    Basic grouping works for example :
    (C1&C2) | (C3&C4)
    Complicated grouping i have no idea how to implement it.
    (((C1&C2) | (C3&C4))&(C1&C2) )
    I need validate if the expression is correct and need to pick up all the groups and do the AND or OR.
    Any help woul dbe appriciated
    Regards
    pacs

    fiveohg wrote:
    Complicated grouping i have no idea how to implement it.
    (((C1&C2) | (C3&C4))&(C1&C2) )
    I need validate if the expression is correct and need to pick up all the groups and do the AND or OR.As already suggested: you could write your own grammar and let a parser-generator create a lexer/parser for you.
    Another option is to use some scripting engine and bind your C-variables before evaluating your expression:
    import javax.script.*;
    public class Foo {
      public static void main(String[] args) throws Exception {
          String expression = "(((C1 && C2) || (C3 && C4)) && (C1 && C2))";
          ScriptEngineManager manager = new ScriptEngineManager();
          ScriptEngine engine = manager.getEngineByName("js");
          engine.put("C1", true);
          engine.put("C2", true);
          engine.put("C3", false);
          engine.put("C4", true);
          System.out.println(engine.eval(expression));
    }Note that you cannot user '|' and '&', in that case.
    The JavaScript (Rhino) engine is built-in in Java 6, but there are more that can be imported: [https://scripting.dev.java.net/]

  • E-mail group for multiple contacts

    I want to creat an e-mail group for multiple contacts so I only need to select the group and then send an e-mail to all the contacts in that group. How do i creat a distribution group in icloud from my Outlook Address book?

    Hi,
    Yes, when logon to ePrint Center, at the top frame, left hand side, there is a place you can +Add Printer. Click to this and follow the instructions.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Handling Multiple Group ID - Multiple Departments of the same Enterprise

    http://www.b2bgurus.com/2008/07/handling-multiple-group-id-multiple.html
    In step 4 it is mentioned that we have to create just one agreement. Should i create one agreement for each department or will creating one agreement for any department will automatically process the documents for both the departments?

    Create only one Agreement. Make sure to disable the validation.
    Another way of enabling this feature is by using the following tip.property.
    oracle.tip.adapter.b2b.edi.ignoreValidation=<values>
    Provide those identifier which will be different from the configured one. Few of the sample identifiers are as follows:
    InterchangeReceiverID,InterchangeSenderID,GroupReceiverID,GroupSenderID,GroupSenderQual,GroupReceiverQual,InterchangeSenderQual,InterchangeReceiverQual

  • Spread Data Over Multiple Months & Years with Data from Multiple Years

    Hello Everyone,
    I have a complex calculation for spreading values over several months spanning mulitle years. Because we have a 36 month rolling Forecast, a more sophisticated calc is required as opposed to hard coding months or years.
    Heres the description:
    Users enter the following data,
    FY11     BegBalance     Number of BOD Members     10
              BOD Options Vesting Months     20
              BOD Options Accounting Value     10
              BOD Options- Number of Shares     100
              BOD Grant Month     Aug
    FY12     BegBalance     Number of BOD Members     5
              BOD Options Vesting Months     10
              BOD Options Accounting Value     5
              BOD Options- Number of Shares     200
              BOD Grant Month     Oct
    FY13     BegBalance     Number of BOD Members     20
              BOD Options Vesting Months     8
              BOD Options Accounting Value     20
              BOD Options- Number of Shares     100
              BOD Grant Month     Feb
    Based on the above;
    "BOD Stock" is calculated as following/month=Number of BOD Members*BOD Options Accounting Value*BOD Options- Number of Shares/ BOD Options Vesting Months
    Start month for the above is based on "BOD Grant Month". So, for instance considering data for FY11:
    The total "BOD Stock" value is $10000 (originating from FY11) with start month of AUG in FY11 and the number of months to spread over is 20 months. So, essentially the "BOD Stock" per month (originating from FY11) is $500 starting from AUG FY11 to Mar FY13.
    Similarly, the total "BOD Stock" value is $5000 (originating from FY12) with start month of OCT in FY12 and the number of months to spread over is 10 months. So, essentially the "BOD Stock" per month (originating from FY12) is $500 starting from OCT FY12 to JUL FY13.
    The challange I am facing is because of the number of months to spread. Because I have data to spread from multiple years and each year's data spills into the following years, each year should accumulate data from prior years. For instance;
    FY11 should include only FY11
    FY12 should include FY11 and FY12
    FY13 should include FY11, FY12 and FY13.
    Could anyone suggest a smarter way to do this without writting code for each year, maybe using @MDALLOCATE function? The following shows how data should be spread and accumulated.
                             BegBalance     Jan     Feb     Mar     Apr     May     Jun     Jul     Aug     Sep     Oct     Nov     Dec     Period
    FY11     Number of BOD Members          10     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Options Vesting Months          20     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Options Accounting Value     10     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Options- Number of Shares     100     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Grant Month               Aug     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
              BOD Stock               10000     #mi     #mi     #mi     #mi     #mi     #mi     #mi     500     500     500     500     500     #mi
    FY12     Number of BOD Members          5     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Options Vesting Months          10     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Options Accounting Value     5     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Options- Number of Shares     200     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Grant Month               Oct     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
              BOD Stock               5000     500     500     500     500     500     500     500     500     500     1000     1000     1000     #mi
    FY13     Number of BOD Members          20     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Options Vesting Months          8     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Options Accounting Value     20     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Options- Number of Shares     100     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
         BOD Grant Month               Feb     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi     #mi
              BOD Stock               40000     1000     6000     6000     5500     5500     5500     5500     5000     5000     #mi     #mi     #mi     #mi
    Appreciate your inputs!
    Edited by: user10678366 on Oct 12, 2010 3:21 PM

    Why not use substitution variables for Years? you could have something like &Year1, &Year2, &Year3
    Cheers

  • Year Over Year Comparison for Multiple Years

    I have a business request where the client is asking for a year over year percentage comparison for multiple years
    So for example
              Applications
    2015     5
    2014     10
    2013     22
    So in year 2015 we can see that applications is currently down (5-50/10 - [New-Old/Old] by -50% compared to year prior
    In year 2014 we are down -55%
    Ultimately I wanted to display the following
              Applications
    2015     -50%
    2014     -55%
    2013    
    I have an idea of how to do this for a single year, where a presentation variable is fed in then I can just do this year minus previous year.
    I was wondering, how can I do this calculation or presentation in OBIEE? Can this be done within answers? Or does something need to be done in the RPD?

    As long as your model is correctly done with a time hierarchy you can just use the time series function AGO to get the value of previous year.
    So in the formula you can calculating your delta in % comparing the current year amount and the previous one.
    You can do it in the analysis directly, but if you will often need to access "previous year measures" would be a good idea to add it in the RPD so you don't need to write the formula every single time.

  • Assignment of single Sales group to multiple Sales offices not possible

    Hi all,
    We need to assign single sales group to multiple sales offices in CRM. When we try to assign a Sales group to more than one Sales office the first assignment between Sales group and Sales office is removed. Only the new assignment is available.
    Instead of having two assignments I still only get one.
    First I transfered the ECC organization as Standard backend integration. When I realize I needed multiple backend assignment I ran the Conversion to multiple assignments. However, I am not able to realize multiple assignments.
    Is it not possible to realize multiple assignment if you first transfered the ECC organization as standard (single) assignment?
    Please let me know how to overcome this problem.
    Regards
    Anders

    Hello Anders,
    Starting CRM 4.0 multiple hierarchy with this enhanced org data model
    works the following way:
    - 1 R/3 org data mapped to ONLY 1 CRM org unit.
    - multiple hierarchy (1 sales office assigned to several sales org,
    1 sales group assigned to several sales office) is managed in the detail
    of the org unit with tab Function and with sub tab sales office
    and sales group.
    For example if you have following R/3 org structure:
    Sales org SOr1
    _ Sales office Sof1
          _ Sales Group Sg1
    _ Sales office Sof2
          _ Sales Group Sg1
    Sales org SOr2
    _ Sales office Sof1
    In PPOMA_CRM you have to do the following:
    For the R3 mapping :
    Sor1 mapped to org unit 50000001
    Sor2 mapped to org unit 50000002
    Sof1 mapped to org unit 50000003
    Sof2 mapped to org unit 50000004
    Sg1 mapped tp org unit 50000005
    And for the multiple assignment
    - For sales org 50000001 and 50000002 you just have to maintain in tab
    function, sub tab Sales org the Distribution channel division values
    - For sales office 50000003 in sub tab Sales office the assignment to
    sales org Sor1 and Sor2
    - For sales office 50000004 in sub tab Sales office the assignment to
    sales org Sor1
    - For sales group 50000005 in sub tab sales group the assignment to
    sales office Sof1 and Sof2.
    If you have different division distribution channel on sales office sale
    group compared to the sales org you can maintain manually the values.
    Or if is it always the same values you can use * value for distribution
    channel division (in that case please read carefully notes
    691015 and 735020 if needed)
    In addition regarding report CRMC_R3_ORG_GENERATE I would like to
    clarify that this report can only be used for initial download, as
    written in the customzing documentation of this report (spro-CRM -
    master data -  org management - data transfer - Copy SAP R/3 sales
    structure ) it can only be executed once and so following org
    modifications have to be done manually in PPOMA_CRM.
    So for this report the correct way to use it is to create all the R/3
    org data in 1 shot.
    If only 1 R/3 org data is already mapped to a CRM org unit in ppoma_Crm
    you will have red light and so it will be impossible to create all
    dependent org data.
    Hoping i have been able to clarify how it works.
    Regards, Gerhard

  • Forecast Roll-Over Script across multiple years

    Hello Experts,
    I currently have the below Script and Prompt but it only works for one Fiscal year and I need help changing it so that it can be used across multiple years, my issue is below:
    If I have project TEST and it started in 2013.011 and ends in 2014.004, I have forecast values for all periods so when I run the script I'm prompted to "select forecast year" and "select forecast version based on previous period"
    So when I run from 2013.11 (forecast version P11) to 2013.12 (forecast version P12) that works fine but it's not working to roll-over from 2013.012 to 2014.001
    Any help is much appreciated.
    Thx,
    Shane
    *****SCRIPT*****
    //%CATEGORY_SET% - contains P9, STARTMNTH = 10, PREVFC=P8
    *SELECT(%SM%,"[STARTMNTH]",F_CATEGORY,"[ID]='%F_CATEGORY_SET%')
    //$YY$ - contain planning year selected by user from DM combobox
    *SELECT(%FCSTMNTH%,"[ID]",TIME,"[ID]>'$YY$.%SM%' AND [YEAR]='$YY$' AND [CALC]='N'")
    *SELECT(%ACTMNTH%,"[ID]",TIME,"[ID]<'$YY$.%SM%' AND [YEAR]='$YY$' AND [CALC]='N'")
    *SELECT(%PF%,"[PREVFCST]",F_CATEGORY,"[ID]='%F_CATEGORY_SET%')
    //To copy FORECAST XX we use
    *XDIM_MEMBERSET F_CATEGORY=%PF%
    *XDIM_MEMBERSET TIME=$YY$.%SM%,%FCSTMNTH%
    *WHEN F_CATEGORY
    *IS *
    *REC(EXPRESSION=%VALUE%,F_CATEGORY=%F_CATEGORY_SET%)
    *ENDWHEN
    //To copy ACTUAL we use
    *XDIM_MEMBERSET F_CATEGORY=ACTUAL
    *XDIM_MEMBERSET TIME=%ACTMNTH%
    *WHEN F_CATEGORY
    *IS *
    *REC(EXPRESSION=%VALUE%,F_CATEGORY=%F_CATEGORY_SET%)
    *ENDWHEN
    *****PROMPT*****
    PROMPT(MESSAGE,"Create Forecast Based on Previous")
    PROMPT(COMBOBOX,%YY%,"Select Forecast Year:",0,,{2014,2015,2016,2017,2018})
    PROMPT(SELECTINPUT,%SELECTION%,,"Select the Forecast Version:","F_CATEGORY")
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)
    INFO(%EQU%,=)
    INFO(%TAB%,;)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,TAB,%TAB%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,EQU,%EQU%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SELECTION,%SELECTION%)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,FORECAST.LGF)
    TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,REPLACEPARAM,YY%EQU%%YY%)

    OK - I'll try explain this another way, I have 2 records for "ACTUALS" in 2013 (this is DEV system)
    1st record - Project A-000001 / 2013.010 for $2000
    2nd record - Project A-000036 / 2013.012 for $5000
    Prompts
    PARAM - YY=2013
    DATA REGION - F_CATEGORY=P12
    Here's the Script:
    //%CATEGORY_SET% - contains P9, STARTMNTH = 10, PREVFC=P8
    *SELECT(%SM%,"[STARTMNTH]",F_CATEGORY,"[ID]='%F_CATEGORY_SET%')
    //$YY$ - contain planning year selected by user from DM combobox
    *SELECT(%FCSTMNTH%,"[ID]",TIME,"[ID]>'$YY$.%SM%' AND [CALC]='N'")
    *SELECT(%ACTMNTH%,"[ID]",TIME,"[ID]<'$YY$.%SM%' AND [YEAR]='$YY$' AND [CALC]='N'")
    *SELECT(%PF%,"[PREVFCST]",F_CATEGORY,"[ID]='%F_CATEGORY_SET%')
    //To copy FORECAST XX we use
    *XDIM_MEMBERSET F_CATEGORY=%PF%
    *XDIM_MEMBERSET TIME=$YY$.%SM%,%FCSTMNTH%
    *WHEN F_CATEGORY
    *IS *
    *REC(EXPRESSION=%VALUE%,F_CATEGORY=%F_CATEGORY_SET%)
    *ENDWHEN
    //To copy ACTUAL we use
    *XDIM_MEMBERSET F_CATEGORY=ACTUAL
    *XDIM_MEMBERSET TIME=%ACTMNTH%
    *WHEN F_CATEGORY
    *IS *
    *REC(EXPRESSION=%VALUE%,F_CATEGORY=%F_CATEGORY_SET%)
    *ENDWHEN
    RESULT
    PLS note that there is only 1 record for "ACTUAL" and that's the 1st record - Project A-000001 / 2013.010 for $2000
    2nd record - Project A-000036 / 2013.012 for $5000 is MISSING
    LGX:
    *XDIM_MEMBERSET F_CATEGORY=P11
    *XDIM_MEMBERSET TIME=2013.012,2014.001,2014.002,2014.003,2014.004,2014.005,2014.006,2014.007,2014.008,2014.009,2014.010,2014.011,2014.012,2015.001,2015.002,2015.003,2015.004,2015.005,2015.006,2015.007,2015.008,2015.009,2015.010,2015.011,2015.012,2016.001,2016.002,2016.003,2016.004,2016.005,2016.006,2016.007,2016.008,2016.009,2016.010,2016.011,2016.012,2017.001,2017.002,2017.003,2017.004,2017.005,2017.006,2017.007,2017.008,2017.009,2017.010,2017.011,2017.012,2018.001,2018.002,2018.003,2018.004,2018.005,2018.006,2018.007,2018.008,2018.009,2018.010,2018.011,2018.012,2019.001,2019.002,2019.003,2019.004,2019.005,2019.006,2019.007,2019.008,2019.009,2019.010,2019.011,2019.012,2020.001,2020.002,2020.003,2020.004,2020.005,2020.006,2020.007,2020.008,2020.009,2020.010,2020.011,2020.012
    *WHEN F_CATEGORY
    *IS *
    *REC(EXPRESSION=%VALUE%,F_CATEGORY=P12)
    *ENDWHEN
    *XDIM_MEMBERSET F_CATEGORY=ACTUAL
    *XDIM_MEMBERSET TIME=2013.001,2013.002,2013.003,2013.004,2013.005,2013.006,2013.007,2013.008,2013.009,2013.010,2013.011
    *WHEN F_CATEGORY
    *IS *
    *REC(EXPRESSION=%VALUE%,F_CATEGORY=P12)
    *ENDWHEN
    LOG:
    LOG BEGIN TIME:2014-03-14 09:36:23
    FILE:\ROOT\WEBFOLDERS\F_COUNCIL \ADMINAPP\Forecasting\TEST.LGF
    USER:096655
    APPSET:F_COUNCIL
    APPLICATION:Forecasting
    [INFO] GET_DIM_LIST(): I_APPL_ID="Forecasting", #dimensions=8
    F_CATEGORY,F_ENTITY,F_PERSON,F_PROJECT,F_SECTION,F_WBSE,MEASURES,TIME
    #dim_memberset=2
    F_CATEGORY:P11,1 in total.
    TIME:2013.012,2014.001,2014.002,2014.003,2014.004,...85 in total.
    REC :%VALUE%
    CALCULATION BEGIN:
    QUERY PROCESSING DATA
    QUERY TIME : 1235.46 ms. 285  RECORDS QUERIED OUT.
    QUERY REFERENCE DATA
    CALCULATION TIME IN TOTAL :672.78 ms.
    285  RECORDS ARE GENERATED.
    CALCULATION END.
    ENDWHEN ACCUMULATION: 285  RECORDS ARE GENERATED.
    DATA TO WRITE BACK:
    F_CATEGORY    F_ENTITY    F_PERSON    F_PROJECT    F_SECTION    F_WBSE    TIME    SIGNEDDATA
    P12    4000    000000    A-000036    000    A-000036.1.01    2013.012    103.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.001    104.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.002    105.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.003    106.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.004    107.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.005    108.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.006    109.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.007    110.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.008    111.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.009    112.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.010    113.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.011    114.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2014.012    115.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2015.001    116.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2015.002    117.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2015.003    118.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2015.004    119.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2015.005    120.00
    P12    4000    000000    A-000036    000    A-000036.1.01    2015.006    121.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2013.012    235.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.001    236.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.002    237.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.003    238.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.004    239.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.005    240.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.006    241.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.007    242.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.008    243.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.009    244.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.010    245.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.011    246.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2014.012    247.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2015.001    248.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2015.002    249.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2015.003    250.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2015.004    251.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2015.005    252.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01    2015.006    253.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2013.012    344.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.001    345.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.002    346.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.003    347.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.004    348.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.005    349.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.006    350.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.007    351.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.008    352.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.009    353.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.010    354.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.011    355.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.012    356.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.001    357.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.002    358.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.003    359.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.004    360.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.005    361.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.006    362.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2013.012    494.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.001    495.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.002    496.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.003    497.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.004    498.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.005    499.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.006    500.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.007    501.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.008    502.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.009    503.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.010    504.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.011    505.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.012    506.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.001    507.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.002    508.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.003    509.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.004    510.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.005    511.00
    P12    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.006    512.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2013.012    573.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.001    574.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.002    575.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.003    576.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.004    577.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.005    578.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.006    579.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.007    580.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.008    581.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.009    582.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.010    583.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.011    584.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2014.012    585.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2015.001    586.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2015.002    587.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2015.003    588.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2015.004    589.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2015.005    590.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02    2015.006    591.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2013.012    663.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.001    664.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.002    665.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.003    666.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.004    667.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.005    668.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.006    669.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.007    670.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.008    671.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.009    672.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.010    673.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.011    674.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.012    675.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.001    676.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.002    677.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.003    678.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.004    679.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.005    680.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.006    404.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2013.012    765.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.001    766.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.002    767.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.003    768.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.004    769.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.005    770.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.006    771.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.007    772.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.008    773.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.009    774.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.010    775.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.011    776.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.012    777.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.001    778.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.002    779.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.003    780.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.004    781.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.005    782.00
    P12    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.006    493.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2013.012    430.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.001    431.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.002    432.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.003    433.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.004    434.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.005    435.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.006    436.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.007    437.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.008    438.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.009    439.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.010    440.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.011    441.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2014.012    442.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2015.001    443.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2015.002    444.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2015.003    445.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2015.004    446.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2015.005    447.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03    2015.006    448.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2013.012    584.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.001    585.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.002    586.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.003    587.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.004    588.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.005    589.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.006    590.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.007    591.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.008    592.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.009    593.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.010    594.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.011    595.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.012    596.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.001    597.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.002    598.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.003    599.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.004    600.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.005    601.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.006    602.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2013.012    606.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.001    607.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.002    608.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.003    609.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.004    610.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.005    611.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.006    612.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.007    613.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.008    614.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.009    615.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.010    616.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.011    617.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.012    618.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.001    619.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.002    620.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.003    621.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.004    622.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.005    623.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.006    624.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2013.012    824.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.001    825.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.002    826.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.003    827.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.004    828.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.005    829.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.006    830.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.007    831.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.008    832.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.009    833.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.010    834.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.011    835.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.012    836.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.001    837.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.002    838.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.003    839.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.004    840.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.005    841.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.006    842.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2013.012    125.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.001    126.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.002    127.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.003    128.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.004    129.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.005    130.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.006    131.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.007    132.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.008    133.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.009    134.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.010    135.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.011    136.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.012    137.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2015.001    138.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2015.002    139.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2015.003    140.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2015.004    141.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2015.005    142.00
    P12    4000    000000    A-000036    000    A-000036.1.01.03.04    2015.006    143.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2013.012    407.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.001    408.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.002    409.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.003    410.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.004    411.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.005    412.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.006    413.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.007    414.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.008    415.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.009    416.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.010    417.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.011    418.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2014.012    419.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2015.001    420.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2015.002    421.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2015.003    422.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2015.004    423.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2015.005    424.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.01    2015.006    425.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2013.012    606.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.001    607.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.002    608.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.003    609.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.004    610.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.005    611.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.006    612.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.007    613.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.008    614.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.009    615.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.010    616.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.011    617.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2014.012    618.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2015.001    619.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2015.002    620.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2015.003    621.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2015.004    622.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2015.005    623.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.02    2015.006    624.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2013.012    726.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.001    727.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.002    728.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.003    729.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.004    730.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.005    731.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.006    732.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.007    733.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.008    734.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.009    735.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.010    736.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.011    737.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2014.012    738.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2015.001    739.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2015.002    740.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2015.003    741.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2015.004    742.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2015.005    743.00
    P12    4000    000000    A-000036    000    A-000036.1.01.05.03    2015.006    744.00
    285  RECORDS HAVE BEEN WRITTEN BACK.
    WRITING TIME :543.97  ms.
    [INFO] GET_DIM_LIST(): I_APPL_ID="Forecasting", #dimensions=8
    F_CATEGORY,F_ENTITY,F_PERSON,F_PROJECT,F_SECTION,F_WBSE,MEASURES,TIME
    #dim_memberset=2
    F_CATEGORY:ACTUAL,1 in total.
    TIME:2013.001,2013.002,2013.003,2013.004,2013.005,...11 in total.
    REC :%VALUE%
    CALCULATION BEGIN:
    QUERY PROCESSING DATA
    QUERY TIME : 1019.73 ms. 1  RECORDS QUERIED OUT.
    QUERY REFERENCE DATA
    CALCULATION TIME IN TOTAL :140.35 ms.
    1  RECORDS ARE GENERATED.
    CALCULATION END.
    ENDWHEN ACCUMULATION: 1  RECORDS ARE GENERATED.
    DATA TO WRITE BACK:
    F_CATEGORY    F_ENTITY    F_PERSON    F_PROJECT    F_SECTION    F_WBSE    TIME    SIGNEDDATA
    P12    4000    000000    A-000001    000    A-000001.1.01    2013.010    2000.00
    1  RECORDS HAVE BEEN WRITTEN BACK.
    WRITING TIME :480.96  ms.
    SCRIPT RUNNING TIME IN TOTAL:5.07 s.
    LOG END TIME:2014-03-14 09:36:28
    Prompts
    PARAM - YY=2014
    DATA REGION - F_CATEGORY=P1
    RESULT
    PLS NOTE - The 2nd record "ACTUAL" - Project A-000036 / 2013.012 for $5000 is MISSING
    LGX:
    *XDIM_MEMBERSET F_CATEGORY=P12
    *XDIM_MEMBERSET TIME=2014.001,2014.002,2014.003,2014.004,2014.005,2014.006,2014.007,2014.008,2014.009,2014.010,2014.011,2014.012,2015.001,2015.002,2015.003,2015.004,2015.005,2015.006,2015.007,2015.008,2015.009,2015.010,2015.011,2015.012,2016.001,2016.002,2016.003,2016.004,2016.005,2016.006,2016.007,2016.008,2016.009,2016.010,2016.011,2016.012,2017.001,2017.002,2017.003,2017.004,2017.005,2017.006,2017.007,2017.008,2017.009,2017.010,2017.011,2017.012,2018.001,2018.002,2018.003,2018.004,2018.005,2018.006,2018.007,2018.008,2018.009,2018.010,2018.011,2018.012,2019.001,2019.002,2019.003,2019.004,2019.005,2019.006,2019.007,2019.008,2019.009,2019.010,2019.011,2019.012,2020.001,2020.002,2020.003,2020.004,2020.005,2020.006,2020.007,2020.008,2020.009,2020.010,2020.011,2020.012
    *WHEN F_CATEGORY
    *IS *
    *REC(EXPRESSION=%VALUE%,F_CATEGORY=P1)
    *ENDWHEN
    *XDIM_MEMBERSET F_CATEGORY=ACTUAL
    *XDIM_MEMBERSET TIME=
    *WHEN F_CATEGORY
    *IS *
    *REC(EXPRESSION=%VALUE%,F_CATEGORY=P1)
    *ENDWHEN
    LOG:
    LOG BEGIN TIME:2014-03-14 09:40:55
    FILE:\ROOT\WEBFOLDERS\F_COUNCIL \ADMINAPP\Forecasting\TEST.LGF
    USER:096655
    APPSET:F_COUNCIL
    APPLICATION:Forecasting
    [INFO] GET_DIM_LIST(): I_APPL_ID="Forecasting", #dimensions=8
    F_CATEGORY,F_ENTITY,F_PERSON,F_PROJECT,F_SECTION,F_WBSE,MEASURES,TIME
    #dim_memberset=2
    F_CATEGORY:P12,1 in total.
    TIME:2014.001,2014.002,2014.003,2014.004,2014.005,...84 in total.
    REC :%VALUE%
    CALCULATION BEGIN:
    QUERY PROCESSING DATA
    QUERY TIME : 1342.07 ms. 270  RECORDS QUERIED OUT.
    QUERY REFERENCE DATA
    CALCULATION TIME IN TOTAL :716.94 ms.
    270  RECORDS ARE GENERATED.
    CALCULATION END.
    ENDWHEN ACCUMULATION: 270  RECORDS ARE GENERATED.
    DATA TO WRITE BACK:
    F_CATEGORY    F_ENTITY    F_PERSON    F_PROJECT    F_SECTION    F_WBSE    TIME    SIGNEDDATA
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.001    104.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.002    105.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.003    106.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.004    107.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.005    108.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.006    109.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.007    110.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.008    111.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.009    112.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.010    113.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.011    114.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2014.012    115.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2015.001    116.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2015.002    117.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2015.003    118.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2015.004    119.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2015.005    120.00
    P1    4000    000000    A-000036    000    A-000036.1.01    2015.006    121.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.001    236.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.002    237.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.003    238.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.004    239.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.005    240.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.006    241.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.007    242.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.008    243.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.009    244.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.010    245.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.011    246.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2014.012    247.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2015.001    248.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2015.002    249.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2015.003    250.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2015.004    251.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2015.005    252.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01    2015.006    253.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.001    345.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.002    346.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.003    347.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.004    348.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.005    349.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.006    350.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.007    351.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.008    352.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.009    353.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.010    354.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.011    355.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2014.012    356.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.001    357.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.002    358.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.003    359.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.004    360.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.005    361.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.01    2015.006    362.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.001    495.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.002    496.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.003    497.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.004    498.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.005    499.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.006    500.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.007    501.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.008    502.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.009    503.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.010    504.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.011    505.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2014.012    506.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.001    507.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.002    508.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.003    509.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.004    510.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.005    511.00
    P1    4000    000000    A-000036    000    A-000036.1.01.01.02    2015.006    512.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.001    574.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.002    575.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.003    576.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.004    577.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.005    578.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.006    579.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.007    580.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.008    581.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.009    582.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.010    583.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.011    584.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2014.012    585.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2015.001    586.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2015.002    587.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2015.003    588.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2015.004    589.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2015.005    590.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02    2015.006    591.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.001    664.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.002    665.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.003    666.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.004    667.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.005    668.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.006    669.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.007    670.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.008    671.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.009    672.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.010    673.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.011    674.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2014.012    675.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.001    676.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.002    677.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.003    678.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.004    679.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.005    680.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.01    2015.006    404.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.001    766.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.002    767.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.003    768.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.004    769.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.005    770.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.006    771.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.007    772.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.008    773.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.009    774.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.010    775.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.011    776.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2014.012    777.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.001    778.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.002    779.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.003    780.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.004    781.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.005    782.00
    P1    4000    000000    A-000036    000    A-000036.1.01.02.02    2015.006    493.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.001    431.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.002    432.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.003    433.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.004    434.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.005    435.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.006    436.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.007    437.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.008    438.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.009    439.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.010    440.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.011    441.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2014.012    442.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2015.001    443.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2015.002    444.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2015.003    445.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2015.004    446.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2015.005    447.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03    2015.006    448.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.001    585.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.002    586.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.003    587.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.004    588.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.005    589.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.006    590.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.007    591.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.008    592.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.009    593.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.010    594.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.011    595.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2014.012    596.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.001    597.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.002    598.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.003    599.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.004    600.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.005    601.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.01    2015.006    602.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.001    607.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.002    608.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.003    609.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.004    610.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.005    611.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.006    612.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.007    613.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.008    614.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.009    615.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.010    616.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.011    617.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2014.012    618.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.001    619.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.002    620.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.003    621.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.004    622.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.005    623.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.02    2015.006    624.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.001    825.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.002    826.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.003    827.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.004    828.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.005    829.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.006    830.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.007    831.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.008    832.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.009    833.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.010    834.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.011    835.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2014.012    836.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.001    837.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.002    838.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.003    839.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.004    840.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.005    841.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.03    2015.006    842.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.001    126.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.002    127.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.003    128.00
    P1    4000    000000    A-000036    000    A-000036.1.01.03.04    2014.004 

  • Share an ASM disk group among multiple nodes

    According to Oracle documentation:
    *“To share an ASM disk group among multiple nodes, you must install Oracle Cluster ware on all of the nodes, regardless of whether you install Oracle RAC on the nodes”.*
    And if I understand it right to share the same ASM storage group from multiple nodes from separate RACs or multiple non-RAC nodes ASM instances in those nodes need to communicate to synchronize ASM related metadata using same technique like cache fusions.
    My question is how this ASM communication take place among different ASM instances located in different RACs and standalone servers. Do we have to have some kind of Interconnect settings among the nodes?

    Hi,
    ASM and database instances require shared access to the disks in a disk group. ASM instances manage the metadata of the disk group and provide file layout information to the database instances.
    ASM instances can be clustered using Oracle Clusterware; there is one ASM instance for each cluster node. If there are several database instances for different databases on the same node, then the database instances share the same single ASM instance on that node.
    If the ASM instance on a node fails, then all of the database instances on that node also fail. Unlike a file system failure, an ASM instance failure does not require restarting the operating system. In an Oracle RAC environment, the ASM and database instances on the surviving nodes automatically recover from an ASM instance failure on a node.
    see this link
    http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asmcon.htm :)

  • Item Group on Multiple WH

    Dear all,
    is it possible in SBO to maintain item group on multiple Warehouse. For example, I have Item 0100001 that has item group A in warehouse I and II. Each item group in each Warehouse has different account determination. so, I can show in Balance Sheet, value amount of group A in warehouse I and group A in warehouse II.
    Thanks for the help

    It is possible to set G/L's only Warehouse Wise, Item Group Wise or Item Wise.
    Even if the G/L codes are set, it is possible for the user to choose the G/L code in the Transaction screen of the Marketing documents through which you can achieve your required functionality.

  • Multiple years with SPRUNCONSO

    Hi there,
    Question about sprunconso storedproc :
    Does a way exist to launch SPRUNCONSO for multiple years at a time ?
    I've to launch this calculation for the next 5 years very often on the budget and have to lauch it year by year.
    I've tried to combine the SPRUNCONSO with multiple xdim_memberset to limit the scope by year but it stills work on 1 year only.
    If someone as an idea ?
    thx
    Pascal

    Hi experts,
    The Legal Consolidation logic already refers to a SCOPETABLE :
    *RUN_STORED_PROCEDURE = SPRUNCONSO([%APP%], [%CATEGORY_SET%], [G_GLOBAL],[%SCOPETABLE%],[%LOGTABLE%])
    Could you please provide us with further information on how to manage temporary SCOPETABLE ?
    I would really appreciate your help.

Maybe you are looking for