How to bind a query of opportunity registration Service

I'm looking to link an opportunity record to a Service request form. It seems no outside the link between these two objects.

It seems that the only way to proceed is to use a custom as the junction table object and manually create the join folder - select an existing opportunity and demand for service in the new record of join, and then save. It is a heavy treatment...

The only other way I can think to do is to add a field to the form of Service request for the holding of the ID of the opp. Then, I would need to use a web link to the presentation of the opportunity to create a new record of Service request and fill in the oppID field. He has problems in that the relationship is visible to the demand for services. It is also very difficult to update once the record of SR was created...

Any thoughts on the best way to do it?

I think you answered your own question. There is no way to do it. I suggest that you use a custom object to create this join.

Tags: Oracle

Similar Questions

  • How to call a query of the support bean?

    Hi all

    Another question for you guys:

    I did a page jspx with an entry form and a "submit" button.
    When I click the button submit, the action in my grain of support my_action is executed.
    This is the code:


    public BindingContainer {} getBindings()
    Return BindingContext.getCurrent () .getCurrentBindingsEntry ();
    }

    public String my_action() {}
    BindingContainer links = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("EmployeesView");
    Object result = operationBinding.execute ();
    If (! operationBinding.getErrors () .isEmpty ()) {}
    Returns a null value.
    }
    }

    I was hoping that the "EmployeesView" query has been run in this way, but I get the following exception:

    java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding cannot be cast to oracle.binding.OperationBinding


    So how should I run query EmployeesView?


    Second part of the question: what happens if I typed the name of the employee in my form, and I want to
    run a query that selects all employees with the same name?
    How to make a query with a variable as input in the WHERE clause?

    Thanks in advance.

    Published by: Facehugger on 7-apr-2010 11:15

    In this case use example 9-13, access to the Interface of Client Application Module in a JSF Backing Bean using a link of Action named:
    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/bcservices.htm#sthref918

    So rather than get an operation binding - get you the pointer to the AM across the link - line 4.
    Then on the AM you can call the service method, or instead, use the findViewObject method to locate your specific VO, change and then run the query on the matter. Then, wrap everything in the VO.hasNext () and use the following method on your VO for the data lines.
    And then you are iterating over the lines of the VO and add them to any list/collection you pass to the BPEL.

    This video could help in terms of interaction with a VO and get the lines:
    http://www.YouTube.com/watch?v=bgawJD4yPeY&feature=youtube_gdata

  • How to use Quicktime Player 7 Pro registration for second computer? View order history goes back only 18 months. When I enter my key QT7 he just told me to buy again.

    How to use Quicktime Player 7 Pro registration for second computer? View order history goes back only 18 months. When I enter my key QT7 he just told me to buy again.

    You need a separate license for each Mac.

  • How to bind a subvi (worksheet) with another VI

    Hello

    I want to know how to bind the data in the spreadsheet with the block diagram of the VI one another? IE I want to use 3 data collected in the worksheet block diagram has changed into a Subvi and this Subvi should be linked to another diagram of block that accepts these 3 entries to give a warning.

    Please help me how to link these two...:...

    Sorry, but I'm confused by most of your statements. There is a worksheet in Excel and a LabVIEW block diagram, but there is no such thing as a 'worksheet block diagram.

  • How to execute the query

    I want to execute a specific request, but I have no idea about this please someone help me how to a specific query, run?

    Try this.

    Yes you can write this in next item key of you text element.

    Go_Block ('Your_Block_Name');

    Set_Block_Property ('Your_Block_Name', DEFAULT_WHERE, 'STUDENT_ID =' |: STUDENT_ID);

    Execute_Query (No_Validate);

  • How we force a query to use transparently a hint, even if the index is not given in the query as a query rewriting.

    How we force a query to use transparently a hint, even if the index is not given in the query as a query rewriting.

    For example:

    If the user runs a query select deptno, avg (sal) from emp group by deptno;

    We want the optimizer to use a hint of result_cache with this request, and it should be transparent to the user.

    Query should be rewritten to seamlessly

    Select / * + result_cache * / deptno, avg (sal)

    WCP

    Group of deptno;

    How can this feature we make? Please advice.

    I checked the possibility of SPM and contours, but it is not clear if this rewrite is possible here.

    Thank you and best regards,

    Vikas Krishna

    Surely dbms_advanced_rewrite is designed for this situation?

  • How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    I have a table whose columns with values such as

    MINNEAŸPOLIS and ¿VV ¿A

    Only the characters that are allowed in this column are alphabets, numbers, spaces, points and supports.

    Please help to write a SQL SELECT with Regexp_like query or any other option.

    Thanks to you all! Under query worked for me. Thank you Frank to explain the concept of hooks inside regexp_like.

    SELECT * FROM testspecial, WHERE REGEXP_LIKE (sampletext, "[^] ^ A - Z ^ a - z ^ 0-9 ^ [^.]") ^ {^} ^]') ;

  • ADF: How to print the query and the query passed into the class executeQueryForCollection methof impl VO parameters.

    Hello

    Kindly let me know how to print the query, and the parameters passed to it? I tried with the params parameter in super.executeQueryForCollection (qc, params, noUserParams); but could not succeed.

    I need save the query and the parameters passed to it. Kindly help.

    Thanks in advance,

    Kalpana.

    Here you go

    Coding with Passion: Oracle ADF - Debug Mode object query with parameters

  • How to frame the query?

    Uses oracle ebs r12

    I have a table of data is

    Operation_seq Type statusflag SeqNum
    1 10A Y
    2 20 b Y
    3 30 c Y
    4 40 D Y
    5 50 e N
    6 60 f Y

    I want to write a query in which I want to take only 1 record operation_seq = 50 and Statusflag is N and all other interventions seq status is there.

    My query must return only 50 operation when the status of 50 is N and any other status is Y.

    Help, please.

    Thank you
    Lavan

    LAVANKV wrote:
    This statusflag can be (null or N), then how to frame the query.

    Simply wrap the statusflag with NVL column, you should be good.

    SQL> with t
      2  as
      3  (
      4  select 1 seqnum, 10 operation_seq, 'a' type, 'Y' statusflag from dual union all
      5  select 2 seqnum, 20 operation_seq, 'b' type, 'Y' statusflag from dual union all
      6  select 3 seqnum, 30 operation_seq, 'c' type, 'Y' statusflag from dual union all
      7  select 4 seqnum, 40 operation_seq, 'd' type, 'Y' statusflag from dual union all
      8  select 5 seqnum, 50 operation_seq, 'e' type, '' statusflag from dual union all
      9  select 6 seqnum, 60 operation_seq, 'f' type, 'Y' statusflag from dual
     10  )
     11  select seqnum, operation_seq, type, statusflag
     12    from (
     13            select t.*, count(decode(statusflag, 'Y', 1, null)) over() cnt_1, count(*) over() cnt_2
     14              from t
     15         )
     16   where operation_seq = 50
     17     and nvl(statusflag, 'N') = 'N'
     18     and cnt_2-cnt_1 = 1
     19  /
    
        SEQNUM OPERATION_SEQ T S
    ---------- ------------- - -
             5            50 e
    
  • How to write the query option in expdp

    Hi Please someone help me how to write the query option in expdp... .in expdp using the query option...

    where AM columnname between 5 May 12 02:57:00.000' and ' 02:59:59.999 6 May 12: ';


    Please do what is necessary...

    Pavan Kumar says:
    QUERY = (columnname scott.test: "where between 5 May 12 02:57:00.000 h ' and ' 6 May 12 AM 02:59:59.999'")

    Who will fail in databases, because you assume nls_date_format. How it is difficult to put to_date() surround channels? Rather than play with quotation marks, using one parfile thusly.

    query=table_owner.table_1:"where business_date between to_date('20120505025700 am','yyyymmddhhmiss am') and to_date('20120505025959 am','yyyymmddhhmiss am')"
    query=table_owner.table_2:"where business_date between to_date('20120505025700 am','yyyymmddhhmiss am') and to_date('20120505025959 am','yyyymmddhhmiss am')"
    query=table_owner.table_3:"where business_date between to_date('20120505025700 am','yyyymmddhhmiss am') and to_date('20120505025959 am','yyyymmddhhmiss am')"
    

    You do not have to have all the clauses in a single line, as they are side by side parfile, which would be enough. For this reason parfile is better than the command line in order to avoid all the back-citing dance.

  • How to end a query running for a report?

    Hello
    When I run a report, the SQL query takes too long.
    This causes an overload on the database.
    How to stop the query execution after a while?

    It is NOT possible in OBIEE 10 g.
    In OBIEE 11 g, when a scheduled report task is working you can now cancel the currently running task since the report job history page.
    This section 6.9, ['Cancellation of a work in progress.' | http://docs.oracle.com/cd/E23943_01/bi.1111/e22257/view_manage_rpt_his.htm#cancel_runj]
    And only possible since 11.1.1.5

    concerning
    Jorge
    p.s if this answers your question, then please mark my answer 'Proper' or 'useful '.

  • How to bind selectBooleanCheckbox in DB table

    I have selectBooleanCheckbox in table ADF that comes with the base data type of the column NUMBERtable.

    The JSF Page Code:
    <af:selectBooleanCheckbox value="#{row.bindings.PercentFlag.inputValue}"
                             label="#{row.bindings.PercentFlag.label}"
                             id="it7">                                        
    </af:selectBooleanCheckbox>
    Pagedef file code:
     <button IterBinding="MeasureConditionalFormatVOIterator" id="PercentFlag"
                DTSupportsMRU="false" StaticList="true">
          <AttrNames>
            <Item Value="PercentFlag"/>
          </AttrNames>
          <ValueList>
            <Item Value="1"/>
            <Item Value="0"/>
          </ValueList>
        </button>
    When I try to save this value in the database it throws the error:
    Error: PercentFlag: 'false' must be a signed decimal number.

    Could someone let me know how to bind the value 1/0 with db table.

    Thank you...

    Published by: broke on 9 February 2012 06:10

    The entity attribute 'PercentFlag', just change the type BigDecimal (or whatever it is at the moment) to Boolean. JDeveloper will automatically change the column type of database in BITS, which allows that the values 0 (false) and 1 (true).
    From there, once you drag the PercentFlag (or the entire table) in the data source to a page, JDeveloper will automatically add the column as a SelectBooleanCheckBox.
    I also recommend to set the default value for the attribute of the entity to 0 or 1. If the value is null and that the record is loaded on a page and validated, the record is marked as dirty since the SelectBooleanCheckBox knows only 2 values, true (1) or false (0).

  • No idea how to write this query

    Hi, My Data is as below

    DocNum doc_date type of amount
    1154 15 November 11 232501.5 invoice
    200206 4 November 11 - 243672.64 credit memo
    Note flow 111 5 November 555.22 11

    Output must be

    DocNum doc_date amount Type AmountDR AmountCR
    1154 232501.5 15 November 11 Bill 232501.5
    Note credit 200206 4 November 11 - 243672.64 - 243672.64
    Note flow 111 5 November 555.22 11 555.22

    If the amount is > 0, then it must be displayed in the value of the amount to be AmountDR
    If amount < 0 then it must be displayed in the value of the sum amount CR



    Can help how to write this query
    with sample_table as (
                          select 1154 Docnum,date '2011-11-15' doc_date,232501.5 Amount,'Invoice' type from dual union all
                          select 200206,date '2011-11-04',-243672.64,'Credit Memo' from dual union all
                          select 111,date '2011-11-05',555.22,'Debit Memo' from dual
                         )
    select  Docnum,
            doc_date,
            Amount,
            type,
            case
              when Amount >= 0 then Amount
            end AmountDR,
            case
              when Amount < 0 then Amount
            end AmountCR
      from  sample_table
    /
    
        DOCNUM DOC_DATE      AMOUNT TYPE          AMOUNTDR   AMOUNTCR
    ---------- --------- ---------- ----------- ---------- ----------
          1154 15-NOV-11   232501.5 Invoice       232501.5
        200206 04-NOV-11 -243672.64 Credit Memo            -243672.64
           111 05-NOV-11     555.22 Debit Memo      555.22
    
    SQL> 
    

    SY.

  • How to optimize the query with a join of virtual tables

    I'm working on a query that is get the data of virtual tables 2 and b
    one is formed by the Union, all say 4 queries and b is formed by the Union, all say 3 queries
    then these two virtual tables and b are joined on a column common and data are extracted from their part.
    Problem is that there is about 1 minutes each in the two virtual tables has and b. If individual a and b queries virtual takes about 5 seconds to retrieve data
    but the join on column takes about 25 seconds to retrieve data.
    Can someone guide me how to optimize the recovery of joining 2 virtual tables having large data

    Thank you

    Please read these:

    When your query takes too long
    When your query takes too long...

    How to post a SQL tuning request
    HOW to: Validate a query of SQL statement tuning - model showing

  • How to write a query for the data exchange between two columns?

    How to write a query for the data exchange between two columns?

    I tried a request, does NOT work.
    update tmp t1 set t1.m1=t1.m2 and t1.m2=(select t2.m1 from tmp t2 where t2.student_id = t1.student_id)
    Thank you.

    Published by: user533361 on October 23, 2009 14:04

    Just plain and simple:

    update tmp t1
     set t1.m1=t1.m2,
         t1.m2=t1.m1
    /
    

    SY.

Maybe you are looking for