Several Conclusion based on input values

Hello

I think I have a request similar to this one: https://forums.oracle.com/message/9208952#9208952

Basically, I have a requirement to return a list of the required documents, that someone has to download based on their application. The plan is to call the server of determinations through the web service interface to get a list of Documents (these would be URLs) required based on certain fields. I'm not sure how to read the rules and web service call that I would get a list of documents back. I want to finish in Excel and would like the URL as the conclusion with the attributes as input fields.

for example, to write rules like:

the value of field1 the value of Field2 document requiring the download
XTHEREhttp://mysite.com/mydocument1.PDF
XZ
XTHEREhttp://mysite.com/mydocument2.PDF

and when I invoke the determinations of service with the values X and Y, the answer would be something like:

< typ:attribute id = "document_to_upload" type = "string" deducted = "true" >

< typ:boolean - val >http://mysite.com/mydocument1.pdf< / typ:boolean - val >

< / typ:attribute >

< typ:attribute id = "document_to_upload" type = "string" deducted = "true" >

< typ:boolean - val >http://mysite.com/mydocument2.pdf< / typ:boolean - val >

< / typ:attribute >

CAN I love above and how do I structure the rules and webservice calls for a list of the documents back? Or what I have to write a table of rules for each type of document and request a result/finding for each other get the URL as the conclusion? Is one of the examples of projects that comes with the cover of the installation (or close) a scenario like this?

Thank you

Ross

I'll start with the standard disclaimers that I do not work for Oracle, and simply writing the rules that are not legible and not based on politics can lead to less than optimal rulesets.  My response is limited to the issue.

This is one of the several answers to your question as suggested by the above answer.  See the help topic OPM "writing rules that infer relationships and entities".

Assuming that 'the documents requiring an upload' relationship text entity to the child such as "documents", then you can use a table of rules in Word with inferred entities, as in this example:

Download documents requiring

'http://mysite.com/mydocument1.pdf'.

both

the value of field 1 = 'X' and

the value of field 2 = 'Y '.

or

both

the value of field 1 = 'X' and

the value of field 2 = "Z".

'http://mysite.com/mydocument2.pdf'.

the value of field 1 = 'X' and

the value of field 2 = 'Y '.

Tags: Oracle Applications

