Consolidaton rule in HFM

Hi,
We have a requirement of rule-driven consolidation in our project. Client wants consolidation and ICP elimination should be happen through rule.
Please validate if following steps are correct.
Sub Consolidate()
Entity=HS.Entity.Member
Pcon=HS.Node.PCon("")
Set DataUnit=HS.OpenDataUnit("")
NumItems=DataUnit.GetNumItems
For i=0 to NumItems-1
Call DataUnit.GetItem(i,Account,ICP,Custom1,Custom2,Custom3,Custom4,Data)
If Data<>0 Then
          Acc="A#" & Account
          Elim=".V#[Elimination]"
          Cust=".C1#" & Custom1
HS.Con Acc,PCon,""                          
Plug = "A#" & HS.Account.PlugAcct("")
ICPPCon= HS.Node.Pcon("E#" & ICP)
Min=Minimum(PCon,ICPPCon)
HS.Con Acc & Cust & Elim,Min*(-1),""
HS.Con Plug & Cust & Elim,Min,""
Function Minimum(Par1,Par2)
If Par1 > Par2 Then Minimum = Par2 Else Minimum = Par1
End Function
Above rule is getting aborted,please advise how it can be improved.
We are almost closed to deadline but didnt get any solution.
Thanks

That was typo error ,it was Data <> 0.Now I have changed the rule.Also done some changes.
Below rule runs but it doesnt give the correct result.Here it is not stroing the values in Plug account.
Not sure,whats wrong..Please advise.
Sub Consolidate()
Dim MyDataUnit
     Dim dPcon
     Dim lNumItems
     Dim i
     Dim strAccount
     Dim strICP
     Dim strCustom1
     Dim strCustom2
     Dim strCustom3
     Dim strCustom4
     Dim dData
     Dim strEntity
     Dim splug
     Dim vplug
Set ConsUnit = Hs.OpenDataUnit("")
NumItems = ConsUnit.GetNumItems
For i = 0 to NumItems - 1
     Call ConsUnit.GetItem(i,strAccount,strICP,strCustom1,strCustom2,strCustom3,strCustom4,dData)
     IF HS.Account.IsConsolidated(strAccount) and dData<>0 THEN
          HS.Con " ", HS.Node.PCon(""), " "
          call Eliminate(strAccount,strICP)
     End if
Next
End Sub
'* FUNCTIONS *
' Minimum
'Function Minimum(Par1,Par2)
' If Par1 > Par2 Then Minimum = Par2 Else Minimum = Par1
'End Function
Sub Eliminate (strAccount, strICP)
     Dim CanEliminate
Dim strPlug
     Dim dPCon
     dim NegatePlug
CanEliminate = TRUE
NegatePlug = FALSE
          'Do NOT eliminate IF Intercompnay partner is [ICP None]
     IF (StrComp(strICP, "[ICP None]", vbTextCompare) = 0) THEN
     CanEliminate = FALSE
          'Do NOT eliminate IF account is not ICP
     ELSEIF (HS.Account.IsICP(strAccount) = FALSE) THEN
     CanEliminate = FALSE
     'Do NOT eliminate IF intercompany partner has a different parent
          ELSEIF (HS.Node.ISDESCENDANT(HS.PARENT.Member,strICP,"") = FALSE) THEN
     CanEliminate = FALSE
     'Do NOT eliminate IF the account doesn't have a plug account
          ELSE
     strPlug = HS.Account.PlugAcct(strAccount)
     IF (strPlug = "") THEN CanEliminate = FALSE
     END IF
     IF CanEliminate THEN
               dPCon = HS.Node.PCon("")
               ' Standard elimination at 100%
               call HS.Con("V#[Elimination]",dPCon*(-1),"")     
               call HS.Con("V#[Elimination].A#" & strPlug,dPCon,"")
     END IF
End Sub '(Eliminate)
Edited by: user3017122 on Sep 30, 2010 11:08 PM

