Rules HFM - call WriteToFile

Hello

I use the Hyperion HFM 11.1.1.3 application. I want to see the stages of execution of HFM business rules and included "Call WriteToFile("")" script to save the details.

But I'm not able to find the log file. Please could you help me figure out where this 'call' function WriteToFile write results.

Thank you

Michel K

Hello...

This depends on the version 'writing on a file' you use.

Usually, there is a 'Set f = fso (GetFile (filename)'

Kind regards

Thanos

Tags: Business Intelligence

Similar Questions

  • Rules HFM - function CustomTop

    Hello

    Can someone please help me understand the following block of code? My understanding of this block of code is that aList is equal to base all members dimenision account. For each of the selected members of the account, browse aList identified to add the specified in a list of members, where the end of aUD amount is 'END'. If I'm wrong, someone can correct me? Can you please also explain how the CustomTop function is under development as a rule below?

    HS = aList. Account.List ("", "[Basic]")

    For each aItem in aList

    HS = aUD. Account.CustomTop (aItem, "Test")

    If right (aUD, 3) = "END" Then

    HS. AddMemberToList aItem

    End If

    Next

    Thank you

    Hello

    In short:

    1. Loops through the core accounts (list is called aList and individual account treated aItem)
    2. Registers the Member CustomTop of a (aItem) account for the size of Test in the variable aUD
    3. If the CustomTop for the size of Test ends with the END letters, adds the account to the list of members.

    The CustomTop is a property of account in the metadata that retrieves the CustomTop function.

    See you soon

  • error in rule hfm

    Hi all

    When you try to load this rule, get the error as expected end of statement

    VOID CALCULATE)

    WITH HS

    DIM VDATA, VCUSTOMS

    VCUSTOMS ='. I HAVE #[ICP NO]. # C1 [NO]. C2 #[NO]. C3 #[NO]. C4 #[NO]. "C5 #[NO].

    VDATA =. GETCELLNODATA ('A SALE of #EXT' & VCUSTOMS, ISEMPTY) * 1.1

    OTHERWISE ISEMPTY THEN

    . EXP 'A SALE of #EXT' & '=' VCUSTOMS & VDATA

    end if

    HS END

    END SUB

    Please let me know what could be the problem in this rule... help plz

    Thanks in advance

    Hello

    Change this line:

    . EXP "A #EXT SALES" & VCUSTOMS & "=" & VDATA instead of. EXP 'A SALE OF #EXT' & '=' VCUSTOMS & VDATA

    Kind regards

    S

  • Write in HFM rules file

    Hello

    I try to use the subroutine "writetofile("")" to see what made the systΦme for the translation.

    I was asked by Oracle support to place only the subroutine before and after the translation rule as follows:

    Void calculate)

    Call WriteToFile ("translation:" & Hs.scenario.Member & "" & Hs.year.Member & "" & Hs.entity.Member)

    EndSub

    Void WriteToFile (txtStringToWrite)

    On Error Resume Next

    Const ForReading = 1, ForWriting = 2, ForAppending = 8

    Dim fso, f

    Set fso = CreateObject ("Scripting.FileSystemObject")

    The value of f = fso. OpenTextFile ("C:\RuleTestDIR\RulesLog.txt", ForAppending, True)

    f.WriteLine txtStringToWrite & "" & Now()

    f.Close

    On Error GoTo 0

    End Sub

    Void / Translate()

    HS. TRANS "a #22208000", "was #22208000," "#AVR," "

    HS.transperiodic 'A #22209000', 'A #PL', 'A #EOP', "#AVR".

    EndSub

    Void WriteToFile (txtStringToWrite)

    On Error Resume Next

    Const ForReading = 1, ForWriting = 2, ForAppending = 8

    Dim fso, f

    Set fso = CreateObject ("Scripting.FileSystemObject")

    The value of f = fso. OpenTextFile ("C:\RuleTestDIR\RulesLog.txt", ForAppending, True)

    f.WriteLine txtStringToWrite & "" & Now()

    f.Close

    On Error GoTo 0

    End Sub

    BUT I do not know what I enter in the parenthesis (in red) call WriteToFile (' translation: "& Hs.scenario.Member &" "& Hs.year.Member &" "& Hs.entity.Member) in order to see prices uses the system and the real result of the translation.

    Please help.

    Thank you

    Laila

    Hello. You will need to add additional lines to write the rate and amount. For the rate, search for the function GetRate. For quantity, look for GetCell, but the WriteToFile with the GetCell info must be run from the subroutine for calculating after translation (Value.IsTransCur).

    Eric

  • 933 HFM, vb script %0 execution error (for the rules file)

    I have a HFM rules file that is error-free, but sometimes, when I run a codification through SmartView, it is abandoned and the error is "Error running VB Script 0%".
    Anyone know why this happens?
    Thanks in advance.

    The error message you shared maybe not something to do with the rules HFM. There are a number of things that can generate a VBScript error: HFM rules, customized lists of HFM member or problems problems/configuration of permissions with IIS. Smart View uses IIS, then maybe this is a configuration problem. If you disconnect and then reconnect again, perform the same activity successfully, it could mean you have load balancing problem, or other network error. If it's a problem of permission on the server, it will affect all users in the same way. A list of members HFM problem would prove any time the list of members is called: whether through HFM forms, grids, smart view or reports.

    -Chris

  • How to store/Pull date in HFM using rules

    Hi all

    Could you please suggest how to store/pull date into account server using rules HFM? I thought using the VB/excel function now() but not got the correct results.

    It would be really appreciated if you can help me with this.

    Kind regards

    Yes, I was able to get the day of the month using the day and now work (Day (Now ()). Initially I was using only NOW() but day and now all help.

    Thank you

  • 12 months - HFM leak rule (Help)!

    Help! Work on a rule HFM (Trailing 12 months).  Receive an error of invalid assignment (associated with my line 3 below).   Can someone tell me why?

    Void TTM_TOTALS()
    ACCT = "a CF0046 #
    Past11 = "(" & Acct & ".)" W #Periodic' ' I have an assignment message not valid error on this line?  Why?
    For PastMonth = 1 to 11
    "Past11 = Past11 & '+' & Acct &. P #CUR-"" & PastMonth & "." W #Periodic ".
    Next ' last month
    (Past11 = Past11 &») ".
    HS. Exp ' a CF0046_TTM # = W #Periodic. "& Past11
    End Sub

    Function Past11 (Acct)
    Past11 = "(" & Acct & ".)" W #Periodic ".
    For PastMonth = 1 to 11
    "Past11 = Past11 & '+' & Acct &. P #CUR-"" & PastMonth & "." W #Periodic ".
    Next ' PastMonth
    (Past11 = Past11 &») ".
    End Function

    Something along the lines of

    sSrcAccount = "CF0046".
    sAccount = "CF0046_TTM".
    HS. Exp 'W #YTD. "A #" & sAccount & "=" + W #YTD. "A #" & sSrc_Account & "+ W #YTD. "A #" & sSrc_Account & ".". "P #Last.Y #Prior" & "w #YTD. "A #" & sSrc_Account & ".". P #cur. "Y #Prior".

    Concerning

    JOINT TASK FORCE

  • How HFM process records

    On a learning curve, I'm playing with the consolidation rules and debugging.

    In order to understand the functioning of HFM, I added the following rule of consolidation, with the appropriate WriteToFile sub().

    Void Consolidate()

    Dim MyDataUnit

    Dim lNumItems

    Set MyDataUnit = HS. OpenDataUnit("")

    lNumItems = MyDataUnit.GetNumItems

    for i = 0 to lNumItems-1

    Call MyDataUnit.GetItem (i, strAccount, strICP, strCustom1, strCustom2, strCustom3, strCustom4, dData)

    Call WriteToFile ("Line 1;" & lNumItems & ";" & i & ";" & strAccount & ";" & strICP & ";" & strCustom1 & ";" & strCustom2 & ";" & strCustom3 & ";" & strCustom4 & ";" & dData)

    next

    EndSub

    After running a consolidation my result file looks like this

    Line 1; 258; 1; Sales; [ICP no]; P3000_Phones; Comma_Phone_Stores; Retail_Direct; [None]; 15887.488716; 08/08/2013-13:36:40

    Line 1; 258; 2; Sales; [ICP no]; Comma_PDAs; Electronic_City; National_Accts; [None]; 19239.0919236; 08/08/2013-13:36:40

    Line 1; 258; 3; Sales; [ICP no]; Comma_PDAs; Radio_Central; National_Accts; [None]; 21959.2720157; 08/08/2013-13:36:40

    Line 1; 258; 4; Sales; [ICP no]; Comma_PDAs; Western_Electronics; National_Accts; [None]; 24728.9099251; 08/08/2013-13:36:40

    Line 1; 21; 0; Wages; [ICP no]; [None]; [None]; [None]; [None]; 5997.2854618; 08/08/2013-13:36:40

    Line 1; 258; 5; Sales; [ICP no]; Comma_PDAs; Freds; National_Accts; [None]; 4955.7155768; 08/08/2013-13:36:40

    Line 1; 21; 2; Legal; [ICP no]; [None]; [None]; [None]; [None]; 237.3450281; 08/08/2013-13:36:40

    Line 1; 21; 3; Housekeeping; [ICP no]; [None]; [None]; [None]; [None]; 84.0907017; 08/08/2013-13:36:40

    Line 1; 258; 6; Sales; [ICP no]; Comma_PDAs; Power_Price; Distributor_Sales; [None]; 13046.6934218; 08/08/2013-13:36:40

    ...

    My first entity has (INumItems) 258 records, 21 second.

    I expect the system to work through each feature in a sequential order, but I see them intertwined. So my first question

    (1) is due to a parallel processing?

    the numbers I have loaded are different. For example, for the first line, I loaded the amount 15887.48871 and not 15887.488716

    (2) where is this 6 coming from?

    Thanks in advance for any idea,

    Patrick

    Yes, I could say, HFM uses a PARALLEL treatment.  It's difficult handwriting of newspapers.  I think that the treatment is shared between the entities, although I have not really dug too deep into it.  You will need to modify the writetofile routine to write a separate log for each entitiy confirm.

    As that 6 in the end, you are course that is has not been responsible for this way in the system?  In addition, it is the routine of consolidation, which means that it is to translate.  Is it possible that is the result of exchange rates?

    Go to a grid, explore the this intersection, right click and click on information of the cell.  At the bottom it will show you the data displayed, stored data and data full resolution.  The last two are probably the 6 extra.

  • Journal of Consolidations automated - rule Hs.Con

    Hi Experts,

    I try to activate automated reviews of Consolidations in my application of HFM.

    I know that there are 2 steps required to do this:

    The first is to check the application setting "ConsolidationRules = Y".

    The second is to add a Sub section to consolidate in the rules file with the code which includes HS. Con ("V #[disposal]", vPCon, "Disposal").    We only want to capture valuable member data logs [disposal], not [percentage].

    I created a rule that works to enable automated newspapers.

    However, when allowing the rules of Consolidation and using this rule, data do not consolidate any Member parent.   As soon as I remove the rule and change the "N" property, the consolidation works again.    So my metadata is fine.

    I tried this rule to call the HS. Rule of con.   I also tried including HS. OpenDataUnit("") and executed a loop to open all members before calling the function.   Again, which seemed to work since magazines get generated, but my problem was that data would no longer build/aggregate up to the parent (no data in all parent entities) with this rule in place entity.

    ' Consolidate() Sub

    "If HS. Account.IsICP (vAccount) then

    "Call HS." Con ("V #[disposal]", vPCon, "élimination")

    "End If

    ' End Sub

    Does anyone have advice what to add to my rule to allow consolidation to continue working?

    Thanks in advance!

    Mark Smith

    Hello. See the examples of applications for the standard consolidation rules. If you use consolidation rules, you say HFM how to put data into [percentage] and [disposal]. When you are on the side of the elimination, then use the field of nature on the HS. Con the function (as you do). You can also use it on [percentage] If you have any partial property Calc, ops of disk, etc.

    Eric

  • Please - need help changing the rules to exclude certain hosts/guests

    I need to find a way to exclude certain hosts and invited only a few rules, and I can't seem to understand.  Here is my example.

    I have a guest who I want to disable monitoring of the 'Memory of Virtual Machine of VMW Swapping' State.  The guest I want to exclude the rule is called "ucapmil1 (QAUCL).

    So I in the field field of application of this particular rule rule:

    "VMWVirtualMachineMemory where virtualMachine.name does not correspond to ' ucapmil1 (QAUCL)"

    I also tried

    VMWVirtualMachineMemory where monitoredHost.name! = 'ucapmil1 (QAUCL).

    Neither seems to make a difference.  Can someone point me in the right direction?  Thanks in advance.

    Try using esxServer.name

  • Error DBWalker with rule ERROR greeting

    DBWalker gives me an error with the greeting on the run rule error call goes to the incorrect object id. But on the greeting call handler, the rule of the error is not visible in SA. How I have difficulty to this rule and clear the error without clear and rebuild the call handler?

    Also, how do call handlers lose their owners? I got the Manager to call for a main number lose its owner over the weekend and calls were getting failsafe message this morning until that this problem has been fixed.

    Unity 4.03 SR1

    You can activate the greetings of error being visible in the surveillance society using the configuration tool advanced in the warehouse of tools on your desktop. The parameter desired is "Administration - expose the greeting of error for subscribers on the SA.

    Usually a handler will be 'lost' its owner when this user or this dL is removed from the system. Unity 4.0 (4) does not send callers to failsafe if the owner is absent, by the way – it will always be so if the recipient is not found, because we do not want to get into a situation where we take a message, we can not deliver.

    Also, 4.0 (4) has links to deletion in there - which means that you can configure a user/DL to act as replacement when you delete a user/DL of the system which was referenced as owner or beneficiary for a Manager - it makes it a little harder to get into this kind of situation.

  • Change default handler calls for unity

    In 4.0.4 SR1 unit, how to change the default call handler, under the heading "Call Routing"? The default call manager section is grayed out and there is no way to change opening greeting, another manager of appeal.

    The predefined rules are gray because they are not intended to be changed. They are rules "rescue" which must be in place and valid at all times, otherwise it is possible that calls will not be managed properly.

    You can override default emergency rule basically call manager by simply adding a new rule above him, with the same criteria as the Default rule call Handler, but different ' send the call to the "destination. However, be sure tp change the order of the rule such that your new rule is just above the default rule call manager, but under the rule of Sign-In attempt. If it is above the rule of attempt to Sign-In, then the subscriber access simple message will not work. Whenever you make changes to the range tables you want to run tests to ensure that they wanted affect on different types of incoming calls.

    For more information on routing rules, see here:

    http://www.Cisco.com/en/us/products/SW/voicesw/ps2237/products_administration_guide_chapter09186a008022cb4e.html

  • VCS - CPL to block call routing to and from the same area of neighbor

    Hi all

    Is there a CPL rule that can be written to block calls from a neighbouring area to the same area of neighbor?

    We have problems with CUCM sent appeals to the our VCS VCS then routes the call return CUCM, causing thus "too many jumps."

    In the example

    MOVI user control VCS try to compose endpoint registered RTC CUCM, but incorrectly dials

    Appeal does not have to search for the terms of local area

    Call does not match search for VCS Expressway rules

    Call corresponds to captures all of CUCM (. *) @domain.com

    CUCM does not form DN or URI for the wrong phone number and the call is routed to the VCS control due to the SIP routing model of *. * on CUCM

    We have to capture all CUCM at the end, since we offer PSTN, as well as our users and phones have the alphanumeric URIs assigned to the DNs for Jabber, etc.

    I fear that he is not really an easy way to do it, I know because the call charged CPL first, CPL don't know what area it was intended for.

    It's probably more easily accomomplished with a slight modification to your rules of research rather than spraying anthing "@domaine" everywhere - something like:

    Anything incoming directly at @domaine in the nearby area of the local area (as is inside your organization, such as if the CUCM not found and sent it to the VCS he won't be on the CUCM, so must be local (or nonexistent) - and stop.

    And the opposite of the above - route whatever it is for @domaine of the localZone.GetDaylightChanges (because it was not found locally) to stop and the CUCM neighbour-

    And do similar for what is coming from other areas outside to route to wheverver that will be endpoints.  In this way, your call should not be bouncing back between the CUCM and VCS and create the loop that you are currently experiencing.

    Of course, if your environmetn is a little more complex than the simple CUCM and VCSes, this can be a bit oversimiplified, but could lead you in the right direction.

    Another thing to consider too - if you put in your endpoints in a directory, users can use - that will help you to prevent wrong type stuff :)

    Wayne
    --
    Remember the frequency responses and mark your question as answered as appropriate.

  • CPL in VCS - E rules

    Hello!

    I tried to help a customer implement some CPL rules to allow some users to accounts jabber.com to call and reject others.  I use the rules of Configuration call political policy rule to call add, and call POLICYMODE is set to Local CPL.  I think the rules are quite simple, but the VCS is by allowing calls get through.  At some point, I just had the following rule;

    Schema of the source - (. *) @jabber.com model of Destination. * Action - Reject

    My account jabber.com calls were always connect.  I made a mistake with regular expressions?  Is there a problem with the implementation of CPL on the VCS?  Here are the features concerned;

    VCS-E X8.2.2 running

    Jabber for Telepresence 4.8.8 downloaded from the free site of Jabber.  Recorded at https://boot.ciscojabbervideo.com/endpoint/configuration

    Thank you!

    Hello Bob.

    If I understand the exact problem, you're using the web interface in the VCS and CPL not creating a CPL script yourself?  If so, the web interface only really works authenticated sources, not external non-authenticated sources, such as Jabber.com.  You must create a custom script of CPL to accomplish this, the web interface uses 'origin' where she must use "non-authenticated-source", because originally is intended for authenticated sources.

    Attached is a CPL script according to your example, I threw as well, it will work with VCS X 8 or higher.  If you are running VCS X7.x, that the language in the script must be changed.

  • Calling by Documaker Web services

    Hi all

    Could someone help me get an accomplished in Documaker (for information archiving and retrieval) Web service call?

    Is this possible via script DAL? I need to send an XML to an external application, which is already home to a webservice.

    Indications will be useful.

    Thank you.

    Documaker 11.5 does not provide a mechanism to directly call a web service to submit XML indexing information. There is integration with a solutiono of UCM or Oracle WebCenter Content Manager content management via the Documaker connector that could perhaps be extended to write in another destination as a method to get the PDF file for the repository or it may be possible to write a custom rule to call a Web service as a post process but there is no direct option to do within Documaker 11.5.

Maybe you are looking for

  • Pavilion g7 1077: lack of OS - laptop HP Pavilion g7 1077

    I was resetting my laptop last night and he is walking this morning to discover an error message saying that it found no bone. I ran the boot menu and have been running tests of diagnosis throughout the day without success. I'm not sure how this can

  • "the last in line" bubble on contact name no longer works

    Until the most recent update of Skype, if you hovered over a name in your contact list, alt-text would be displayed showing when this contact had been amended online. This feature now seems, were abducted. Anyone experienced or knows the reason why t

  • Satellite L855, disk Blu - ray "error Code-19".

    Hello world I have a Toshiba Satellite L855 - 14 p PSKFWE-00U00MTE with Windows 8.1 6.3.966.After updating my Windows OS 8.1 the blu - ray disc drive has stopped working (error Code-19). All windows and Toshiba Service Station 6.4.4 are up-to-date (e

  • Octagon

    Hey,. I always use Ultiboard 11.0, does anyone know how to change the clearance of the Octagon to round? Thank you! Qi

  • Binding controls reference

    Hello I would like to know if there is a possibility to bind controls of the same type of reference data, so that they contain the same data. This means that when you write to a property "Value" of the reference it automatically updates bound control