Similar Questions

  • Dynamically create checkboxes based on a value in a table

    Hi friends,

    I am looking for crerating several checkboxes based on a value in the table. For example if I'm clicking on a name of 'material' in a report, I need to show all interfaces for equipment like the checkboxes in another page. There is a table that contains interfaces corresponding to a particular equipment. The box should be checked if this particular interface is "put into service". This info is present in the table "provisioing. How can I achieve this. Help, please.


    Kind regards
    TJ

    The display order of your boxes depends on your SELECT statement, just put an ORDER BY in there, and you can do whatever you want.

    Don't forget: the LOV-statement must select all of the possibilities, with the process, you set the provisioned to checked.

    brgds,
    Peter

    -----
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Approver dynamic groups based on the user of the input values

    Hi all
    I need to create groups for approval in SOUL based on the input values by the user in a special SIT.
    For Ex: If the user eneters 'Yes' for a particular segment, I need to send a set of approvers and the user eneters 'no', so I need to send another group of approvers. Please let me know how it can be obtained by the SOUL.

    Thank you
    REDA

    Hello

    1 define an attribute in the SOUL who reads this segment of the table of transactions of SSHRC.
    2. create the conditions and rules based on this attribute to change permissions.

    Kind regards
    Laulagnet

  • Calculate the value of the field based on the value of the user input field

    Hi all

    We use a BPM 11.1.1.5.0 with feature pack. We have BPM form which has five fields all the text in the input field. The user will enter any amount in these fields. We have another field in the form that displays the sum of the field all five. This should add the input value dynamically when the user navigates out of a field.

    I'm not able to think how I can achieve this. It is valuechangelistener I need code. Should I use a java code to get the value of the entry field and make the calculation in the java code and then assign it to the output field? or is there an option/BPM feature that allows to avoid java coding.

    Thanks in advance

    Sachin Gupta

    Add this as an idea because you asked how this could be done without Java code.

    If all five digital and no other item reference fields cannot be empty or null, you can:

    (1) for each of the 5 numeric fields, expand the section "Behavior" property and set their properties Autosubmit true. As you look at each of the 5 areas, note the text in each of their property 'Id '.

    (2) for the numeric field (I'll call it the "SumValue" field), you added that you want to add the other fields, expand the "behavior" property section-> click the arrow to the right of the property 'PartialTriggers'-> in the transfer dialog box that comes up, select each of the 5 areas (those you find the ID of the first step) and their shuttle above the selected list-> click OK-> look at your PartialTriggers for the field of SumValue property - it should now display the ID 5 with spaces between them.

    (3) open each of the 5 areas and copy the text in each of their properties 'Value' (e.g. #{bindings.) Salary1.inputValue}) and paste this text for each of the 5 text fields in your text editor in a text-> if editor is

    #{bindings.Salary1.inputValue} #{bindings.Salary2.inputValue} #{bindings.Salary3.inputValue} #{bindings.Salary4.inputValue} #{bindings.Salary5.inputValue}
    

    to take

    #{bindings.Salary1.inputValue+bindings.Salary2.inputValue+bindings.Salary3.inputValue+bindings.Salary4.inputValue+bindings.Salary5.inputValue}
    

    (4) select the field 'SumValue'-> again in the property Panel, delete the text in the field 'Value'-> paste the text you created in your text editor in the 'Value' property of the field SumValue.

  • Name of the dynamic property of object in the table based on the value of a variable

    I have two paintings of custom class objects

    var obj1:Object1
    var obj2:Object2
    
    var array1:Array = [obj1[0], obj1[1], ...]
    var array2:Array = [obj2[0], obj2[1], ...]
    

    Object1 has a property named. Name while Object2 has a property named. Title.

    Now I have a common function including cab accepts an array (array1 or array2) and the name of property the object ("Name" or "Title") as input and needs to access this name of the property of the objects in the array:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0].fieldName  = "xxx";
    }
    

    the problem I have this achievement does not because the code in the function assumes that the property of that object in the table is actually a string "fieldName" while I want to dynamically determine the names of the fields based on the value of this variable, but cannot understand the syntax to do!

    Don't know if I'm clear - hope that makes sense... ;-) Thank you

    Hey p3pp3r,

    I think I understood you. Try the following and see if you get good results:

    function myFunction(arr:Array, fieldName:String)
    {
        arr[0][fieldName]  = "xxx";
    }
    

    Let me know how it turns out. Good luck!

  • change the color of line based on the value of column 5 Apex in the classic report

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Hello

    I know this question has been asked several times here, but I'm working on 5 Apex and need to know the correct way to do it in this version.

    I need to change the color of the text of the entire line (no background color) based on the value in one of the columns of the classic report. I have just two conditions, if the value of column = Yes, color should be red, otherwise it must be green.

    I am new to jscript and css, so appreciate if someone can tell me the solution with steps.

    I have already checked this link that changes the value of the column, need to do something similar to the whole line.

    https://tylermuth.WordPress.com/2007/12/01/conditional-column-formatting-in-apex/

    Hi coolmaddy007-Oracle,.

    Here's an example set up on the apex.oracle.com according to the specifications you gave: https://apex.oracle.com/pls/apex/f?p=35467:1

    Version of the apex 5.0.0.00.31

    Standard universal theme

    Page theme default template

    Classic report

    Foldable report template

    Here is how it is done:

    Create a dynamic action with the following specifications:

    Name: Give the appropriate name

    Event: After refresh

    Selection type: region

    Region: select your region classic report

    Condition: No strings attached

    Action: Run the JavaScript Code

    Fire on loading the Page: Yes

    Code:

    $('td[headers="JOB"]').each(function() {
      if ( $(this).text() === 'MANAGER' ) {
        $(this).closest('tr').find('td').css({"color":"red"});
      }
      if ( $(this).text() === 'SALESMAN' ) {
        $(this).closest('tr').find('td').css({"color":"green"});
      }
      if ( $(this).text() === 'CLERK' ) {
        $(this).closest('tr').find('td').css({"color":"blue"});
      }
    });
    

    NOTE: Download the selector appropriate for your knowledge $('td[headers="JOB"]') case using firebug/browser development tools.

    Items concerned: leave blank.

    PS: Changed the example to change the color of text instead of the background color.

    I hope this helps!

    Kind regards

    Kiran

  • Difficulty over the months in time Sun based on the value of as txt

    Hi all

    We have two text measures startmonth and endmonth, how can resolve us to the time dimension based on the values of these measures of text? Difficulty for example (Mar: dec)

    Thank you

    James

    Hi James

    I'm sorry, it looks like you may need to go on a training Essbase. As I said you can NOT SET on data which are entered.

    You must FIX on all period member using something like @RELATIVE(YearTotal,0), then in your writing sets the IF statement as well as the data is calculated only at the period, you are at (The FIX on all periods will cover all periods) lies between the values entered by the user (i.e. the start month and end month values).

    An example below is to say in the depreciation calculation.

    "SYS_MONTH" is a member who places the VALUES against each Member period so that you can compare and match against the input values IE like VLOOKUP in Excel, then Jan = 1, Feb = 2... ***

    DIFFICULTY (FY13, @RELATIVE("Product",0), @RELATIVE("YearTotal",0)) I do not know you other dimensions you are trying to calculate against so you should add them

    "Depreciation")

    IF ("Start_Month"-> "Input_period"-> "Input_Year"-> "Input_product" "Input_period"-> "Input_Year" <= "sys_month"="" and="" "end_month"-="">-> "Input_product" > = "SYS_MONTH")

    "Depreciation" = xxxxxxxxxx Code to calculate depreciation;

    ON THE OTHER

    "Depreciation" = #missing;

    ENDIF)

    ENDFIX

    Imaging you are in a worksheet with Jan, Feb, Mar in the upper part and in the left column, you have the beginning and the end of the month entries. Calculation will increase from left to right and IF his calculation period that is to say that the SYS_MONTH member is between the beginning and the end of the month (4 and 11 below) then the depreciation is calculated, if it is then #missing, or you can choose not not to calculate.

    Input_Period Jan Feb Mar Apr May Jun Jul Aug Ms Oct Nov Dec
    SYS_MONTH #missing 1 2 3 4 5 6 7 8 9 10 11 12
    Start_Month 4
    End_Month 11
    Depreciation #missing #missing #missing #missing x x x x x x x x #missing
  • How to make a presentation tabular readonly based on a value of element

    Hello world

    I'm getting there, but I need to make a tabular presentation read-only based on a value of element.

    I copied it somewhere (thank you) and changed to my needs and it works very well set the second column in my form
    read-only.
        var els = jQuery('#Entry_Form input[name="f02"]');
        /*var r = confirm("els is " + els);*/
        els = els.filter(function(index){
          return jQuery(this).val() != "";
        });
    Just need to set the selector jQuery jQuery ("td [headers = 'PRODUCT_NAME']"), cos that's my name of the column.
    you will also need to give a static id of the registration form to the form.

    I'll try to understand what this code means exactly one of these days, but now I need to do
    the entire shape in a read-only table based on a text element: P5_CONTROL.

    Grateful for any help on this matter, in the format above, if possible. Greek to me but compact and it works.

    Kind regards.

    Leckraj

    Hello
    in fact, it has no code, just a dynamic action. You may need to change the event that triggers the it.

    Event: change
    Selection type: Elements (s)
    Product (s): P1_ED
    Condition: equals
    Value: D

    Real Action 1

    Action: disable
    Fire when the Page loads: Yes
    Selection type: jQuery Selector
    jQuery Selector: entry [id ^ = 'f']

    Real Action 2

    Action: disable
    Fire when the Page loads: Yes
    Selection type: jQuery Selector
    jQuery Selector: entry [id = "check-all-rows"]

    False Action 1

    Action: activate
    Fire when the Page loads: Yes
    Selection type: jQuery Selector
    jQuery Selector: entry [id ^ = 'f']

    False Action 2

    Action: activate
    Fire when the Page loads: Yes
    Selection type: jQuery Selector
    jQuery Selector: entry [id = "check-all-rows"]

    Best regards, Garry

  • How to get the total number of occurrences based on the value of a column.

    Hi all

    It is the first time I'll ask the question here on your forum, but since then followed several threads. I guess it's now my turn to ask a question. Anyway here's the thing, I have a query that should return to count the number of rows based on the value of HOUSING. Something like this:

    -----
    WIPDATAVALUE          SLOT             N            M
    1-2                   TRALTEST43S1     1            3
    1-2                   TRALTEST43S1     2            3
    3                     TRALTEST43S1     3            3
    4-6                   TRALTEST43S2     1            4
    4-6                   TRALTEST43S2     2            4
    4-6                   TRALTEST43S2     3            4
    7                     TRALTEST43S2     4            4
    -----

    As you can see above, on the TRALTEST43S1 of the SLOT, there are three occurrences, so M (Total number of occurrences) must be three and this column N he's counting. It is the same with the TRALTEST43S2 of the SLOT. It's the query I have so far:
    SELECT DISTINCT
    WIPDATAVALUE, SLOT
    , LEVEL AS n
    , m 
    FROM
    (
      SELECT
        WIPDATAVALUE
        , SLOT
        , (dulo - una) + 1 AS m 
      FROM
      (
        SELECT 
          WIPDATAVALUE
          , SLOT
          , CASE WHEN INSTR(wipdatavalue, '-') = 0 THEN wipdatavalue ELSE SUBSTR(wipdatavalue, 1, INSTR(wipdatavalue, '-')-1) END AS una
          , CASE WHEN INSTR(wipdatavalue, '-') = 0 THEN wipdatavalue ELSE SUBSTR(wipdatavalue, INSTR(wipdatavalue, '-') + 1) END AS dulo
        FROM trprinting
        WHERE (containername = :lotID OR SLOT= :lotID) AND WIPDATAVALUE LIKE :wip
      )
    ) CONNECT BY LEVEL <= m
    ORDER BY wipdatavalue;
    And it leads to something like this:
    -----
    WIPDATAVALUE          SLOT             N            M
    1-2                   TRALTEST43S1     1            2
    1-2                   TRALTEST43S1     2            2
    3                     TRALTEST43S1     1            1
    4-6                   TRALTEST43S2     1            3
    4-6                   TRALTEST43S2     2            3
    4-6                   TRALTEST43S2     3            3
    7                     TRALTEST43S2     1            1
    -----

    I think that my current query based results M and N on WIPDATAVALUE and not HOUSING that's why I get the wrong result. I also tried to use WITH instruction and it works well, but unfortunately, our system cannot accept the subquery factoring.

    I know that you guys will be of help because you are all awesome. Thank you all

    Published by: 1001275 on April 19, 2013 20:07

    Published by: 1001275 on April 19, 2013 20:18

    Hello

    1001275 wrote:
    Hi sb92075,

    You are right that it is available with this version. But our system doesn't put queries that use subquery factoring.

    What system are you talking about? If you really have something that prevents you from using all the features of Oacle, you should seriously think about fixing it.

    Any other ideas on how we can do this without help WITH clause?

    Yes; If a WITH clause is referenced that once, it can be re-written as a point of view online:

    SELECT       wipdatavalue
    ,       slot
    ,       ROW_NUMBER () OVER ( PARTITION BY  slot
                                 ORDER BY          low_number
                        )                    AS m
    ,       COUNT (*)     OVER ( PARTITION BY  slot )     AS n
    FROM       (     -- Begin in-line view (got_numbers)
                SELECT     wipdatavalue
              ,     slot
              ,     TO_NUMBER ( SUBSTR ( wipdatavalue
                                        , 1
                                   , INSTR ( wipdatavalue || '-'
                                               , '-'
                                        ) - 1
                                   )
                            )          AS low_number
              ,     TO_NUMBER ( SUBSTR ( wipdatavalue
                                        , 1 + INSTR ( wipdatavalue
                                                       , '-'
                                                )
                                   )
                            )          AS high_number
              FROM     trprinting
           )     -- End  in-line view got_numbers
    CONNECT BY     LEVEL               <= high_number + 1 - low_number
         AND     low_number          = PRIOR low_number
         AND     PRIOR SYS_GUID ()      IS NOT NULL
    ORDER BY  low_number
    ,            m
    ;
    
  • Delete in the database based on the values of the multiple selection list

    Hello

    I have a selectlist in Apex and a function in the database to make a deletion based on the value selected in the selection list.
    FUNCTION delete_batch (v_batch VARCHAR2) RETURN VARCHAR2
    IS
    BEGIN
    IF v_batch like 'M%'
    THEN
       RETURN ('A monthrun cannot be deleted');
    ELSE
       DELETE FROM so_disco_pa
       WHERE  batch = v_batch
       ;
       DELETE FROM so_batch_pa
       WHERE  batch = v_batch
       ;
       COMMIT;
       RETURN ('Batch '||v_batch||' has been deleted');
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
        RETURN ('Batch could not be deleted');
    END delete_batch;
    The package is called when the user clicks on the button Delete with the rest of the process:
    BEGIN
    DECLARE
    x   varchar2(100);
    BEGIN
    x := pa_control.delete_batch (:P3_BATCH);
    :F105_MESSAGE := x;
    END;
    END;
    Now, I want to change the selectlist for a multiple-selection list to make several batches can be deleted.

    How can I change my procedure and the procedure to remove lots based on the values selected?

    Thank you

    Diana

    dianap says:
    I got this far, but only the first batch selected in the list is being deleted. The other values of selected package are not removed.

    Help please.

    Move the RETURN statement out of your loop.

  • Change the fill color based on the value

    I found several good examples on how to change the color of a galld based on a value, but am not having implemented lucky.  My form is an assessment to 3 areas of the exam results, the total of all 3 can have a maximum value of 100.  Sections 1 and 2 are automatically calculated, and section 3 is a value that the user will enter based on the review of all comments, notes, etc.  The final score has a rating and outstanding 90-100, satisfying 70-89, unsatisfactory < = 70.   Right now I'm not so concerned about the number of color, but I'm not able to get the colors to change at all.  Because this field is calculated based on chapters 1 to 3, I put the code on its change event.  Once the user enters the final score of manual in section 3, the value is changed automatically.  I also tried the partition article 3 manual output event and have obviously not the code or where to put this right.  Here is the code I use and would appreciate any help.  If I can learn how to make 90-100, I hope I can apply the same method, a different color of 70 to 89 and the title of 70.  What I am doing wrong?  Thank you.

    Form1. #subform [0]. OverallSafetyPerformance::change - (JavaScript, client)

    If

    ( this.rawValue < = 100) & & this.rawValue > = 90

    {

    this.fillColor

    = "102,179,255" "

    }

    I have an example for you, but it seems that the download has been disabled again.  Send me a direct email with your email address and I will send you the document.

  • How to accept multiple input values using plsql

    I am in a process of design of a small tool. The tool must accept several input values. I know that this can be done using sql.
    But nothing, I can enter multiple values using the loop in the loop would be carried out according to the number of times a user wants to enter the values.

    It is also very good, if I can accept all the values at once and some how to analyze!
    SQL> set serverout on
    SQL> accept strings prompt 'input strings (comma separated):'
    input strings (comma separated):abcd,xyz,massimo,this,is,a,string
    SQL> declare
      2  s varchar2(32000):='&strings';
      3  begin
      4    for r in (select regexp_substr(s,'[^,]+',1,level) str
      5                from dual
      6              connect by level <= length(s)-length(replace(s,',',''))+1) loop
      7        dbms_output.put_line(r.str);
      8    end loop;
      9  end;
     10  /
    old   2: s varchar2(32000):='&strings';
    new   2: s varchar2(32000):='abcd,xyz,massimo,this,is,a,string';
    abcd
    xyz
    massimo
    this
    is
    a
    string
    
    PL/SQL procedure successfully completed.
    

    Max
    http://oracleitalia.WordPress.com

  • Urgent based on parameter values, make the poplist

    Hi friends,

    I have a text according to the requirement in the urgetnt.

    (1) I have the search page, in that I have a retail icon to navigate to the page of detail - I'm an accountant some values to search on the detail page. book value should be read only in the detail of the page.

    2) based on the detail page, the book values - I want to make poplist.

    ex: in the search page I deptid, dname, loc, email these values carry details of the page with the read-only. I have a pooplist ename in detail to the page. based on the values (deptid, dname, loc, e-mail) making the details of the page, I want to display data from poplist ename. How to make this approach in the OPS.

    Thanks in advance
    Vandenplas

    1. create a viewObject VO.
    2. Add to the ApplicationModule page.
    3. create the poplist with the required properties.
    Very Important: set the 'lookup view Instance' to VO added in the rootAM (for example, PoplistVO1).

    4. to change the whereClause based on the use of the input parameter for example, the following code in your processRequest()

    String a = pagecontext.getParameter ("empno");
    vo.setWhereClause ("emp_no =: 1");
    vo.setWhereClauseParams (null);
    vo.setWhereClauseParam(1, a);
    vo.executeQuery ();

    Prasanna-

  • digital controls, by group of input values

    Hi, I want to reduce the input values that a user can define a digital control, I know I can set it up to only accept a concrete range but in my case I want to only accept a group of values such as [1,8,22], for example.

    Thank you!

    Use an enumeration or a ring.

    Cameron

  • Is there an easy way to filter a 2D table based on the values in two fields?

    Y at - it an easy way to filter a 2D table based on the values of one of the fields. In my attached VI the output array has the following format:

    Ident Frame Type bytes TimeStamp data

    10:57:07.621 3AD00016 POUVEZ 8 0000000000000000 data frame

    10:57:07.622 3AD00017 CAN data frame 8 000005E000000000

    10:57:07.624 3AD00018 POUVEZ 8 0000000003300000 data frame

    10:57:07.625 2DC00000 POUVEZ 8 0000000000000000 data frame

    10:57:07.626 3AD00019 POUVEZ 4 0000030000000000 data frame

    I would like to delete all lines that do not have an "Ident" between the values of 3AD00000 and 3AD0001E. So for the data above the fourth row would be removed. The only way I can see to do this is to form a 1 d table. Is there a better approach?

    Thank you.

    Hi chuck72352,

    After you've sorted your data, you can use the function InRange. Combined with a "search in 1 table D", you get the range you really want.

    Mike

