Script of FDM workbench report

Hello

FDM report, I would like the part detail is visible only if the value in field 26 is 5320.

I put the following piece of code in the script editor in the detail section.

Void OnFormat

If (rpt.sections("Detail").controls ("Field26") .dataValue is 5320)

{

RPT.sections ("retail"). Visible = True

}

End Sub

The report runs, but the excel file is completely empty, even if there are those records where the field 26 = 5320.

Did I miss something in the script above?

Hello

two points:

-your syntax is not valid VB síntax. For example you use {}

-East area 26 in you the detail Section.

Here you have an example script in the detail Section.

I hope that helps

Void OnFormat

srcAccount = RPT. Sections ("retail"). Controls ("Field8"). Text

If srcAccount = "611001" Then

RPT. Sections ("retail"). Visible = False

On the other

RPT. Sections ("retail"). Visible = True

End If

End Sub

Tags: Business Intelligence

Similar Questions

  • FDM Workbench - reports

    Hi all

    I use a standard workbench report - TB current location, by the target account. In this, I would like to indicate the total amount as a negative of the actual amount.

    For example, I have 3 accounts A1, A2, A3 and 5 records that contain the values listed

    A1 10

    A2 - 15

    A1 20

    A3 30

    A2 - 10

    So in my report, I want that it contains something like

    A1 10

    A1 20

    A1_total - 30

    A2 - 15

    A2 - 10

    A2_total + 25

    A3 30

    A3_total - 30

    By default, I get the totals as of right. Is there anyway that I can change it to highlight the opposite sign as indicated above?

    I tested and it works:

  • Scripts custom FDM HFM control (for example, perform a translate in HFM) after data FDM load via the batch Loader

    Currently, we have a Microsoft Access database + VBA Scripts that use the HFM API objects to connect to the HFM application to perform the following tasks:

    (1) delete the data according to a specific POV HFM

    (2) load some data from a text file to the request of HFM

    (3) run a Consolidation of data in HFM with 3 different POV

    (4) running a data translate in HFM with a specific POV.

    (5) when the process is complete, HFM send one connects e-mail to Hyperion administration team with newspapers.

    We want to replace this database MS Access with FDM.

    Custom script of FDM, I am able to run batch loader to load data at our request of HFM.

    However, FDM, I want to connect to our HFM application to perform a consolidation (in HFM) and also a Translate (in HFM) after that the data has been loaded by the loader of FDM data.

    The question I have is that I can't use the VB Scripts following FDM (this code works in MS Access)

    Function OpenHfmApp (sDomain As String, sUser As String, fun As String, sserveur As String, sApp As String)

    Dim customer as HsxClient

    Dim cSession as HsvSession

    Dim cServer As HsxServer

    Set customer = New HsxClient

    cClient.SetLogonInfoSSO sDomain, sUser, ' ", fun

    sApp sserveur, 'Financial management', cClient.OpenApplication, cSession cServer

    Set OpenHfmApp = cSession

    End Function

    FDM do not like the 'AS' - I should write:

    Function OpenHfmApp (sDomain, sUser, fun, sserveur, SAPP)

    Sun customer

    Dim cSession

    Dim cServer

    Set customer = New HsxClient

    cClient.SetLogonInfoSSO sDomain, sUser, ' ", fun

    sApp sserveur, 'Financial management', cClient.OpenApplication, cSession cServer

    Set OpenHfmApp = cSession

    End Function

    When I run this code of FDM, I get the following (of Financial Data Management Workbench) error message

    500 variable is undefined: 'HsxClient '.

    Online: 565

    My questions are:

    (1) is it possible to control via the Scripts VB FDM HFM realize some tasks such as claire HFM, Consolidation and HFM HFM translate?

    (2) if so, How can I reference objects in FDM HFM VB Scritp editor [custom general] (to use the HFM API via scripts VB FDM objects)?

    Thank you

    Claude

    Good to know that the 'out of the box' functionality meets your requirements. You can mark the thread as anawered now.

  • Access error of data while running the script in the script fdm workbench Editor

    Hello Experts,

    I get the error when I run the script in the script of fdqm established client.this editor is the error

    -2147467259 data access error and he navigates the error on line 30 on this script «Set rsAppend = DW.» DataAccess.farsTable (strWorkTableName).

    Please return me asap where I should charge peoplesoft data to one of my database of planning through fdm.

    Thanks in advance...

    You will need to build a script for integration that is an import Script that allows you to import data from SQL in FDM.

    When you create your import format, you will need to configure it with the file Type = Script and then assign the script of integration as an Expression. Assign your import format to the location that you use to import data.

    Then you can test it by going to the import stage and clicking the import button. FDM will run the integration script and data import by running the SQL query that you have defined.

    To the contrary, "Data Pump" import Scripts are used as import expressions in the import formats

    You can run a script to integrate the customer that this script requires input parameters that are passed only when then FDM import step is executed. If you want to see the raised error open the errorlog FDM. You will only be able to run this Workbench script when you want to debug data is being extracted, but in this case, you will need to comment code that inserts the data in the table. Don't forget that the work table is a temporary table that is created when you click on the import button and if you run Workbench this table does not exist

  • Activate the target Description FDM TB reports

    Hello

    I'm working on one of my customer specifications where we go look for the description of the account referred to the mapped account, I tried to edit the sql statement in the workbench, but met with no success. Any body met with such similar requirement and have succeeded in establishing this?., if yes then please let me know how to do with that.

    Thank you
    Rgds
    NGP

    The Tables HFM script fill SUN under Custom > General in the workbench feeds the tdimaccount table in the database application with descriptions of HFM FDM account and will allow for them to be registered in the TB reports. That should solve the problem.

  • FDM safety reports

    Hello experts,

    I was hoping that someone would be able to advise me on how to view or create a report that shows a list of users for each location of FDM. There is a standard report called 'User by user' which shows the location of each user has access to, but I tried to copy and modify this option in the workbench without success. Surprised, he is not a standard record of where already except miss me for some reason any. Any advice would be greatly appreciated!

    Thank you

    Nick

    Happy that you guessed it work. I actually did this report based on your request here and a few people here that as well.

    :-)

    Feel free to mark as correct if so inclined.

    -C

  • Security settings do not allow execution of script code in the report.xsl stylesheet

    Hello world

    I can't open a file of XML in Excel 2007 results - even if I added the stylesheet for trusted locations and deleted all the protections.

    Here's what happens:

    1. open the XML results file how I am propmpted for select the report.xsl stylesheet TestStand

    2. then gives error: Scripts in this XML document and/or references to other documents are disabled.

    3. by clicking OK gives more specific information - namely the security settings don't allow execution of code within this stylesheet script:

    But I did the following:

    -The path to the sheethas style was added to the "trusted locations".

    -ActiveX settings are completely enabled for all controls without restrictions

    -Macros settings are enabled for all macros

    -Is trust access to the VBA project object model

    -All data connections are allowed

    How can I activate the execution of script code in the style sheet for the file XML can load?

    Thank you

    Ronnie

    Ronnie-

    Directly from the Article in the Microsoft Knowledge base, please note that do the following changes "may make your computer or your network more vulnerable to attack by malicious software such as viruses." It's always a good idea to make a backup of your registry before editing. This can be done by clicking on file' export.

    In any case, as the article explains, open the registry and navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Security. The security file must contain a registry key called XSLSecurityLevel. Mine did not have this registry key and I had to create it (see screenshot below). Double-click the XSLSecurityLevel registry key, type 1 in the data value, and then click OK.

    You should now be able to view the XML from Excel 2007 report. To reset this setting, simply double-click the registry XSLSecurityLevel key, enter 0 in the given value, and then click OK.

    I hope this helps!

  • FDMEE SCRIPT - replacement FDM VB functions with the methods in the API FDMEE

    Hi all


    I'm trying to convert FDM Scripts scripts that would support FDMEE (using Jython as language) and the FDMEE API. However, when I tried it making I came across a few functions in scripts FDM for which I couldn't find replacement functions in FDMEE API.


    How a supposed to change functions VB in FDM as farsTableAppend while it is supported in the FDMEE scripts?

    I generated documentation of the API of the FIA FDMEE - APIs.jar (this jar is supposed to have all the API of FDMEE in there I guess) but I don't see alternative for functions such as farsTableAppend, fExpTRx, PstrClientType, VB, but I can see other methods in the documentation for example, getEPMOracleHome() etc... (All these functions that you can view by using eclipse as editor-in-Chief of Dev FDMEE).


    Is there another method/function in the FDMEE API should I use to replace these functions to support FDMEE?


    I have another question about the AIF file - CUSTOM.jar, what is the purpose of this pot, do we get additional methods in this file


    Please advise...


    Thanks in advance

    Sam

    Hello

    1 API map is not 1 to 1. My suggestion is to define what you want to do and then design your solution in jython (using the api or not). So what you're trying to do exactly?

    For example, you need not PstrClientType more (there is no windows client)

    2 AIF - CUSTOM.jar allows you to enter your custom java classes. then you can use it from your jython scripts.

    Regarrds

  • Customization of load a script in FDM

    Hi all

    I'm trying to change the upload script in the FDM, but does not receive the correct syntax of the calc script in VB script.

    My requirement is: I load the data with two different place in the two different version in Essbase. Being the script common load for all locations, I want to avoid clear data

    version based on location to replace what is used...

    As if Planner load data specific to the entity, the workload file should remove the data in version 1, but when any user in business (access to all entities) load the data of a business location,

    the script should remove the Corp. Version data. I'm trying to change the load script but which gives syntax error.

    strTYear = API. . StrTargetYear of POVMgr.fPeriodKey (CStr (strPer (0)))

    ' * CALC SCRIPT *.

    ' NOTE: CALC SCRIPT CAN BE MODIFIED for each CLIENT

    ' Clear the intersection of (category, period, entity).

    strClear = "difficulty (" ")" & strTCat & "" "", "" "" & strTYear & "" "", @Idescendants ("" "& strCurEnt &" ""), ""WORM 1"") ' & + "\n" * declaration of attachment for worm 1 *.

    strclear = strclear & strTPer (0) & vbcrlf * Member Block for IF condition *.

    strclear = strclear & "IF (strLoc <>" 'Corporate' "" ") THEN" & vbcrlf * IF condition to check the name of the place, if it is made up, then remove 1 worm else data do nothing so no other condition *.

    strclear = strclear & "strTPer (0) = #MISSING;" & vbcrlf * no cleardata script such that it will not operate under an if condition *.

    strclear = strclear & "ENDIF;"  & vbcrlf

    strClear = strClear & "EndFix".

    I am using logic right ahead of the Calc script but in error writing even in VB script...

    Help me get this correct script or anything else to solve the problem I am facing to...

    Kind regards

    CM

    Journeyer...

    I don't really like the words I've read from you.

    Journeyer wrote:

    Hello

    I can write hundreds of logic to make this script to delete data. But there is no problem with the calc script, it is write in VB with an IF condition.

    I tried a lot of combination to see if something might work, but it gives syntax error.

    If you really want to help, could you provide me the correct syntax can I use correct atleast my syntax above or at least make it simple for me to do this job...

    Thank you...

    You must take into account the fact that people in this community devote their time to help others.

    Help does not mean doing their job. Assistance means putting people in the right way, give advice, and try to share knowledge.

    Having said that, your logic is that a calc script will be executed for a specific location. Your problem is that you try to put the conditional statement in the statement to FIX rather than the vbscript itself

    strClear = «»

    If YOUR State of HEALTH may

    strClear = "TROUBLE."... »

    End If

    If strClear <> "" then

    Use the fcalculate function, which is in the LOAD SCRIPT

    EndIf

    This link is a lot of examples of conditional statements: VBScript conditional statements

  • Explanation of the Workbench reports

    Can someone tell me please the documentation that explains the reports generated through short Workbench? I'm looking for a description of the different reports and metrics reported in their.

    Thanks in advance.

    Jeremy

    Start here Jeremy:

    http://docs.Oracle.com/CD/E41224_01/PlatServ.614/PDF/LogServerReportGen.PDF

  • Gives the Script import FDM of oracle RDB to import - import has failed. Data not valid or empty content.

    Hi all

    I create an FDM interface to extract data from Oracle RDB and onto an essbase database. I feel that if you have to shoot the script import data of RDB, you must create an integration. So I created a script to import integration based on the example given in the FDM Document admin.

    The Script is as below:

    Function PSIP_TEST (lngCatKey, dblPerKey, strLoc, strWorkTableName)

    '------------------------------------------------------------------

    "Import oracle Hyperion FDM integration script:

    '

    ' Created By: admin

    "Creation date: 18/02/2014-18:00:33.

    '

    ' Object:

    '

    '------------------------------------------------------------------

    Dim cnSS ' ADODB. Connection

    Dim strSQL ' SQL string

    Dim rs ' Recordset

    Dim rsAppend ' tTB table add rs object

    'Initialize objects.

    Define the cnSS = CreateObject ("ADODB. Connection")

    Set rs = CreateObject ("ADODB. Recordset')

    Set rsAppend = DW. DataAccess.farsTableAppend (strWorkTableName)

    "To connect to the Oracle database

    CNSS. Open "Provider = OraOLEDB.Oracle.1; Password = PSIP_TST; Persist Security Info = True; User ID = PSIP_TST; Data Source = PSIP.

    ' Create the query string

    strSQL = "SELECT YEAR, COST_CENTRE, PROGRAMME_CODE, PROJECT_CODE, ACCOUNTS, AMOUNT FROM VW_PSIP_EBUDGET_ESTIMATES.

    «Get data»

    RS. Open strSQL, cnSS

    "Locate the data.

    If rs.bof and rs.eof then

    RES. PlngActionType = 2

    RES. PstrActionValue = "no records to load!

    Exit Function

    End If

    ' Loop through records and add table APCs to place DB

    If it is rs.bof and not rs.eof then

    While Not rs.eof

    rsAppend.AddNew

    rsAppend.Fields ("PartitionKey") = RES. PlngLocKey

    rsAppend.Fields ("CatKey") = RES. PlngCatKey

    rsAppend.Fields ("PeriodKey") = RES. PdtePerKey

    rsAppend.Fields ("DataView") = "CDA".

    rsAppend.Fields ("CalcAcctType") = 9

    rsAppend.Fields ("Account") = rs.fields ("ACCOUNTS"). Value

    rsAppend.Fields ("Entity") = rs.fields ("COST_CENTRE"). Value

    rsAppend.Fields ("UD1") = rs.fields ("COST_CENTRE"). Value

    rsAppend.Fields ("node2") = rs.fields ("PROGRAMME_CODE"). Value

    rsAppend.Fields ("UD3") = rs.fields ("PROJECT_CODE"). Value

    rsAppend.Fields ("Amount") = rs.fields ("Amount"). Value

    rsAppend.Update

    RS. MoveNext

    Loop

    End If

    "Loaded files

    RES. PlngActionType = 6

    RES. PstrActionValue = "import successfully!

    'Assign the return value.

    SQLIntegration = True

    End Function

    When I run the Script in the Script Editor, I get the following error:

    Error: An error occurred while running the script:

    -2147467259-data access error.

    Online: 19

    If I see in the error log, it is as follows:

    ERROR:

    Code... - 2147467259

    Description... ORA-00903: invalid table name

    Process... clsDataAccess.farsTableAppend

    The component... upsWDataWindowDM

    Version.......................................... 1112

    Thread........................................... 41900

    Nude of the line. 19 is as follows: Set rsAppend = DW. DataAccess.farsTableAppend (strWorkTableName) and, therefore, I thought that perhaps this is when I run the script in the Script Editor, perhaps that the value of the variable "strWorkTableName" does not get filled it is why it gives an error.

    So I ran the import stage in the Workflow, and Got the following error:

    Error: Failed to import. Data not valid or empty content.

    and there is no entry in the error log.

    I'm lost, need your help please.

    One last thing, I would like to ask is kindly please post if my connection string is correct, either:

    CNSS. Open "Provider = OraOLEDB.Oracle.1; Password = PSIP_TST; Persist Security Info = True; User ID = PSIP_TST; Data Source = PSIP.

    I read that FDM is a 32-bit product and will require a connection 32-bit oledb provider.

    FDM here is installed on a 64-bit computer and the provider that is used here in the connection string is 64-bit.


    Please help, my work here came to a fixed support. Kindly help

    That would mean that your 32-bit TNSNAMES. ORA file does not have a good connect descriptor for what you provide in the UDL file.

    Check your TNSNAMES 32bits. ORA file and make sure you have a good connect descriptor for the Oracle database.

  • Script to generate the report to PAHO are / s

    Hello

    I've been looking around for a script, but I can't seem to find what I'm looking for. I would like something that would be lifted all VM would generate a report CSV which show the use of the IOPS / s by VM and all of the clusters and data warehouses (all).

    I just want to be able to assess what VM is particularly taxing our storage arrays.

    Any help or pointers in the right direction would be appreciated.

    Thank you!

    You mean something like this?

    It collects the IOPS for the full Eve and send the result by e-mail

    $metrics = "disk.numberwrite.summation","disk.numberread.summation"$finish = Get-Date -Hour 0 -Minute 0 -Second 0$start = $finish.AddDays(-1)$report = @()
    
    $vms = Get-VM | where {$_.PowerState -eq "PoweredOn"}$stats = Get-Stat -Stat $metrics -Entity $vms -Start $start -Finish $finish$interval = $stats[0].IntervalSecs
    
    $lunTab = @{}foreach($ds in (Get-Datastore -VM $vms | where {$_.Type -eq "VMFS"})){  $ds.ExtensionData.Info.Vmfs.Extent | %{    $lunTab[$_.DiskName] = $ds.Name  }}
    
    $report = $stats | Group-Object -Property {$_.Entity.Name},Instance | %{  $readStat = $_.Group |    where{$_.MetricId -eq "disk.numberread.summation"} |    Measure-Object -Property Value -Average -Maximum  $writeStat = $_.Group |    where{$_.MetricId -eq "disk.numberwrite.summation"} |    Measure-Object -Property Value -Average -Maximum  New-Object PSObject -Property @{    VM = $_.Values[0]    Start = $start    Finish = $finish    Disk = $_.Values[1]    IOPSWriteMax = [math]::Round($writeStat.Maximum/$interval,0)    IOPSWriteAvg = [math]::Round($writeStat.Average/$interval,0)    IOPSReadMax = [math]::Round($readStat.Maximum/$interval,0)    IOPSReadAvg = [math]::Round($readStat.Average/$interval,0)    Datastore = $lunTab[$_.Values[1]]  }}
    
    Send-MailMessage -Subject "IOPS Report" -From [email protected] `  -To [email protected] -SmtpServer mail.lucd.info `  -BodyAsHtml -Body ($report | Select VM,Start,Finish,Disk,Datastore,IOPSWriteAvg,    IOPSWriteMax,IOPSReadAvg,IOPSReadMax | ConvertTo-Html | Out-String)
    
  • Script integration FDM for several locations

    Hello
    I have a slight problem with the FDM integration (integration of SQL) script.
    From what I understood and tested with one FDM-application (tablespace) I'm not able to have several scripts for integration. This because the integration script must be named SQLIntegration.uss, otherwise it will be a mistake.

    I have several locations within a FDM-application where I would use a script for integration. Because of the above mentioned name "bug", I need to include information integration all my pitches in a script. As I imagined that is not only easy to read or easy to maintain solution.

    Is there a work around for the name - bug?
    -Can I call a function within the main function? I tried without success, but perhaps you'd have a solution.


    Any input would be beneficial

    I don't know exactly how you want to go about it. But to meet the function within a matter of function, yes you can make that call. I can be simplistic, but you could do something like this:

    Function SQLIntegration(strLoc, lngCatKey, dblPerKey, strWorkTableName)
         DisplayText("Please close this window")
    End Function
    
    Function DisplayText (strText)
         DisplayText = MsgBox(strText)
    End Function
    

    All of the above code would be contained in SQLIntegration.uss

  • PowerCli script to generate the report for the VM and ESXi model

    Hello

    I'm trying to generate a report for the virtual machines to a domain controller that includes the operating system, Cluster and host of brand and model of ESXi, but for some reason any the ESXi info does not come through. Any help is greatly appreciated.

    Get-data center 'TEST ' |

    Get - vm |

    WHERE-object {$_.} PowerState - eq "Receptor"} |

    Select Name, @{N = "OS"; e = {$_.}} Extensiondata.Guest.GuestFullName}},

    @{N = "Cluster"; E={$_. VMHost.Parent}},

    @{N = 'Esxi model'; E = {Get-VMHost - VM $_.} VM | {{Select model}}

    The virtual machine has the properties of the host.  For your information "Model ESXi" use $_. VMhost.Model, $_ is the current information for pipeline for the virtual machine.  You did for the section "cluster".

  • FDM - MS Office report engine

    I need to publish the FDM report in the default view - MS Office Excel in Web on the verification step (4 fish).

    I passed in parameter report properties Workbench "Report Engine' Active to MS Office, I got an error when launching a reportt.

    There may be a few additional settings or scripts additional xml I need to make to the success of reports with parameter in Report Engine View - MS Office?

    Waiting for your answers.

    Thank you

    El

    The report engine must be on 'Active' for all reports run correctly, it cannot be changed.

    The report default publication type can be changed in the settings of the "Web".

    Choose administration > Web site settings

    The Type of post report default value default setting of PDF PASSWORD and save.

    If you want to users to change that in their settings check the "enable default report Type Override" and then user can change this in the user settings if they do not want it to be the word.

Maybe you are looking for

  • Back to PDF save via Time Machine?

    Is it possible to use Time Machine to recover a previous saved version of my PDF? I have some PDF documents in my Dropbox that I highlight on my phone or my iPad and synchronize them (saving more of). Apparently, I downloaded an older version at some

  • Dell Inspiron 15 5000.how to speed up?

    I just bought a Dell Inspiron 15 5000 series w/Intel core 13 and this is the slower machine, that I've ever had. I changed the power to High Performance settings, but it is still very slow. Any ideas on how to improve performance. I'm not adverse to

  • Administrator account on the network

    an administrator on my network can compromise my computer?

  • OTP-S1500 has no Apps

    Hello Picked up a new BDP-S1500 3 days there, there is no Netflix or anything - I guess because it is said ' commissioning server connection status: failed "in system information. Is it me or Sony? I have power drove all my equipment, updated the fir

  • Canon CanoScan 9900F flatbed USB Scanner to connect

    OT: Canon CanoScan 9900F flatbed USB ScannerYou are looking for an application that someone may have created for this device and Windows 7 connect.