With the help of functions/sql in the columns of the report

Hello

New to CRM OD then faced with reports...

So the problem is:

Have a record of account and an account of 'Parent' with her (Type: account)

Now, the report should show the name of the account, the Parent Account(if any), the ID of the Parent account.

Don't know how to implement the 3rd colonel IE parent account ID. It always shows the ID of the main account itself.

Any suggestions will be greatly useful.

Thank you!!!

Perhaps this is an option to add a (hidden) field on the account that has the Id of the Parent account. You must fill in this field with a default value and a workflow, in the case where the parent gets later added or changed. This case, the parent Id account will be storen on registration account itself allowing you to report on this subject. It's a little workaround, but I think it works. Let me know if you need help on getting the right syntax.

Best regards, Tim

Tags: Oracle

Similar Questions

  • Help with the report

    Hi gurus,
    I'm having a problem with the report. When I add a new column to the existing report its showing no no no result except the filter. Is there a solution for this problem in the responses.

    Thank you

    Is that your new column is a table that is not already covered in the report. If this is the case then check the SQL generated by the report. Run this query on the database and see if you have found no results.

    If she came a new table which is not referred to the report already at the time of OBIEE will create a join with this table and maybe because of this join you don't get any results.

    Regards,
    Sandeep

  • Adding picture to excel is not saved with the report

    I'm trying to compile a report in excel using Labview, in which I have to insert an image of a certain size in a certain range of cells. Everything is good and correct picture adding to Excel in my development computer and fix to save the report. When I did an executable Labview working with Excel 2007, I noticed the picture is added to the model then I save report and close. When I open the generated report photo cells were empty and a reference to the image is instead.

    It seems to me that the report could not save the inserted picture.

    I would like to mention that the image is added to an excel template that is not any control of image, but is added using the box in excel tools.

    Is a way to set a property in excel 2007 to save the image with the report that I do not know?

    Virginia


  • How to set the size of text with the report generator

    Hello.

    I'm trying to set the size of the text with the report generator, but I find that I can't do this. Here is an example of the code that I use. Can someone tell me what I'm doing wrong please?

    Thank you, Alec

    I was generation from a word template.

    I hacked my version of the Toolbox to give me maunal indicator control "model? He had obtained his permenatly self stuck on "T". I exposed this flag outside the API, so I can control under certain weather conditions I may or may not use the model police.

    Does anyone know how to use this toolkit, or I did the right thing?

    Cheers, Alec

  • Problem with the report and the system of axis 2d

    Hi, I'm trying to write a script with tiara, who wrote a 2d axis system in the report but I'm having a lot of problems with it.

    What I'm trying to do, is make 3 or more system axis 2d in the report, each displaying a part of the data of 2 channels (x = ch0, ch1 = y).

    With only 1 graphic I get what I want, but when I try to add the 2nd or the 3rd, they show without my defined x-scale and with the offset x different from the first chart.

    I tried everything, but I could not remedy

    I added as attachments the .csv file that I use to ch0 and ch1 and 2 screen shoots "what I get" (about the problem with the script) and "what I hope to get" (done manually, is what I'm trying to get the report)

    Any help will be appreciated, thanks in advance

    Ierman

    I'll post my code here:

    Dim Xscale, Yscale
    XScale = Array (0,25,0,5,49)
    Yscale = Array(-0.2,0.2,-0.2,10,4)
     
    Call PicDelete()
    Call GraphObjNew ("2D-Axis", "2DAxis1")
    Call GRAPHObjOpen ("2DAxis1")
    D2AxisTop = 1

    D2AxisBottom = 70
    D2AxisLeft = 1
    D2AxisRight = 1
    Call GRAPHObjOpen ("2DYAxis1_1")
    D2AxisyScaleType = "manual".
    D2AXISYBEGIN = Yscale (0)
    D2AXISYEND = Yscale (1)
    D2AXISYORIGIN = Yscale (2)
    D2AXISYTICK = Yscale (3)
    D2AXISYMINITICK = Yscale (4)
    Call GRAPHObjClose ("2DYAxis1_1")
    Call GRAPHObjOpen ("2DXAxis1_1")
    D2AxisxScaleType = "manual".
    D2AXISXBEGIN = Xscale (0)
    D2AXISXEND = Xscale (1)
    D2AXISXORIGIN = Xscale (2)
    D2AXISXTICK = Xscale (3)
    D2AXISXMINITICK = Xscale (4)
    D2AxisXTxt = ""

    D2AxisXColor = 'black '.

    D2AxisXTickAuto = 1
    D2MTickLineWidth (1) = 0.1
    D2MTickLineType (1) = "solid".
    D2AxisXTickSize = 60
    D2AxisXTxtAutoCo = 0
    D2MTickColor = "red".
    Call GRAPHObjClose ("2DXAxis1_1")
    Call GraphObjNew("2D-Curve","New_Curve")

    Call GraphObjOpen ("New_Curve")

    D2CCHNX = "[1] / [1]" "

    D2CCHNY = "[1] / [2]" "

    D2CurveColor = "red".
    Call GraphObjClose ("New_Curve")
    Call GRAPHObjClose ("2DAxis1")

    Dim Xscale1, Yscale1
    Xscale1 = Array (25,50,0,5,49)
    Yscale1 = Array(-0.2,0.2,-0.2,10,4)
    Call GraphObjNew ("2D-Axis", "grafic")
    Call GRAPHObjOpen ("grafic")
    D2AxisTop = 40

    D2AxisBottom = 37
    D2AxisLeft = 1
    D2AxisRight = 1
    Call GRAPHObjOpen ("2DYAxis1_2")
    D2AxisyScaleType = "manual".
    D2AXISYBEGIN = Yscale1 (0)
    D2AXISYEND = Yscale1 (1)
    D2AXISYORIGIN = Yscale1 (2)
    D2AXISYTICK = Yscale1 (3)
    D2AXISYMINITICK = Yscale1 (4)
    D2AxisYTxt = "" ' testo asse label y
    Call GRAPHObjClose ("2DYAxis1_2")
    Call GRAPHObjOpen ("2DXAxis1_2")
    D2AxisxScaleType = "manual".
    D2AXISXBEGIN = Xscale1 (0)
    D2AXISXEND = Xscale1 (1)
    D2AXISXORIGIN = Xscale1 (2)
    D2AXISXTICK = Xscale1 (3)
    D2AXISXMINITICK = Xscale1 (4)
    D2AxisXTxt = «»

    D2AxisXColor = 'black '.

    D2AxisXTickAuto = 1
    D2MTickLineWidth (1) = 0.1
    D2MTickLineType (1) = "solid".
    D2AxisXTickSize = 60
    D2AxisXTxtAutoCo = 0
    D2MTickColor = "red".
    Call GRAPHObjClose ("2DXAxis1_2")
    Call GraphObjNew("2D-Curve","New_Curve1")

    Call GraphObjOpen ("New_Curve1")

    D2CCHNX = "[1] / [1]" "

    D2CCHNY = "[1] / [2]" "

    D2CurveColor = "red".
    Call GraphObjClose ("New_Curve1")
    Call GRAPHObjClose ("grafic")

    Hi lerman,.

    Here is an edited version of your code that works on my computer.  A problem that I know that I fixed it was that your presentation of the STATE was in the name-oriented mode but you use the variables based on the number to assign it X and Y channels.  The execution of these commands in a loop FOR makes it much easier to debug the code and to avoid any annoyance at first.

    Brad Turpin
    Tiara Product Support Engineer

    National Instruments

  • The encapsulation of text in a classic report, bleeding in the next row with the report header template fixed.

    Hi all

    APEX 4.2.5

    XE 11.2

    Report Header fixed

    (25 and 26 theme)

    I have a classic report, and I use the fixed header template.

    If I set the width of a column unless the width of the text in the column, then the data encapsulates as it should, but instead to increase the height of the cell in the row to greet him, he bleeds into the rank and writes on the following lines.

    If I change the report to the standard model, it wraps correctly and increases the size of the cell to accommodate the text.  Not sure if it is a bug, or Im definition something wrong.

    If anyone can help to give advice on how to solve this Id be grateful.

    Ive set the maximum width of the CSS report report. and set the width of the column in the column report.

    I have reproduced it on APEX...

    workspace: VRS

    user: test/test

    Application: 291

    Page: 1

    Thank you very much

    Richard

    Richard Legge wrote:

    Hi all

    APEX 4.2.5

    XE 11.2

    Report Header fixed

    (25 and 26 theme)

    I have a classic report, and I use the fixed header template.

    If I set the width of a column unless the width of the text in the column, then the data encapsulates as it should, but instead to increase the height of the cell in the row to greet him, he bleeds into the rank and writes on the following lines.

    If I change the report to the standard model, it wraps correctly and increases the size of the cell to accommodate the text.  Not sure if it is a bug, or Im definition something wrong.

    This is because of rules CSS theme on cells and rows in the report fixed header table:

    {table.uReportFixedHeaders > tbody > tr}

    display: block;

    height: 28px;

    }

    {table.uReportFixedHeaders > tbody > tr > td}

    padding: 4px 8px;

    border-top: 1px solid #DDD;

    border-bottom: none;

    line-height: 20px;

    }

    I wouldn't really classify it as a bug, more as a hypothesis that the model would be used with data that will not be returned on multiple lines in a cell.

    It is easily fixed by substituting equal to line of table and the row height of the cells in the Inline CSS page, as indicated at page 586:

    {table.uReportFixedHeaders > tbody > tr}

    height: auto! important;

    }

    {table.uReportFixedHeaders > tbody > tr > td}

    line-height: inherit! important;

    }

  • Form with the report Page

    Hi all

    Are there new version of Apex 4.2 or 5.0 already?

    Currently I have 4.0

    I created a page of type applications 'report with the formula '. I noticed that the 'create' and 'Edit' page share the same form. How to make a field (for example, PROJECT_NAME) in one be 'disabled' or 'hidden' when the form editing option?
    I want to only activate the option 'create '.


    Thank you much in advance.

    Kins

    Kins,

    You have been close to answering your own question right along but access to your workspace and making the fix will not help you to learn this valuable concept.

    You said

    I want to show the column in 'create', but not in "update".

    Now take this statement and apply it to your form. What happens in "Create" "Update" mode, versus mode? A create button usually against an apply changes button. So go back to early solution of Gus; apply a condition to the item you want to hide based on how you want this condition to be taken into account. In other words, your buttons are already conditioned; all you have to do is to apply the same State to your item.

    Jeff

  • Problem with the report as a button link

    Apex 3.2

    I had a relationship with a column of link to another page.

    The user wanted a button instead of one of the standard icons, so I change the link text to

    < button type = "button" > Clean < / button >

    If I use firefox, then this link works very well, but in IE, nothing happens when I click on the button.

    Gus

    Hello

    Perhaps this example help

    https://Apex.Oracle.com/pls/Apex/f?p=39006:35

    I created request report

    SELECT empno,
      ename,
      job,
      APEX_UTIL.PREPARE_URL('f?p=&APP_ID.:37:&APP_SESSION.::&DEBUG.::P37_EMPNO:' || empno,NULL,3) AS linkurl
    FROM emp
    

    Then I change the LINKURL Link Text column

    
    

    Link attributes

    class="hideMe508"
    

    Target URL and URL # (sharp right)

    Kind regards

    Jari

  • How to use the date with the report parameter format

    Hi all

    How to use the date format with this tag function,

    <? param@begin:P_FROM_DATE? > <? $P_FROM_DATE? >

    This date of form source of report and setting is coming as this 2012/11/01 00:00:00.

    So now I need this in MY-DD-YYYY marker. I tried like this..? param@begin:P_FROM_DATE? > <? $format - date: P_FROM_DATE; ' DD-MON-YYYY '? >

    but its giving error. Can someone pls how to convert to the format of date custom.

    Thanks and greetings
    Srikkanth.M

    Problem solved.

    REF this link

    Date Format of XML

  • Do you need to use Google Analytics or BC offers essentially the same thing with the reports?

    I don't know much about SEO and I know that you should have a type of analytical software. But from what I've seen so far, it seems that BC offers reports?

    Hello

    You can easily add Google Analytics, you can get them directly from Google APIs, to any site hosted Adobe and get rich reports features it provides. The system also provides an integrated reporting system advanced with all sites, that you can use without any additional configuration.

    HRE are some useful links that will help understand the BC system

    http://helpx.Adobe.com/business-catalyst/topics/reports.html

    http://forums.Adobe.com/docs/doc-2863

    I hope this helps.

  • How to create an anchor to the working link in an EXCEL document with the report generation tool?

    I use the last report generation toolkit and add links on the first worksheet pointing to the other worksheets in the same document.

    I use the VI "Append hypertext link anchor to report." The links are created, but do not work when you click on them.

    Question now is: how a link to a cell in a different spreadsheet should look like?

    It can't be that complicated but I tried all the variations did not work and I have found no information on this issue. So any help is appreciated!

    Thank you and best regards,

    Ingo

    Go down to NI_ReportGenerationToolkit.lvib:Excel_Insert_Link.vi on hyperlinks invoke node you need to wire the node sub-address to the location of the cell to bind to.

  • Can we add point form, form create shaped with the report Option.

    Hello

    I created the Page report form.
    Now, I want to add an article on the form as Textfield.
    is it possible, thanks to delete the page, can add us the article into shape.
    If Yes, how can I do.

    Thanks

    Yes,

    Just go to the page of the form, add a page element to the region where all elements of the online form and follow the steps. When you get to the source, set type database column and the value of the source as column name.

    Van
    Trent

  • Help with the Skillbuilders modal Plugin

    I hope that someone who has used the Skillbuilders modal plugin Page can help me. I watched the tutorial by Dan McGhan, but it is built for 4.0 and 4.1, I use so I can't use exactly the same steps to bind a button to the dialog box modal page.

    I have used page that shows a recording "header" with the name of the employee, etc. Then, I have 5 + smaller reports for addresses and items from the history. They are currently building as a form on a Table with the report, but I would like to change the modal pages. I have re-assigned the "create button" to point to a dynamic action, and I created the dynamic action to point to the page of the form. The modal dialog box opens and becomes just blocked on the icon 'Loading' - never really loading the page.

    I don't know how to solve this. Can someone help me?

    Hi blarman74,

    Please see the following:
    http://www.danielmcghan.us/2011/08/new-browser-security-attributes-in-apex.html

    Kind regards
    Dan

    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • WITH the clause can be used with an insert statement?

    Hello

    Can I use a SQL with a clause of an insert

    Something like
    create table tem (l number)
    
    insert into tem
    (l)
    (with 
      t0  as 
      (Select exp_amt as t0 from exp_main)
    select t0 from t0)
    The declaration itself works fine, but it throws the following error with insert
    Error at Command Line:8 Column:17
    Error report:
    SQL Error: ORA-32034: unsupported use of WITH clause
    32034. 00000 -  "unsupported use of WITH clause"
    *Cause:    Inproper use of WITH clause because one of the following two reasons
               1. nesting of WITH clause within WITH clause not supported yet
               2. For a set query, WITH clause can't be specified for a branch.
               3. WITH clause can't sepecified within parentheses.
    *Action:   correct query and retry
    The reason why I use this format is because we strive to produce sqls to Analytics and queries are generally formed like this. So instead of change requests in bulk, I was hoping that we were able to insert it.

    Please notify

    Thank you
    Sun

    Published by: ryansun on August 14, 2012 01:59

    >
    create table tem (general number);
    table created TEM.

    insert into tem (l)
    with t0
    as
    (Select 1 as double t0)
    Select t0 t0;

    1 inserted rows.

  • Run the report with parameters when, select the Radio button

    HelloW Guys

    I run my report with the report parameter form now, I want to when I select a radio button and then check if my only the list value = 1 then run A report if my only the list value = 2 then launch report B

    Report A and B contain the same parameter

    What can I do?

    I am writing this trigger button
    DECLARE+.
    al_button NUMBER; +
    pl_id PARAMLIST; +
    pl_id2 PARAMLIST; +
    START to+.
    IF: type = 'A' THEN+.
    IF: RepType = "1" THEN+.
    * pl_id: = Get_parameter_list ('repPara'); -create a parameter list * +.

    IF not Id_null (pl_id) THEN+.
    Destroy_parameter_list (pl_id); +
    END IF; +

    pl_id: = Create_parameter_list ('repPara'); +

    Add_parameter(pl_id,'PARAMFORM',text_parameter,'NO'); +

    * Add_parameter(pl_id,'style_from',text_parameter,:style_from); -passing style ano parameter * +.

    * Add_parameter(pl_id,'style_to',text_parameter,:style_to); -passing style not as parameter * +.

    * Add_parameter(pl_id,'date_from',text_parameter,:date_from); -passing date as parameter * +.

    * Add_parameter(pl_id,'date_to',text_parameter,:date_to); -by the way that date as parameter * +.

    * Add_parameter(pl_id,'category',text_parameter,:category); -passing as the parameter category * +.



    Run_product (rapports,'E:\inventory\Dispatch\d_style_wise_dispatch_Stitching_report.rdf ',+)
    asynchronous, runtime, the file system, pl_id, NULL); +
    ELSIF: Reptype = "2" THEN+.
    pl_id2: = Create_parameter_list ('repPara2'); +

    Add_parameter(pl_id2,'PARAMFORM',text_parameter,'NO'); +

    * Add_parameter(pl_id2,'style_from',text_parameter,:style_from); -passing style not as parameter * +.

    * Add_parameter(pl_id2,'style_to',text_parameter,:style_to); -passing style not as parameter * +.

    * Add_parameter(pl_id2,'date_from',text_parameter,:date_from); -passing date as parameter * +.

    * Add_parameter(pl_id2,'date_to',text_parameter,:date_to); -by the way that date as parameter * +.

    * Add_parameter(pl_id2,'category',text_parameter,:category); -passing as the parameter category * +.


    Run_product (rapports,'E:\inventory\Dispatch\d_style_wise_dispatch_Delivery_report.rdf ',+)
    asynchronous, runtime, the file system, pl_id, NULL); +
    END IF; +
    END IF; +
    END; +

    Need help


    Concerning


    Wasim Ismail

    Dear Shahzab,

    As the parameters except a report type are the same, you can accomplish this task by comparing the type of report just before Run_product.

    You need to re - write the code as below:

    DECLARE
    al_button NUMBER;
    pl_id PARAMLIST;

    BEGIN
    IF: type = 'A' THEN
    IF: RepType = "1" THEN
    * pl_id: = Get_parameter_list ('repPara'); -create a parameter list *.

    IF this is Id_null (pl_id) THEN
    Destroy_parameter_list (pl_id);
    END IF;

    pl_id: = Create_parameter_list ('repPara');

    Add_parameter (pl_id, 'PARAMFORM', text_parameter, 'NO');
    Add_parameter(pl_id,'style_from',text_parameter,:style_from);
    Add_parameter(pl_id,'style_to',text_parameter,:style_to);
    Add_parameter(pl_id,'date_from',text_parameter,:date_from);
    Add_parameter(pl_id,'date_to',text_parameter,:date_to);
    Add_parameter(pl_id,'category',text_parameter,:Category);

    IF: type = 'A' THEN
    IF: RepType = "1" THEN
    Run_product (rapports,'E:\inventory\Dispatch\d_style_wise_dispatch_Stitching_report.rdf ',)
    asynchronous, NULL to run, the file system, pl_id,);
    ELSIF: Reptype = '2'
    Run_product (rapports,'E:\inventory\Dispatch\d_style_wise_dispatch_Delivery_report.rdf ',)
    asynchronous, NULL to run, the file system, pl_id,);
    END IF;
    END IF;
    END;

    Concerning
    Fassi Fihri

Maybe you are looking for

  • Transfer iTunes to external hard drive

    I transferred my iTunes library on an external hard drive (Seagate).  I would like to transfer CDs to laptop so that I can do it again on one of my iPod tunes.  There is no option for ' send to ' iTunes from the external hard drive.  I tried several

  • Is it true or false

    A to the US Department of Homeland Security's CYBER security team advises people to remove the QuickTime multimedia software on Windows computers to avoid being hacked.

  • Windows 7 is not remember login username

    Hi all I'm having a strange problem with connections windows are not known. Whenever you log out or restart, the windows login page is empty and he doesn't remember the last user who has logged in. Local group policy has been disabled, if im not sure

  • Securing a Windows 8 computer with a local user account

    In the past I helped my family to protect against involuntary malware by creating two accounts on their machines. One is a standard user that they use to do all the normal things, including surfing the internet. The second is an administrator account

  • When you try to create an ACCT. I get a 403 forbidden error code

    I'll put up my new 6510-e and when I try to create an account, I get a 403 forbidden error code. I can't get far enough to get the code for my printer.