Maybe you are looking for

  • LAN 1 G in Satellite R630-143 speed question

    Hi all My LAN interface only connects with 100 Mb/s speed without reason if it's compatible card 1Gbit (Intel 82577LC). I have tried with 3 devices (router, switch, PC directly) and a lot of cables that are working with 1 speed GE between them except

  • Photosmart Plus B12 not found on the pc!

    Hi I have a photosmart more b12 and I am trying to connect wireless to my hp pc. When I ran the diagnostics all emerged as a past and he also said the quality of the signal are excellent. Why is my pc not able to add this printer when I try to add a

  • remove the smart fortress 2012

    My infected computer by smart fortress.  How can I delete

  • Easy transfer Windows between Vista Home premium 64-bit and windows 7 32 bit

    I have an Acer X 3200 office that works on Vista 64-bit. I just got an Acer One netbook that runs on Windows 7 and is a 32-bit. I tried to use the Windows easy transfer application to transfer my files on to the netbook.Two computers, when they are l

  • Pavilion DV7 3150ed installation of the wireless driver

    Due to problem that I have reinstalled Windows7 on my Pavilion DV7 3150ed but now I not see wlan installed, I see only Bluetooth. The pictograms said WLAN and Bluetooth are disabled. How can I anable both? Is it a driver problem?