Similar Messages

  • Creating Rules in HFM.

    While writing a business rule for HFM, in the sub calculate(), if I do not mention the entire intersection does the calcultaion run for the current POV or does it run for all intersections?
    Ex,
    If I write a script HS.Clear"A#11110"
    will the A#11110 be cleared for current POV or for all entities and scenarios and oter dimensions?

    Lijoy,
    If you don't use Select Case or IF/Then or some similar mechanism to control the execution of the clear statement, then the statement will execute for whichever Scenario, Entity, Year, Time Period and Value dimension member is in the user's POV. We will often use if/then statement to control where a formula executes. For example, say you wanted to clear the input-level data for a particular account for only base-level entities in your Budget scenario for years after 2007. You could do that by doing something like this:
    =========================================
    pov_entity = HS.Entity.Member
    pov_value = HS.Value.Member
    pov_scenario = HS.Scenario.Member
    pov_year = HS.Year.Member
    vIs_Base = HS.Entity.IsBase ("","")
    If pov_scenario = "Budget" and pov_year > "2007" and pov_value = "<Entity Currency>" and vIs_Base = True Then
    HS.Clear("A#1010")
    End If
    ============================================
    The variable declarations before the IF statement are just some standard items we put at the top of our rules file so that we don't have to write HS.Entity.Member every time we want to know what the current entity is - you can just pov_entity instead (this is supposed to be faster as well). Hope this helps!
    Best Regards,
    Bobby

  • Running Rule in HFM

    Hi,
    Is there any way to run the rule in HFM,
    I know that the rule will run at the time of consolidation,
    if i want to run the rule only, is there any way.
    Regards,
    Kris

    Hi,
    The HFM rules don't work like Planning (where you can excecute a rule for a specifc form). HFM rules will always excecute the entire rules file for the entire sub-cube (so all the accounts and valid custom dimensions for the selected entity, scenario, period, year). The section in the file that will be run is determined by the type of action the user performs, i.e. calculate runs Sub Calculate, consolidate runs Sub Calculate; Sub Translate and Sub Consolidate to get to the parent.
    Cheers

  • Can we use Boolean or Validations in HFM Rules

    Hi Gurus
    Can we use Boolean or Validations for input cells in HFM?
    Example:
    1. I want to restrict the user to enter only single digit (0 or 1 are valid) in to a cell for a special purpose. (in smartview or webform)
    2. I want to restrict the user to enter only single Character (Y or N are valid) in to a cell for a special purpose.(in smartview or webform)
    After submitting the data, If the data does not matches to the given condition it has to through an Error message or validation message to the end user.
    Can we write these kind of rules in HFM?
    Regards
    Smilee

    Hi Smilee,
    HFM's model of validation and error checking is not as you describe. Data cannot be validated at the form/data-entry level. Instead, HFM's validation model goes like this:
    1. You must provide with a validation account for each validation you need, with a common parent usually declared in the validation accounts in the ApplicationSettings. A zero (or within tolerance limits) in the validation account means correct, any other value means error.
    2. You must write a normal calculation rule, which checks the user's input for valid data entry and place a zero or other value to the validation account.
    3. The user inputs her values (via form, or data load, FDM, SmartView etc.), saves her data and calculates.
    4. As soon as all the validation calculations write zeros to the to validation account during calculations, the user can submit successfully (submission is part of process management). However, if any of the validations fail (meaning non zero value to the top validation account) the user cannot submit until she corrects the error value. Errors can be traced easily, judging by the exact validation account which fails.
    Another observation regarding your point 2 is that only numeric values can be written in HFM cells, no alphabetic characters are allowed. You should replace Y/N logic to 0/1.
    Regards,
    Kostas

  • HFM rule won't run against ECA

    I have a very simple rule in HFM v11.1.2 that runs against ECA, but won't execute during normal consolidation, it will only execute by using a force calculate command.  Any suggestions to allow this to run during normal consolidation?  The data in the 1750_3P account is being populated by rules, not by a posted journal.
    Here is the rule:
    If pov_scenario = "ACT" and is_base = True and pov_value = "<Entity Curr Adjs>" Then
            HS.Clear "A#1750_3P"
    End If 'pov_scenario
    Thank you,

    Hi HTM_Ptc,
    What is is_base referring to ? This rule should be run during calculation. Or if it still unsuccessful, would you try using this :
    IF strYEar = " " AND strPeriod = " " AND strScenario = " " Then
    Select Case Hs.Value.Member
    Case "<Entity Curr Adjs>"
    ...[your clear statement]
    End Select
    End IF
    Thanks,
    Anna

  • HFM Rule not calculating

    Hi All,
    We have a Rule in HFM to translate the entity currency to parent currency/USD,
    the rule goes like below..
    'Translate
    sub Translate()
         'Translate P&L using the PVA methodolgy (Translate Monthly Results) for all scenarios starting in 2009.
         If HS.Year.Member > "2008" Then
              HS.Transperiodic "", "", "A#Cumulative Rate", ""
         End If
    end sub
    sub noinput()
    end sub
    when we are running the consolidate, the translation is not happening,
    again we had to go to each cell and right click and translate,
    can anyone check if there is any error or any other issues with the rule,
    Thanks in advance,
    Kris

    Can you clarify the following:
    Are you using the default translation at all? If so, what you will see is that the data is loaded or keyed in at foreign currency entity in the entity currency value dimension. If you are at base level and hit consolidate nothing will happen. If you are at the parent and the parent has USD as its default currency, after the consolidation occurs you will see the data at the base level foreign entity in USD fully populated.
    Your rule however, appears to execute only if the year is 2009 or later, and it appears to be trying to calculate a the periodic rate, using the Account cumulative rate to translate every account usingthe periodic method.
    There is nothing wrong with your rule except for what I mentioned earlier about the year maybe being read as a string in the if statement, compared to an integer. You never mentioned if you tried the changes I proposed and what the results where.

  • I Need help for creating rules - very high values !!

    Hi,
    i have some troubleshooting by creating rules at HFM 11.1.1.3. I have declarate an array where some Data from an Account is stored. Then there should be stored one of the numerical data in another HFM account (f.e. "EB_MITTEL"). The stored data is much higher than the value in the log file ("write2File") showed. If i divide this value by 100000000000000 then the right value will be reported.
    Example: Value in log-file: 16492,8691588785 ("," = decimal-delimiter)
    Value in the Data-Grid: 164.928.691.588.785 ("." = thousands-separator)
    Part of the rule-file:
    Sub
         Dim lMittelWert, lMaxWert, lMinWert
         lMittelWert = 0
         lMaxWert = 0
         lMinWert = 0
         a = 0
         For x = 1 To 13
              If arListe(x) <> 0 then
              lMittelWert = lMittelWert + arListe(x)
              a=a+1
              End if
              If lMaxWert < arListe(x) Then
                   lMaxWert = arListe(x)
              End If
              if x = 1 then
                   lMinWert = arListe(x)
              End if
         Next
         lMinWert = lMaxWert
         For x = 1 To 13
              If lMinWert > arListe(x) and arListe(x) <> 0 Then
                   lMinWert = arListe(x)
              End If
              write2file arListe(x)
         Next
         if a <> 0 Then
              lMittelWert = lMittelWert / a
         End if     
         HS.Exp "A#EB_MITTEL.C1#" & C1Item & " = " & lMittelWert
         HS.Exp "A#EB_MIN.C1#" & C1Item & " = " & lMinWert
         HS.Exp "A#EB_MAX.C1#" & C1Item & " = " & lMaxWert
    End Sub
    I hope someone can help me, many thanks in advance. (and i am so sorry about my bad english)
    Juergen

    VB Scripts using String to number conversions in some languages require special consideration when handling numbers. (e.g. French, German and others that use commas as decimal delimiter).
    Internally, HFM VB Scripts use periods (.) as the decimal delimiter. One workaround is to force the use of decimals and force the Scripting engine to use decimals by declaring the local to be English US with:
    b = setLocale("en-us")

  • Best practice for partnership distributions

    I am looking for some assistance on best practice.
    We currently have no process for Partnership Distributions within HFM. Our partnerships we have an equity pickup rule in HFM, and our source accounts are setup to be at a cost basis.
    The issue becomes when we attempt to record the distribution from a 50% owned sub into its parent. Currently we are decreasing the parent's investment in the partnership, but this is becoming messy.
    Dose anyone have any recommendations on how this is been applied elsewhere?

    Hello,
    I'd ask in the Windows forum on Microsoft Community.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog:http://unlockpowershell.wordpress.com
    My Book:Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Generating .trn for mapping "Like"

    Hi guys,
    could you pleasen show me an example to generate a .trn to load mapping rules into an application in FDM? User's guide is not really useful. We need to create a file with the following features:
    Rule Name/     Rule Desc/     HFM Account/Rule Definition/-/Script
    Which are the ones you can find in FDM, to load the mapping scripts in FDM.
    Could you please provide an example?
    Thank you!
    Cheers,
    Lu

    While I won't vouch for every version of FDM, I do know that for 9.3.1 and previous, you absolutely can perform "Like" and "Between" mappings with Ledgerlink files (TRA / TRN).
    You can only specify a few options; however : Source account, destination account, and Description. To signify a sign flip, you put a - in front of the destination account. If you are doing a "Like" or "Between" type rule, the rule name is not specified in the TRA/TRN file, it is system created for you.
    Example as follows :
    1287-01-60-00;Patent; Patent Accumulated Amortization
    2100-01-50-00;-Cash; Cash Sign Flip
    2100*;Cash; Cash (Like Example)
    19??;COGS; Cost of Goods Sold (Like Example)
    1800>1850;Sales;Sales (Between Example)

  • Classic Application Administration vs. Administration within the workspace

    Can someone tell me the Pros and Cons of Classic Application Administration vs Administering the App from the Workspace?
    We have always used Classic and I would like to know if it would be worth the effort to convert over.

    Workspace admin features, or EPM Architect, is certainly the future direction. The windows based metadata manager is on the sunset trail in terms of new features being added. That said there are still some things that need to be ironed out in certain areas. I would recommend building this into your dev plans and carefully evaluating before migrating to your production efforts. One impetus for moving straight to the EPMA platform was to take advantage of the new graphical calculation manager interface for building rules in HFM rather than using the VB script editor. This need will be gone with the release later this summer where you will be able to use the Calc Manager with both CLassis and EPMA applications. So I would definately prepare yourself, but tread lightly for now.

  • How to get an account with an IsICP -"R" attribute calculated in the HFM Rule file

    Till recently everything was going fine with the calculations in our HFM setup ( Version 4.1)
    We have say around 8 Expense accounts which roll up into a Parent account say ALL446 which finally rolls up into Operating Expenses.
    Operating Expenses
      |__ parent account
          |_INVALO
           |_ALL446
              |__222446
              |__242446
    And we have a calculation in the rule file as below
    HS.EXP "A#BE FIXED COST = A#Operating Expenses +A#SGA - A#BE VC OP F10"
    This was calculating correctly till we did the below change
    Added IsICP attribute to couple of accounts say 222446 and 242446 ( in the above example) in the metadata which finally rolls up into Operating Expense.
    Note: we did not add any Plug account attribute to the accounts
    Now the problem what we have in hand is -> Fixed Cost is not calculating correctly.- It happens that the two accounts for which we added the IsICP are not showing up in the calculation and the data in those two accounts are not adding up in Fixed Cost.
    POV in GRID/Excel -> actual,2013,periodic,<Entity Currency>, ICP Top, AllCustom1, AllCustom2, AllCustom3, None( for custom4)
    But when we retrieve Operating Expenses in Excel - it is showing the correct amount, even in the grid - but looks like when the rule tries to calculate Fixed Expenses using the above rule - these accounts are not adding up in the Operating expenses.
    I tried the formula ( to check what number is coming into Fixed cost ) - the result is zero - But in the grid/excel I see amount for acct2. Same POV as above
    HS.EXP "A#BE FIXED COST = A#222446"
    and if I add & Tops to the account like below ( getting some weird number instead of what is there in acct2)
    HS.EXP "A#BE FIXED COST = A#222446" & Tops
    Questions:
    1) Where exactly I am going wrong ?
    2) Is it MANDATORY to have a Plugaccount attribute when we have IsICP turned to "R" ?
    3) What will happen if we do not have a Plugaccount for the IsICP account ?
    4) How to correct the formula to make sure I get the number in the acct2 into Fixed Cost??
    5) Do we need to have the IsICP turned on to the immediate parent of the account having IsICP and the Top parents of the account too??
    6) Is it possible to get the exact number what we have in 222446 into BE Fixed Cost account via Rule?- why I am not getting it
    Notes:
    BE Fixed Cost-> account type -"Expense", IsCalculated - yes, IsConsolidated - yes, IsICP- N, Custom1TopMember - AllFunctions, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    Operating Expenses->"Expense", IsCalculated - No, IsConsolidated - yes, IsICP- N, Custom1TopMember - AllFunctions, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    INVALO ->"Expense", IsCalculated - No, IsConsolidated - yes, IsICP- N, Custom1TopMember -none, Custom3TopMember- none,
    enabled allcustom1,2,3,4aggregations
    Problematic account 222446 -> "Expense", IsCalculated - No, IsConsolidated - yes, IsICP- R, Custom1TopMember - Operations, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
    The Entity on which I am trying to get the data( mentioning wherever I have attributes for this entity)
    DefCurrency - DEM, Allowadjs- enabled, IsICP - enabled, Userdefined 2 - financial, - SecurityasPartner attribute - is not selected through out the applicaiton.
    Variable
    Tops = ".I#[ICP Top].C1#AllCustom1.C2#AllCustom2.C3#AllCustom3.C4#[None]"
    tried attaching the attachments ( but service is unavailable)
    Waiting for all of your valuable suggestions..

    1) why was I not getting the formula right when I use & Tops
    I'm assuming that BE Fixed Cost has N for IsICP, in that case you can not write to invalid intersections as it would attempt to use the same ICP information
    2) Is it MANDATORY to have a Plugaccount attribute when we have IsICP turned to "R" ?
    No
    3) What will happen if we do not have a Plugaccount for the IsICP account ?
    It will not run eliminations
    4) Do we need to have the IsICP turned on to the immediate parent of the account having IsICP and the Top parents of the account too??
    If you want it to rollup, yes you would need that.  We have all Parent accounts as isICP set to Y and top member to ICP Entities so that they roll up
    5) which will have priority the rule or the Grid where we have the calculated member like the BE Fixed Cost - because in the grid I had icptop, allcustom1,2 3 and when had & Tops to the account - I got some weird numbers...
    I'm not following the question here, grids are just really a display mechanism, rules will handle all of the calculations.

  • How to use variable in rule script in HFM

    I'm now writing VB script for HFM rule, and have something to ask about the use of variables in rule.
    The script below generates the following error.
    -Error description-
    Line: 4, Error: Invalid Expression
    HS.Exp "S#Actual.A#77300.I#[ICP None] = cur"
    An error has occurred in Hyperion Financial Management.
    -Rule script-
    Sub Allocate()
    Dim cur
    cur = 500
    HS.Exp "S#Actual.A#77300.I#[ICP None] = cur"
    End Sub
    On the other hand, the script below works properly.
    -Rule script-
    Sub Allocate()
    HS.Exp "S#Actual.A#77300.I#[ICP None] = 500"
    End Sub
    Probably I'm not using variables in proper way, but have no idea how to correct it.
    Does anyone have any idea?
    Thanks in advance.

    Hello,
    try this in the sub calculate:
    HS.Exp "S#Actual.A#77300.I#[ICP None]=" & cur
    For the sub allocate, I suppose that you do not have the issue because the allocate is not launch during the consolidation process. Allocate is launched separatly by a right click, and can only be done when calculation status = "OK", which means that all calculation have been done (that could not be the case if you have an error like this in sub calculate).
    Hope it helps

  • HFM 9 Business Rule Calculation missing roll up members

    Hi,
    I could use some help with this one.
    I have a business rule calculation that is simply copying a value from one account to another account with different C4 values.
    HS.Exp "A#CFAdjEBITDA.C4#CFCalc = A#AdjEBITDA" & Tops
    I have done this type of calculation dozens of times and it always works. Now, this time it does not.
    The account AdjEBITDA is a rollup of two accounts that are also rollups. The answer I get is the value of the first base level child in the first account rollup. I took the class on business rules many years ago and I seem to remember that this was a known issue. However, I of course cannot find any notes I made on the problem. I only remember us talking briefly about it and that there was an easy solution. Which of course, I cannot remember either.
    Is any one familiar with this problem or has run into it before?
    Thanks,
    James

    I have never seen HFM not pick up values from a parent member. It really should work. This requires a little debugging on your part. If you have ever used "WriteToFile" which most applications do, then you can write out the expected value to a file to get more insight as to why this is failing. Here is an example:
    nTheNumberIWant = HS.GetCell("A#AdjEBITDA" & Tops & ")"
    Call WriteToFile("This the the number I'm trying to get: " & nTheNumberIWant)
    The output of the WriteToFile subroutine should be:
    This the the number I'm trying to get: 25
    If you get a null, such as
    This the the number I'm trying to get:
    Then you have a problem with the target intersection.
    If you don't already have a WriteToFile subroutine in your rules file, you can see an example in the rules of the Comma sample application that ships with HFM.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • ERPI - cannot run extract for HFM metadata rule

    Hi,
    I'm in the process of configuring ERPI for FDM/HFM, no EPMA, version 11.1.1.3. Things are working fine until I created an HFM metadata rule and wanted to run the extract.
    I see the extract ID and I can look at the process details and see it in there, but nothing is happening: no processes in ODI Operator, no log entries for the process ID in ERPI.
    Can somebody tell me what I'm missing? Also, is there a log file with information on what's going on behind the scenes, in case the process doesn't even get to ODI?
    Thanks,
    Matt

    Simple explanation: the agent wasn't running.
    I haven't found out if there is a log file with general information, though. Does anyone know?
    Thanks,
    Matt

  • HFM Rule Error

    Hi,
    My Account dimension is as follows -
    A#B - Parent
    --A#C - Child1 (Input)
    --A#D - Child2 (Input)
    --A#E - Child3 (Input)
    --A#F - Child4 (Shared parent member)
    --A#G - Child5
    --A#H - Child6
    Child5 and Child6 hold intermediate values
    Now I'm trying to calculate the following inside a data unit loop in the sub calculate
    (pseudo code)
    opendataunit ("")
    For i =0 to NUMitems
    Checks the UDA for every account
    If UDA is XYZ then HS.EXP A#G =A#G +Data (where Data contains the value returned in the data unit)
    elseif UDA is BQY then HS.EXP A#H = A#H +Data
    endif
    HS.EXP A#B = A#F - (A#C + A#D + A#E) -A#G +A#H (problem line)
    Next
    Now my problem is that the the rule file is on the second last line. After validation, returns an error saying A#B is an invalid destination. The dataunit loop runs fine and I have tested it by commenting out the second last line and run the calc.
    Could you please give me pointers as to why i could be getting this error ? I'm new to HFM so any pointers will be appreciated.
    Thanks in Advance!!

    Hi,
    In HFM, only a base member can be the destination of a calculation expression. A parent is always the sum of its children.
    Regards,
    --Kostas                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Oracle 9i R2 in Windows XP

    I installed Oracle database as well as developer suite in my system. Everything works good in windowsXP except forms.I cannot run the forms. I came to know that Oracle Jinitiator 1.1.8.16 doesn't allow me to run forms in windows XP. But Oracle Jiniti

  • Form Error Message: Invalid relation attribute on pageSet xfa

    Hi, I've developed a form that many folks are using without any issues. However, I do have a small number of users that get the following error message when opening the form. Error Message:  Invalid relation attribute on pageSet xfa[0].template[0].fo

  • LOSING IT: "Image Loading" from a DVD is NOT!!

    I don't know what's the deal. Aren't we supposed to have our photos anywhere? That's how Aperture is being marketed right? How come I can't edit my referenced photos from a DVD? I import them fine and during the import it seems I can edit the photos.

  • Vendor clearing error

    I use F-44 to clear vendor 11053, in vendor master data of 11053, I defined trading partner C133. when I run F-44, it says consolidated companies C133 and '' are diffrent, how to solve this error ? thanks

  • Shortcuts in x term (alias)

    I've brought this up before but never really perfected it, i've spent a bit of time on it now and its very useful and quite easy to do. Firstly the shortcuts - 'alias' is similar to macro's in windows. Its using a letter, series of letters/numbers or