Abandonment of collaboration of first orders

Hello

How to cancel an order for a "fatal error" in first Cisco collaboration. I'm looking for an equivalent to:

AbortOrders [errors |] RecoverableErrors | UnrecoverableErrors | [ [-forced]]

Thank you!

Hi George,.

Go to my activities (or things) and find that particular order in the list.  Click on it and it will either allow you to cancel the order or assign it to yourself and then cancel the order.

Thank you

Tags: Cisco Support

Similar Questions

  • XmlAgg n first ordered only catch of the elements

    I can't find a way on Oracle to limit the number of lines that are aggregated by XmlAgg only the first n a specified order. I made a simple example that illustrates my problem which should be easy to reproduce, as follows:

    I have two tables, the INCIDENT and INCIDENT_LOG_ENTRY (there may be multiple entries for a given incident).

    I want to extract details of an incident (such as XML) and its last two log entries only.



    -Create the table of the INCIDENT and the two incidents:
    create table INCIDENT (ID NUMBER (10,0) PRIMARY KEY, INCIDENT_SUMMARY VARCHAR2 (200));

    insert into INCIDENT values (1, 'Hold up');
    insert into INCIDENT values (2, 'Car Accident');

    -Create table entries and the INCIDENT_LOG_ENTRY log for these two incidents:
    CREATE table INCIDENT_LOG_ENTRY (ID NUMBER PRIMARY KEY (10.0), INCIDENT_ID NUMBER (10.0), ENTRY_DATE_TIME DATE, ENTRY_TEXT VARCHAR2 (500));

    insert into INCIDENT_LOG_ENTRY values (1, 1, TO_DATE ('2009-01-01 08:15:11 ',' ' YYYY-MM-DD HH24:MI:SS), 'Hold up on Main Street');
    insert into INCIDENT_LOG_ENTRY values (2, 1, TO_DATE ('2009-01-01 08:17:40 ',' YYYY-MM-DD HH24:MI:SS'), "Continued in high-speed chase Suspect");
    insert into INCIDENT_LOG_ENTRY values (3, 1, TO_DATE ('2009-01-01 08:20:29 ',' ' YYYY-MM-DD HH24:MI:SS), "Suspect lost in traffic");
    insert into INCIDENT_LOG_ENTRY values (4, 1, TO_DATE ('2009-01-03 11:55:31 ',' ' YYYY-MM-DD HH24:MI:SS), "Suspect apprehended in the hospital");

    insert into INCIDENT_LOG_ENTRY values (21, 2, TO_DATE ('2009-01-01 08:29:15 ',' ' YYYY-MM-DD HH24:MI:SS), "Collision between car jumping the red light and truck");
    insert into INCIDENT_LOG_ENTRY values (22, 2, TO_DATE ('2009-01-01 08:45:53 ',' YYYY-MM-DD HH24:MI:SS'), "Driver taken to hospital");



    Here's the query (note order reports by xmlAgg according to the Oracle documentation):

    SELECT xmlAgg (xmlElement ('INCIDENT', xmlForest (i.ID, i.INCIDENT_SUMMARY),))
    xmlElement ("INCIDENT_LOG_ENTRIES",
    (SELECT xmlAgg (xmlElement ("INCIDENT_LOG_ENTRY", xmlForest (ile.ID, island. ENTRY_DATE_TIME, island. (Order ENTRY_TEXT)) of the island. ENTRY_DATE_TIME desc)
    ISLAND of INCIDENT_LOG_ENTRY
    WHERE island. INCIDENT_ID = i.ID
    AND rownum < = 2
    ))))
    SINCE the INCIDENT I where i.ID = 1


    And here is the result:

    < INCIDENT >
    < ID > 1 < /ID >
    Wear the < INCIDENT_SUMMARY > < / INCIDENT_SUMMARY >
    < INCIDENT_LOG_ENTRIES >
    < INCIDENT_LOG_ENTRY >
    < ID > 2 < /ID >
    < ENTRY_DATE_TIME > 1 January 09 < / ENTRY_DATE_TIME >
    < ENTRY_TEXT > Suspect continued in high speed pursuit < / ENTRY_TEXT >
    < / INCIDENT_LOG_ENTRY >
    < INCIDENT_LOG_ENTRY >
    < ID > 1 < /ID >
    < ENTRY_DATE_TIME > 1 January 09 < / ENTRY_DATE_TIME >
    < ENTRY_TEXT > Hold up on Main Street < / ENTRY_TEXT >
    < / INCIDENT_LOG_ENTRY >
    < / INCIDENT_LOG_ENTRIES >
    < / INCIDENT >


    This isn't the desired result - I want the last two entries in journal (4 and 3). Clearly the rownum took effect before the classification is applied by XmlAgg. However, if I try to force the order first by using a nested subquery, Oracle complained that the incident (table alias 'i') is not visible in the subquery:

    SELECT xmlAgg (xmlElement ('INCIDENT', xmlForest (i.ID, i.INCIDENT_SUMMARY),))
    xmlElement ("INCIDENT_LOG_ENTRIES",
    (SELECT xmlAgg (xmlElement ("INCIDENT_LOG_ENTRY", xmlForest (ile.ID, island. ENTRY_DATE_TIME, island. (Order ENTRY_TEXT)) of the island. ENTRY_DATE_TIME desc)
    FROM (select * from (select * from INCIDENT_LOG_ENTRY WHERE INCIDENT_ID = ENTRY_DATE_TIME order i.ID) where rownum < = 2) island
    ))))
    SINCE the INCIDENT I where i.ID = 1

    Which translates into:
    SQL error: ORA-00904: "I." "" Id ": invalid identifier



    If anyone knows how to solve this problem, I would be extremely grateful.



    (BTW, it works without any problem on SQL Server):

    Select i.ID, i.INCIDENT_SUMMARY,.
    (select the 2 best ile.ID, island. ENTRY_TEXT, island. ENTRY_DATE_TIME
    Island of INCIDENT_LOG_ENTRY
    where island. INCIDENT_ID = i.ID
    order of the island. ENTRY_DATE_TIME desc for xml path ('INCIDENT_LOG_ENTRY'), type) as "INCIDENT_LOG_ENTRIES".
    Since the INCIDENT I
    where i.ID = 1
    for xml path ('INCIDENT') type

    Which gives the desired result:

    < INCIDENT >
    < ID > 1 < /ID >
    Wear the < INCIDENT_SUMMARY > < / INCIDENT_SUMMARY >
    < INCIDENT_LOG_ENTRIES >
    < INCIDENT_LOG_ENTRY >
    < ID > 4 / < ID >
    < ENTRY_TEXT > Suspect apprehended in hospital < / ENTRY_TEXT >
    < ENTRY_DATE_TIME > 2009-01-03T 11: 55:31 < / ENTRY_DATE_TIME >
    < / INCIDENT_LOG_ENTRY >
    < INCIDENT_LOG_ENTRY >
    < ID > 3 < /ID >
    < ENTRY_TEXT > Suspect lost in traffic < / ENTRY_TEXT >
    < ENTRY_DATE_TIME > 2009 - 01-01 T 08: 20:29 < / ENTRY_DATE_TIME >
    < / INCIDENT_LOG_ENTRY >
    < / INCIDENT_LOG_ENTRIES >
    < / INCIDENT >

    )
    SQL> set lines 160
    SQL> column ENTRY_TEXT format A64
    SQL> select ile.ID, ile.ENTRY_DATE_TIME, ile.ENTRY_TEXT
      2    from INCIDENT_LOG_ENTRY ile
      3   order by ile.ENTRY_DATE_TIME desc
      4  /
             4 03-JAN-09 Suspect apprehended in hospital
            22 01-JAN-09 Driver taken to hospital
            21 01-JAN-09 Collision between car jumping red light and lorry
             3 01-JAN-09 Suspect lost in traffic
             2 01-JAN-09 Suspect pursued in high speed chase
             1 01-JAN-09 Hold up on Main Street
    
    6 rows selected.
    
    Elapsed: 00:00:00.01
    SQL> select ile.ID, ile.ENTRY_DATE_TIME, ile.ENTRY_TEXT
      2    from INCIDENT_LOG_ENTRY ile
      3   where rownum <= 2
      4   order by ile.ENTRY_DATE_TIME desc
      5  /
             2 01-JAN-09 Suspect pursued in high speed chase
             1 01-JAN-09 Hold up on Main Street
    
    Elapsed: 00:00:00.01
    SQL> select ile.ID, ile.ENTRY_DATE_TIME, ile.ENTRY_TEXT
      2    from (
      3            select ile.ID, ile.ENTRY_DATE_TIME, ile.ENTRY_TEXT
      4              from INCIDENT_LOG_ENTRY ile
      5              order by ile.ENTRY_DATE_TIME desc
      6         ) ile
      7   where rownum <= 2
      8  /
             4 03-JAN-09 Suspect apprehended in hospital
            22 01-JAN-09 Driver taken to hospital
    
    Elapsed: 00:00:00.00
    SQL> create or replace view INCIDENT_LOG_ENTRY_ORDERED
      2  as
      3  select *
      4    from INCIDENT_LOG_ENTRY
      5   order by INCIDENT_ID, ENTRY_DATE_TIME desc
      6  /
    
    View created.
    
    Elapsed: 00:00:00.15
    SQL> SELECT xmlserialize
      2         (
      3           DOCUMENT
      4           xmlAgg
      5           (
      6             xmlElement
      7             (
      8               "INCIDENT",
      9               xmlForest(i.ID, i.INCIDENT_SUMMARY),
     10               xmlElement
     11               (
     12                 "INCIDENT_LOG_ENTRIES",
     13                 (
     14                   SELECT xmlAgg
     15                          (
     16                            xmlElement
     17                            (
     18                               "INCIDENT_LOG_ENTRY",
     19                               xmlForest(ile.ID, ile.ENTRY_DATE_TIME, ile.ENTRY_TEXT)
     20                            )
     21                          )
     22                     from INCIDENT_LOG_ENTRY_ORDERED ile
     23                    WHERE ile.INCIDENT_ID = i.ID
     24                      and rownum < 3
     25                 )
     26               )
     27             )
     28           )
     29         as CLOB indent size = 2
     30         )
     31    FROM INCIDENT i
     32   where i.ID = 1
     33  /
    
      1
      Hold up
      
        
          4
          2009-01-03
          Suspect apprehended in hospital
        
        
          3
          2009-01-01
          Suspect lost in traffic
        
      
    
    
    Elapsed: 00:00:00.07
    SQL>
    
  • Discrete matrix of Kalman filter parameters for higher order system

    I try to use the discrete block of Kalman filter in the control and the Simulation Toolkit for a second order system. I've been through all the example for this block in the examples NOR but most of the examples primarily use a first order system.

    I think I put the matrix G, H, Q, R and E correctly for a system of order 2. However, I always get the message saying e bad E (v) isn't the same dimension with the release.

    "Error-41693 occurred at NI_CD_Stochastic Systems.lvlib:cd_verify m Q R N.vi.

    So, I need help to configure the parameter for the block to block the stochastic and discrete Kalman filter so that the Kalman filter work in my VI. Is attached a simple VI I try to learn more about this block of Kalman filter

    Thanks in advance

    Hello

    The problem is now that you have created the matrices which are connected to the 'model CD building noise '. If you don't want no change, just do not connect anything. So, if you create a matrix Q & A with Q = [0.01,0; 0; 0.001] and R [0,1], you should have your model of noise created correctly for you. Notice that Q depends on the size of G and R depends on the size of h.

    In addition, you must make your first estimate error Covariance"matrix 2 x 2 since you have two States.

    Try that and see if that makes sense...

  • (Redirected) Order fiasco

    Hello.  Need to vent about the stellar Dell Customer Service...

    I've been playing games for many years and I've been to the top of my old office of classification as the graphics and games has improved.  Finally decided to make the investment in a good gaming system and placed an order for an Alienware desktop system and assortment of accessories.  I entered the command last Saturday and never received an e-mail confirmation from Dell.  I texted in Dell support yesterday (since there is no support on the weekend) with the purchase ID # and was told that the order had not pushed grace from the website and that I should re - enter the order. I re - enter the order yesterday.  This morning I had two confirmations for the same hardware.  Imagine my surprise when I discovered that I was now owner of 2 expensive game systems.  Has not only had the first order "pushed through", but some elements had been completed and delivered.  The only thing that Dell was very fast on were visa authorizations.

    I called Dell support today and they told me that they cannot cancel is stopped and I have to wait to receive the components in 2-3 weeks then return each for a refund.  In the meantime, they organize the $ 3,000 + additional system costs and was ordered based on their defective insurance for me that the first order had not pushed through from the web site.  As a kicker to this fiasco, the orders have also a charge of $300 for a docking station to go with my office.  Which should be a charge of $300 for the basic graphics accelerator that makes a helluva a better sense of a lot for a game system.

    Sorry for the conduit, but I can say this is the last company that Dell will never see me.

    BR

    Thor

    Better to post this thread in the Customer Care Forum here:

    http://en.community.Dell.com/support-forums/customercare/f/4674.aspx

    Bev.

  • the NAT ID processing order

    Hello all;

    No one knows and also anyone can provide some bad infoamtion processs NAT ID flow?

    I have two nat/global declarations.

    access allowed WWW ip object-group COMPANY-A list any

    Global (outside) 30 60.100.100.60 255.255.255.192 subnet mask

    Global (DMZ) 3 interface

    Global (DMZ2) interface 50

    NAT (inside) 0 access-list SHEEP

    NAT (inside) 30-list of WWW access 0 0

    NAT (inside) 50 access-list DMZ2 0 0

    take my word for it. WWW and DMZ2 access list the two match the egressing package.

    I need to know if the nat WWW give a 90 nat id, it would solve my problem? My problem is the package for dmz2 is out the external interface.

    concerning

    Jeff

    6.3 order Ref. (http://www.cisco.com/univercd/cc/td/doc/product/iaabu/pix/pix_sw/v_63/cmdref/mr.htm#wp1032129):

    Order NAT used to match local addresses

    The firewall is local traffic to the NAT commands in the following order:

    1 nat 0-list of access (NAT exemption)? In order, until the first game. For example, you may have places of destination / limited overlapping in several orders of nat, but only the first order is put into correspondence.

    2. static (static NAT)? In order, until the first game. Because you can not use the same local address in the static NAT or static PAT orders, the order of the static controls does not matter. Similarly, for the static policy NAT, does not allow the same destination/local address and port through several instructions.

    3. static {tcp | udp} (static PAT)? In order, until the first game. Because you can not use the same local address in the static NAT or static PAT orders, the order of the static controls does not matter. Similarly, for the static policy NAT, does not allow the same destination/local address and port through several instructions.

    4. nat_id access-list (policy NAT) nat? In order, until the first game. For example, you may have addresses and ports of destination/local which overlap in several orders of nat, but only the first command is matched.

    5 (regular NAT) nat? Best match. The NAT order does not matter. The nat statement that best matches the local traffic is used. For example, you can create a general instruction to translate addresses (0.0.0.0) on an interface. If you also create a statement to translate only 10.1.1.1, when 10.1.1.1 establishes a connection, specific instruction for 10.1.1.1 is used because it suited to local traffic.

    If you configure multiple global statements on the same NAT ID, the global declarations are used in this order:

    1. overall if you use 0 (identity NAT) nat.

    2 dynamic global NAT.

    3 PAT global.

  • What is the meanning of order by 'a string '?

    Hello

    What does it mean when I write

    Select...

    order by 'a' - for example

    or order by "any word".

    ?

    Hello Hi-Salem,

    Maybe that your statement was "built" dynamically and the ORDER BY clause is added in any case, doing so

    ORDER BY 'a '.

    is simply a placeholder, in order to complete the statement if necessary with for example

    ORDER BY 'a', col4, col6 DESC

    We often see statements with a 'useless' 1 = 1 condition:

    SELECT... Of... WHERE 1 = 1;

    or

    SELECT... Of... WHERE 1 = 1 AND (a 'real' condition) [AND (...)] *.

    in this case the "1 = 1" is always present, so that if there is no condition education is OK, and if there are conditions, they just have to add with < and="" (...)=""> > instead of having to develop a code more complex "If condition first, then ' WHERE (condition)" other "AND the (condition).

    For your "order by" I can imagine the same thing: is the easy way: when an order is made, add ", this_column [ASC |]» DESC]", instead of having to make"if first order, then 'ORDER BY 'else', xxx yyy'

    Best regards

    Bruno Vroman.

  • How to check the order updated promotion or coupon

    Customer has placed an order so how we can confirm only after order has been abandoned by promotion (level item, order) or coupon code.

    As mentioned in the previous post by krish k, you can easily check in VAC, purchases and payment - order - are with the command id.

    Or you might query on database, using simple sql like this one (don't want to complicate with joins)

    -get the order for the order Id.

    -Select * from dcspp_order where order_id = 10000; (OrderID)

    -enhance the PriceInfo on top of the result (lets say you "ai1234")

    -Select * from dcspp_amount_info where amount_info_id = 'ai1234 ';

    -Select * from dcspp_order_price where amount_info_id = 'ai1234 ';

    For settings

    Select * from dcspp_amtinfo_adj where amount_info_id = 'ai1234 '; (get id for adjustment of this result, lets say you "pa1234", it will return the list if you have several adjustment)

    Select * from dcspp_price_adjust where adjustment_id = 'pa1234 ';

    Similarly, you could do to prices per item, tax and shipping.

    Thank you

    Alioune

    Please mark the Correct/good to answer your question, if it is.

  • Analytical functions: FIRST vs FIRST_VALUE

    Hello

    Can someone please help me understand the difference between PRIME and FIRST_VALUE in Anaytic functions.

    I tried below 2 queries, but I see the same output. The only difference I see is that the field of the SAL is ordered FIRST_VALUE, but not the FIRST.

    SELECT ename,

    DEPTNO,

    SAL,

    MIN (SAL) keep (dense_rank FIRST

    ORDER BY sal) by (deptno partition) FIRST

    EMP;

    SELECT ename,

    DEPTNO,

    SAL,

    FIRST_VALUE (SAL) over (partition BY deptno arrested by sal) FIRST

    EMP;

    With the help of: Windows 8.1

    Database Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production

    PL/SQL Release 12.1.0.1.0 - Production

    "CORE 12.1.0.1.0 Production."

    AMT for 64-bit Windows: Version 12.1.0.1.0 - Production

    NLSRTL Version 12.1.0.1.0 - Production

    Hello

    Here is an example of when you can use the FIRST analytic function.

    Say you want the average sal for each Department, but only for the first year (taken from the hiredate column) in the Department (i.e., the column called f in the query below).

    WITH got_hireyear AS

    (

    SELECT deptno and ename, sal, hiredate

    EXTRACT (YEAR FROM hiredate) AS hireyear

    FROM scott.emp

    )

    SELECT deptno, hireyear, hiredate, ename, sal

    AVG (sal) DUNGEON (DENSE_RANK FIRST ORDER BY hireyear)

    COURSES (PARTITION BY deptno

    ) In the FORM f

    FIRST_VALUE (sal) over (PARTITION BY deptno

    ORDER BY hireyear

    ) AS fv

    AVG (sal) over (PARTITION BY deptno

    hireyear

    ), A

    OF got_hireyear

    ORDER BY deptno

    hireyear

    ename

    ;

    Output:

    HIREYEAR ENAME SAL HIREDATE DEPTNO F FV HAS
    ------ ---------- ----------- ---------- ------ --------- ------ ---------
    10 1981 9 June 1981 CLARK 2450 2450 3725,00 3725.00
    10 1981 17 November 1981 KING 5000 3725,00 2450 3725.00
    10 1982 23 January 1982 MILLER 1300 3725,00 2450 1300.00

    20, 1980, 17 December 1980 SMITH 800 800.00 800.00 800
    20, 1981, 3 December 1981 FORD 3000 800.00 800 2987.50
    20, 1981, 2 April 1981 JONES 2975 800.00 800 2987.50
    20, 1987, 23 May 1987 ADAMS 1100 800.00 800 2050.00
    20, 1987, 19 April 1987 SCOTT 3000 800.00 800 2050.00

    30 1981 20 February 1981 ALLEN 1600 1566.67 950 1566.67
    May 30 1981 1st 1981 BLAKE 2850 1566.67 950 1566.67
    December 30 1981 3 1981 JAMES 950 1566.67 950 1566.67
    30 1981 28 - sep - 1981 MARTIN 1250 1566.67 950 1566.67
    30-08 - sep - 1981 1981 TURNER 1500 1566.67 950 1566.67
    30 1981 22 February 1981 WARD 1250 1566.67 950 1566.67

    The analytical FIRST_VALUE function can do (except in the very special case where only 1 row has the lowest hireyear, as in deptno = 20).  AVG analysis can do (except in the very special case that all lines have the same hireyear as in deptno = 30).

  • Dynamic links between the first and truly dynamic hearing?

    I am familiar with the function of dynamic link Premiere and After Effects. If I send a clip to EI and edit it, it will update in my first order. But if I make a change of photo in the first edition, it will not update the corresponding hearing project? I'm currently tagging my short film and hoped multitrack recording in Audition, sending back to the Prime Minister and make changes to shot times according to the timing of the music. But he seems to have hearing see my changes in the first, I have to go to "Edit in Audition" again, replacing the original set and all work hearing project I've done so far? To go to the hearing is a sense unique street, until the final mix status?

    Or did I miss something in the hearing as a refresh option?

    For a little more information, see two posts from CharlesVW in this thread of 2015.2 hearing .  As Steve says, the full dynamic linking is a work in progress, but the feature improves with each version.  However, for things to work correctly, it is important to have corresponding versions of the hearing, first Pro and Adobe Media Encoder.  Unfortunately, it's not as simple as the numbers - the last hearing is 2015.2, last Premiere Pro is 2015.3 and I think later SOUL is also 2015.3.

  • Is it possible to enable the gpu to gtx670 in the first cc use?

    Hello

    I bought creative cloud and with first, I have no option to select the GPU support. I know that the GTX 670 is not in the whitelist but it works collaboratively with first Pro CS 6 and has more than 1 GB of Ram. So I hope that I can select the use of GPU rendering and click on the warning message now.

    Is it possible to allow the GTX 670 in first Pro CC?

    Thank you and best regards

    Uwe

    Don't know how to solve your problem outside the research to see if there is a file cuda.txt... but I can assure you that the card works in body CC2014.xxx because I use one.

    Try to reinstall the latest driver.

  • Subselect with Rownum and Order By

    Good morning, people, I'm trying to do some Firebird SQL work in Oracle and there is something that I can't find an easy way to deal with:

    CUSTOMER has many RECIPES, let's say I want the ID of the last receipt of a customer...

    That's how it's done in FB:

    SELECT

    c.ID, c.name,

    (SELECT FIRST r.id 1

    RECEPTION r

    WHERE r.customer_id = c.id

    ORDER BY r.creation_date DESC) as LAST_RECEIPT_ID

    CUSTOMER c

    It's simple and works like a charm... the subselect statement will order first of all, the most recent reception will be the first line, then I use to avoid any error 'select several lines in singleton' a 'first 1 ", equivalent to rownum = 1;

    If I try this with Oracle it won't work:

    SELECT

    c.ID, c.name,

    (SELECT r.id

    RECEPTION r

    WHERE r.customer_id = c.id

    AND rownum = 1

    ORDER BY r.creation_date DESC) as LAST_RECEIPT_ID

    CUSTOMER c


    What is the best way to achieve the same in Oracle?

    SELECT c.id
    ,      c.name
    ,      (SELECT MAX(r.id) KEEP (DENSE_RANK FIRST ORDER BY r.creation_date DESC) last_receipt_id
            FROM   receipt r
            WHERE  r.customer_id = c.id) as last_receipt_id
    FROM customer c;
    
  • Order By issue

    Hi all

    I try to come with a request for a special order of rules, but not able to. Below is the create table and insert statements. I want a query with the results must be classified as below

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    PL/SQL Release 11.2.0.3.0 - Production

    RULES FOR ORDER OF

    ROUND OF COMMENTS REQUESTED
    1 1/8/2013-12:32:57 stuff
    1 1/8/2013-13:32:57 stuff
    1 1/8/2013 18:32:57 round 1
    2 1/8/2013 15:38:55 round 1
    2 1/8/2013-11:32:57 round 2
    2 1/8/2013 13:32:57 round 2
    2 1/8/2013 15:32:57 round 2
    2 1/8/2013 12:32:57 round 3
    2 1/8/2013-13:32:57 round 3
    2 1/8/2013-14:32:57 round 3
    2 1/8/2013-11:32:51 stuff
    2 1/8/2013-12:32:51 stuff
    2 1/8/2013 13:32:57 round-grey 1
    2 1/8/2013-14:32:58 stuff
    2 1/8/2013-15:32:58 stuff


    (1) 1 set of records - all records where round 1 = controlled requested
    (2) 2nd set of records - all records where Tower = 2 and comments = 'round 1' sorted by request.
    (3) 3rd set of records - all records where Tower = 2 and comments = "Round 2" ordered by requested
    (4) 4th Recordset - all records where Tower = 2 and comments = "round 3" ordered by requested ".
    (5) 5th Recordset - all other remaining records must be classified asked

    CREATE TABLE LEAVEREQUEST
    (
    NUMBER (12) ROUND.
    DATE REQUESTED,
    REMARKS VARCHAR2 (100)
    )
    /

    Insert into LEAVEREQUEST values (TO_DATE 2, (8 January 2013 15:38:55 ',' DD/MM/YYYY HH24:MI:SS'), 'Round 1');
    Insert into LEAVEREQUEST Values (2, TO_DATE (January 8, 2013 15:32:58 ',' DD/MM/YYYY HH24:MI:SS'), 'stuff');
    Insert into LEAVEREQUEST Values (1, TO_DATE (January 8, 2013 18:32:57 ',' DD/MM/YYYY HH24:MI:SS'), 'around 1');
    Insert into LEAVEREQUEST Values (2, TO_DATE (January 8, 2013 11:32:57 ',' DD/MM/YYYY HH24:MI:SS'), "around 2");
    Insert into LEAVEREQUEST Values (1, TO_DATE (January 8, 2013 13:32:57 ',' DD/MM/YYYY HH24:MI:SS'), 'stuff');
    Insert into LEAVEREQUEST Values (2, TO_DATE (January 8, 2013 12:32:57 ',' DD/MM/YYYY HH24:MI:SS'), "around 3");
    Insert into LEAVEREQUEST Values (2, TO_DATE (January 8, 2013 14:32:58 ',' DD/MM/YYYY HH24:MI:SS'), 'stuff');
    Insert into LEAVEREQUEST Values (2, TO_DATE (January 8, 2013 13:32:57 ',' DD/MM/YYYY HH24:MI:SS'), "around 2");
    Insert into LEAVEREQUEST Values (1, TO_DATE (January 8, 2013 12:32:57 ',' DD/MM/YYYY HH24:MI:SS'), 'stuff');
    Insert into LEAVEREQUEST Values (2, TO_DATE (January 8, 2013 15:32:57 ',' DD/MM/YYYY HH24:MI:SS'), "around 2");
    Insert into LEAVEREQUEST Values (2, TO_DATE (January 8, 2013 14:32:57 ',' DD/MM/YYYY HH24:MI:SS'), "around 3");
    Insert into LEAVEREQUEST Values (2, TO_DATE (January 8, 2013 13:32:57 ',' DD/MM/YYYY HH24:MI:SS'), "around 3");
    Insert into LEAVEREQUEST Values (2, TO_DATE (January 8, 2013 11:32:51 ',' DD/MM/YYYY HH24:MI:SS'), 'stuff');
    Insert into LEAVEREQUEST Values (2, TO_DATE (January 8, 2013 13:32:57 ',' DD/MM/YYYY HH24:MI:SS'), 'round-grey 1');
    Insert into LEAVEREQUEST Values (2, TO_DATE (January 8, 2013 12:32:51 ',' DD/MM/YYYY HH24:MI:SS'), 'stuff');

    Published by: 923063 on January 9, 2013 12:03

    Published by: 923063 on January 9, 2013 12:10

    Hello

    923063 wrote:
    Frank,

    The first order by works perfectly well, thank you very much for this.

    You mean that it works very well for the sample data that you posted, but you are concerned about other data; Isn't it?
    If so, post a few new data examples where it does what you want, and the good results you want.

    Actually the column remarks can have values ranging from 'Round 1'... until ' round 99 ", here, I gave her only sample data, sorry for not mentioning this earlier."
    Can you let me know how to handle this?

    It depends on how you want to manage. The query I posted above handles "Round 4' and"99 round;" It treats the same thing as "a few things". I guess that this is not what you want, but you never said what you want.

    Do you want all rows with the round = 2 and comments = "Round X" (where x is an unsigned integer, not necessarily a 1-digit) to be sorted in order by the numerical value of x? If so, here is one way:

    ORDER BY  CASE
               WHEN  round  = 1          THEN -1
               WHEN  NVL (round, 3) != 2     THEN NULL
               WHEN  NVL ( RTRIM (remarks, ' 0123456789')
                             , '?'
                   ) != 'Round'     THEN NULL
                                               ELSE TO_NUMBER (SUBSTR, remark, 6)
           END     NULLS LAST -- actually the default, but it doesn't hurt to say it
    ,            requested
    

    Again, it is always useful to post a small example data, the results you want from this data, as well as an explanation, with specific examples of why you want these results.

  • SELECT - get the first of many

    Hi all

    I was wondering if someone can help me with the following query. I'll post some sample data and explain what I would like. I also have a query that works, but I was wondering if there is another way to do what I want.
    DROP TABLE DOSSIERS;
    CREATE TABLE DOSSIERS 
    (
      dossier_id NUMBER(10) PRIMARY KEY, 
      dossier_name VARCHAR2(100)
    );
    
    DROP TABLE ACTORS ;
    CREATE TABLE ACTORS 
    (
      actor_id NUMBER(10) PRIMARY KEY, 
      actor_name VARCHAR2(100)
    );
    
    DROP TABLE PARTICIPATIONS;
    CREATE TABLE PARTICIPATIONS
    (
      participation_id NUMBER(10)  PRIMARY KEY, -- pk (technical field)
      dossier_id NUMBER(10), -- fk to dossiers
      actor_id NUMBER(10), -- fk to actors
      actor_type VARCHAR2(10), 
      ranking NUMBER(10)
    );
    
    INSERT INTO DOSSIERS VALUES(1, 'Dossier 1');
    INSERT INTO DOSSIERS VALUES(2, 'Dossier 2');
    INSERT INTO DOSSIERS VALUES(3, 'Dossier 3');
    
    INSERT INTO ACTORS VALUES (1000, 'James');
    INSERT INTO ACTORS VALUES (1003, 'Ghandi');
    INSERT INTO ACTORS VALUES (1009, 'Simon');
    INSERT INTO ACTORS VALUES (1010, 'John');
    INSERT INTO ACTORS VALUES (1019, 'Georges');
    INSERT INTO ACTORS VALUES (1032, 'Michelle');
    INSERT INTO ACTORS VALUES (1033, 'Laura');
    
    
    INSERT INTO PARTICIPATIONS VALUES(1, 1, 1000, 'WRITER', 12);
    INSERT INTO PARTICIPATIONS VALUES(2, 1, 1003, 'REVIEWER', 13);
    INSERT INTO PARTICIPATIONS VALUES(3, 1, 1010, 'REVIEWER', 14);
    INSERT INTO PARTICIPATIONS VALUES(4, 1, 1009, 'VALIDATOR', 9);
    INSERT INTO PARTICIPATIONS VALUES(5, 1, 1033, 'VALIDATOR', 122);
    INSERT INTO PARTICIPATIONS VALUES(6, 1, 1032, 'VALIDATOR', 121);
    INSERT INTO PARTICIPATIONS VALUES(7, 1, 1019, 'VALIDATOR', 123);
    
    
    INSERT INTO PARTICIPATIONS VALUES(10, 2, 1032, 'WRITER', 1);
    INSERT INTO PARTICIPATIONS VALUES(11, 2, 1003, 'REVIEWER', 2);
    
    INSERT INTO PARTICIPATIONS VALUES(30, 3, 1019, 'WRITER', 1);
    INSERT INTO PARTICIPATIONS VALUES(31, 3, 1000, 'VALIDATOR', 2);
    INSERT INTO PARTICIPATIONS VALUES(32, 3, 1032, 'WRITER', 10);
    INSERT INTO PARTICIPATIONS VALUES(33, 3, 1009, 'WRITER', 20);
    INSERT INTO PARTICIPATIONS VALUES(34, 3, 1003, 'WRITER', 21);
    COMMIT;
    
    SELECT d.dossier_id, 
           (SELECT actor_name 
              FROM actors a 
             WHERE a.actor_id = (SELECT pi.actor_id
                                   FROM participations pi
                                  WHERE pi.dossier_id = d.dossier_id 
                                    AND pi.actor_type = 'WRITER'
                                    AND pi.ranking = (SELECT MIN(pa.ranking)
                                                        FROM participations pa
                                                       WHERE pa.dossier_id = d.dossier_id
                                                         AND pa.actor_type = 'WRITER'
                                                      )
                               )
           ) as FIRST_WRITER, 
           (SELECT actor_name 
              FROM actors a 
             WHERE a.actor_id = (SELECT pi.actor_id
                                   FROM participations pi
                                  WHERE pi.dossier_id = d.dossier_id 
                                    AND pi.actor_type = 'REVIEWER'
                                    AND pi.ranking = (SELECT MIN(pa.ranking)
                                                        FROM participations pa
                                                       WHERE pa.dossier_id = d.dossier_id
                                                         AND pa.actor_type = 'REVIEWER'
                                                      )
                               )
           ) as FIRST_REVIEWER, 
           (SELECT actor_name 
              FROM actors a 
             WHERE a.actor_id = (SELECT pi.actor_id
                                   FROM participations pi
                                  WHERE pi.dossier_id = d.dossier_id 
                                    AND pi.actor_type = 'VALIDATOR'
                                    AND pi.ranking = (SELECT MIN(pa.ranking)
                                                        FROM participations pa
                                                       WHERE pa.dossier_id = d.dossier_id
                                                         AND pa.actor_type = 'VALIDATOR'
                                                      )
                               )
           ) as FIRST_VALIDATOR
      FROM dossiers d
    ;
    The SELECTION that I posted returns for each folder, the WRITER, the VALIDATOR and the first REVIEWER to a folder. I was wondering if it was possible to do without the need to have so many subqueries?

    Also, I was wondering if it was possible to do without having to hardcode the different types of actors. And if tomorrow I add someone new, like the AUTHOR, I also have the first author in the result (a new column)?

    I'm still using Oracle 10 g (10.2)

    Thanks for your help,

    Hello

    user13117585 wrote:
    ...

    min(case actor_type when 'WRITER' then actor_name end)
    keep(dense_rank first order by case actor_type when 'WRITER' then ranking end nulls last) first_writer,
    

    This property returns the first writer. OK, cool. I guess you used the MIN because the expression is not in the GROUP BY.

    In fact, it is because the ORDER BY expression cannot be unique. First of ALL is an aggregate function; It is guaranteed to return a string exactly by the group, first anemly, wher 'first' is defined by the ORDER BY clause in the service. Even if you know that the expression will be unique, you must always indicate the FIRST what to do in case of a tie. Means that MIN, if it happens to be a tie, take the first string (in the normal sort order).

    What I don't really understand is IN the order OF. I know not which is the CASE, but I do not understand its purpose in this query.

    Do you understand what that means?

    keep(dense_rank first order by                                    ranking     nulls last) 
    

    It is said 'take the first in the group, according to the ranking and set NULL values at the end of the list.
    When is 'the group' in this case? It's all lines with the same dossier_id, withour held in what actor_type it is associated. This isn't what we want. If this expression is supposed to find the first writer, then we want to make sure that the collation for a non-0writer will never come first.

    keep(dense_rank first order by case actor_type when 'WRITER' then ranking end nulls last) 
    

    impeccable; It maps all the rankings for editors not null, then they will come at the end of the list.

  • First and last &amp; functions

    Hello

    Can someone give me a brief description of the functions of first and last in sql. If you can explain with an example... It is very useful.

    Concerning
    AR

    Hello

    Check this box... Hope this will help you

    First and Last:
    ***********
    
    The FIRST and LAST functions can be used to return the first or last value from an ordered sequence. Say we want to display the salary of each employee, along with the lowest and highest within their department we may use something like:
    
    SELECT deptno,
           ename,
           sal,
           MIN(sal) KEEP (DENSE_RANK FIRST ORDER BY sal) OVER (PARTITION BY deptno) "Lowest",
           MAX(sal) KEEP (DENSE_RANK LAST ORDER BY sal) OVER (PARTITION BY deptno) "Highest"
    FROM   emp
    ORDER BY deptno, sal;
    
        DEPTNO ENAME             SAL     Lowest    Highest
    ---------- ---------- ---------- ---------- ----------
            10 MILLER           1300       1300       5000
            10 CLARK            2450       1300       5000
            10 KING             5000       1300       5000
            20 SMITH             800        800       3000
            20 ADAMS            1100        800       3000
            20 JONES            2975        800       3000
            20 SCOTT            3000        800       3000
            20 FORD             3000        800       3000
            30 JAMES             950        950       2850
            30 WARD             1250        950       2850
            30 MARTIN           1250        950       2850
            30 TURNER           1500        950       2850
            30 ALLEN            1600        950       2850
            30 BLAKE            2850        950       2850
    

    KPR

  • Proforma invoice for orders sending / internal arrested

    Hello

    We must establish an inventory of batch (for customers) in 12.1 of the EBS environment.

    A search on the forum told me this flow that already seems pretty good:
    (citing Sandeep Gandhi thread: Send command in Oracle (11.5.10.2 and R12) )

    >
    (1) define each client as an org
    (2) when you receive the first order, create an internal order to ship material from your warehouse to the customer. This ensures that your inventory is updated, the shipping documents are generated and invoices are not created. This also ensures that the inventory continues to appear as an asset on your books.
    (3) when you receive advice of customer use, create a regular sales order which will create invoices.
    (4) This ensures that at any time, you can know exactly how much cost to each Subscriber. And you can easily treat return consignment material by another internal order.
    >

    It looks almost perfect for us, except one thing: we need a proforma invoice when ship us the equipment (point 2).

    Anyone know how I could generate an invoice proforma for an internal order?

    Or the world has solved this problem differently?

    Thanks in advance,
    David.

    I know that you can generate an invoice proforma for an ISO if ISO is between 2 different OU.

    But the orgs of customer inventory that I suggested it earlier are usually in the same OU (unless you have reason to do otherwise) and if Oracle will not likely generate an invoice, pro forma.

    If this happens, you can create a custom document and print it as well as shipping for ISO documents. You do not have to worry about a/c transactions since the invoice pro forma is essentially a commitment indicating price/quantity etc. It is not really an AR invoice

    Hope this helps,
    Sandeep Gandhi

Maybe you are looking for

  • I got a survey of users of Firefox saying I won something, is it a scam?

    A separate window jumped upwards and said: "congratulations, you have won the 2014 (Houston) annual visitor survey. I answered the questions in the survey, and then he gave me the choice of 3 prizes. That's where I stopped and realized that this coul

  • How to add the first non-empty cell (text) in a row

    I have a table of several lines of contact details (phone, cell phone, fax and email) of people. I'm using these data to a data merge using an exported csv file and must include only the text (phone numbers and/or email) that is not empty. Column A -

  • Change the processor of my Lenovo z480

    Hi allI have lenovo z480 i5.I would like to know the i5 and i7 processors compatible for my laptop.Its specifications are: Part numberQTY.DescriptionGoods codeRepairableReplacement partsImage1025003011

  • HP 15-af008nm: unknown device from hp 15-af008nm on win 10

    After the upgrade to windows 10... and installation of latest win 10 drivers of hp support assistant... Windows update tries to download and install some hp another device driver and does not have 2 times... After that, no further attempt tried Howev

  • an instance name is output

    Hello It's my first serious encounter with lives and I'm in doubt already. I have a functional overall that I need for the different user interfaces. So I converted me vi a living and use the reference to the case of need. I noticed that everytime I