Problem with StyleManager in Flex Data Services Project

OK, weird stuff here. If you make a new base and the attempt to use StyleManager (to load comiles CSS when running) it works... in other words, it works:

Mx.styles import. *;
StyleManager.loadStyleDeclarations ("styles/test_1.swf")

However, try to create a simple Flex Data Services project and use the same code and for some reasons, you do not see as StyleManager method loadStyleDeclarations, but everything seems to be there! still unknown, leave within the Flex Data Services project, you can call us StyleManager.as and see clearly that loadStyleDeclarations is here. Is this a bug or am I a horrible configuration problem? I tried this on another machine with similar results. Help would be greatly appreciated, at least to confirm others see the same problem...

c

OK, fixed it... you need to update of the SDS to 2.0.1 and Flex 2.0.1 update main course. Pretty obvious.

Tags: Flex

Similar Questions

  • Error creating New flex data services project

    Hello
    Error: Invalid server root. Flex - config.XML or company flex - services.xml must exist in the WEB-INF/flex folder in the root of the server.

    Try to create flex project with Weblogic8.1 as the server j2ee services data, but am getting the error above in the screen where I point to the root of the server.
    I deploy flex on weblogic.

    I'd appreciate any help.
    Thank you

    Sun

    Hello

    The root of the server must be the parent of the WEB - INF folder. So, in your case, I think that the root server must be:

    C:\bea81SP5\user_projects\applications\dcgsaApplication\dcgsAdaptersWeb

    Give that a shot and let me know if it works.

    Thank you

    NJ
    Flex Builder team

  • Flex Data Services integrated into Oracle Web Service Proxy

    I am trying to invoke a service proxy web created with Oracle JDeveloper IDE via Flex Data Services.
    I created an assembler class and defined actionscript objects that are required to serialize web service data and then call the dataservice with the id provided in the datamanagement.config file.

    When I try to debug the application, the class of the assembler is not affected, I added a breakpoint in the class, but on beforehand the exception is already thrown.

    Appears in the following stackTrace:
    [Flex] Order receipt: TCCommand [Cmd: 0, MethodName: null, TrxID: 3.0]
    [Flex] Has started the transaction using jndi name: java: comp / UserTransaction
    [Flex] Transaction committed
    [Flex] Response of the AMF financial/RTMP serialization
    Version: 3
    (Order method = _error (0) trxId = 3)
    (Print object #0 'flex.messaging.messages.ErrorMessage')
    rootCause = null
    destination = "dossierCreation".
    headers = (1 item)
    correlationId = "823B7A23-8463-0D24-0D39-A7FF8080B3A7."
    faultString = "there is an error unhandled on the server. javax/xml/rpc/ServiceFactory.
    messageId = "DF26CC97-B619-EAB1-191F-3FF02B998D49."
    faultCode = "Server.Processing".
    timeToLive = 0.0
    extendedData = null
    faultDetail = null
    clientId = "DF26CC00-580E-7285-F10F-720471C6BBE5".
    timestamp = 1.192524481046E12
    body = null

    I found the problem, I had to configure JOTM in my tomcat server to allow transactions.

  • problem with the background intelligent transfer service

    My computer is current only. I checked to see if a problem happens and ran the following messages:
    Potential of database of Windows Update Error 80070002 detected 0 x
    Windows Update needs to be repaired
    Problem with (BITS) Background Intelligent Transfer Service
    I'm using Windows 7 Home Basic Edition
    Service Pack 1
    64-bit operating system

    reference http://support.microsoft.com/kb/910336

  • Flex Data Service and its content

    Hello
    Can someone tell me which folders and files you have on the flex data service after the installation.

    Thank you

    Sun

    You can Flex folder in flex.war
    Dim

  • Problem with iPhone 6 more 'no service '.

    update my iPhone iOS IOS 10 9.3.5 6 more. not always shows 'no service' him! No phone call, no data after only came out of my toolbox.and signal is after about 10 to 20 minutes. But never happened before with iOS 9.3.4 and earlier versions. Has happened with 9.3.5 iOS and iOS 10. And now another problem with my phone after updating to iOS 10. The above icons on my phone are all disappear. Something like Bluetooth battery icon battery percentage and cellular clock are all disappear.

    Have you ever tried the General troubleshooting steps?

    1 force restart the phone now sleep and home for 10 seconds, button until the Apple logo comes back again. You won't lose data.

    2. in case that does not work, set back to factory settings, without using the last backup. Test the phone. If it works, restore the backup.

    Use iTunes to restore your device to factory settings - Support Apple iOS

    3. If the factory reset does not help, get the phone checked by Apple:

    Launch a service request

    Find an Apple authorized service provider

    Make an appointment at the Apple Store

  • The problem with Windows update - automatic updates service won't start not (error 126)

    original title: the problem with Windows update

    Please help me to get Windows Update operational return.

    XP Media Center Edition, Version 2002, SP3

    Had a problem with "Generic host process for Win32 has encountered a problem and needs to close."  Follow-up of the instructions on this link:
    http://support.Microsoft.com/kb/931852

    Seems to have cleared the error message.  So far so good.

    However, now a Windows Update does not work.  Security Center Windows were told to go to control panel > system and use the Automatic Updates tab.  But, if I go to control panel > system, the Automatic Updates tab does not appear.

    I also went to the control panel > Services.  Tried to start the automatic updates service.  Received this error message: could not start the service automatic updates on Local computer.  Error 126: The specified module could not be found

    I already followed several instructions on this subject:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-windows_update/cannot-access-Windows-automatic-update-after/aeaec175-01f4-47ed-8F97-55b854af4220

    In the thread above, I was following the post on 30 August.  According to Option A, I completed step 5 for the uninstallation of McAfee Security.  At this time, my network card has stopped working.  On the recommendation of the officer, I posted to the Malwarebytes forum.  The officer determined Malwarebytes that I don't have a malicious software.  I ended up posting on forum McAfee to get my network card works again.  Then I reinstalled McAfee and start to run Windows Update.

    I started with Option A, step 8 to reset Internet Explorer using http://support.microsoft.com/kb/923737.  The difficulty it has worked very well.

    Then Option A, step 9 says reset Windows Update using http://support.microsoft.com/kb/971058.  When I ran the difficulty in default or aggressive mode, I got an error message saying: he cannot start wuauserv.  The message asks me to verify that the user has privileges to take this step.  Well, I checked through user accounts who am the only one user set up on this PC and I have administrator privileges.  Help me please run this difficulty or recommend another way to get Windows Update works again.

    [1]... looks like you are saying that my system is so wet that a clean install is the (only?) way to go.

    [2] if I do a clean install, not only what I need to reinstall Windows and all my applications, I also have to reinstall the drivers... Etc. ?

    [3] I think I have the disks supplied with the PC system. Is it better to use than to use the recovery partitiion?

    [4A]... is there a possibility that some of [my data are] infected?

    [4] preventing me from simply infect the whole PC again?

    A1. Yes, and it was my recommendation in August, too.

    A2. Yes.

    A3. Only not really well using the restore Partition hidden to make the "destructive recovery" will include all drivers, etc., that have been installed at the factory.

    A4a. Yes, a real possibility.

    A4b. You run at least three 3 tests on the backup data before restoring one (1) with your installed & updated up-to-date anti-virus application (for example, Microsoft Security Essentials) and two 2 with good reputation, free online scans (e.g., ESET;) Bit Defender; Kaspersky; HouseCall; (F - Secure).

    If you have saved your data on CD/DVD, the disc scanner. If you have backed up your data to a flash drive, SD card, or another external drive AND KB971029 is installed, analyze the drive.

    If you have any questions or need additional help, please start a new thread in this forum: http://answers.microsoft.com/en-us/windows/forum/windows_xp-system

    Once again, good luck!

  • Problem with iterator and EJB data control

    My project components:

    JDeveloper 12.1.3

    Back end & the intermediate layer, JPA, EJB 3, controls data EJB

    JSF pages simple front end (no fragment), bounded task flow

    Hello

    I have a weird problem with iterators in my project, project using EJB 3 & JPA and EJB data controls

    When the user come to a page (this page is part of a stubborn workflow) and add a record to a table (linked to an iterator) and without saving changes, leave the page (means output delimited task flow)

    do something else and again back to the first page iterator always keep this line is entry and it cause problems in my system

    If I close the browser and come to this page for sure the line is not there

    I expect when the user leaving a stubborn workflow each thing belongs to this workflow should be deleted. Is this true?

    Or someone has the same problem? Any suggestions / or work around?

    Respect of

    Mohsen

    Have you read the link I posted? Have you named the BA a transactional data control?

    When you leave the workflow you issue a rllback and the new line should have disappeared.

    Timo

  • Problem with transmission of the data in table between a driver and a method.

    I'm having a problem with a project for school. We want to take the data in a table, we create in our driver, pass it to the method, do something for her and return the data to the driver. Well, I still get the same error message and after looking at dozens of sites, it seems that I think that I have the correct code... but I still get the same error message. Here is the error message that I've been doing.
    * ola1driver.java:35: get() in ola1method may apply to (char [] [])
    x.get (Dar);
    (upwards arrow pointing between x and get) *.

    I'd appreciate any help I'm leaving research to simply looking at my code to try to find the error. My wife things I'm going nuts at the moment.

    Here are my two files, the first is the driver and the second method

    Take a 2D array and send the data to a method, and then put it back
    import java.util.Scanner;
    class ola1driver
    {
    Public Shared Sub main (string args [])
    {
    Entrance to the parser = new Scanner (System.in);
    ola1method x = new ola1method();
    Char [] [] dar = new char [10] [100];
    char dat_input;

    Set up the loop at the entrance a table of 10 x 100 with data imported from a dat file
    for (int i = 0; i < 10; i ++)
    {
    for (int j = 0; j < 100; j ++)
    {
    dat_input = input.next () .charAt (0);
    Dar [i] [j] = dat_input;
    }
    }
    Send the array to the method and displays the original table to compare the return data
    x.Set (Dar);
    for (ip int = 0; ip < 10; ip ++)
    {
    for (int jp = 0; jp jp; < 100 ++)
    {
    System.out.printf ("%n", dar [ip] [jp]);
    }
    }

    To get the data of the method and then print the data in the table opposite
    x.get (Dar);

    for (int r = 0; r < 10; r ++)
    {
    for (int c = 0; c < 100; c ++)
    {
    System.out.printf ("%n", dar [r] [c]);
    }
    }
    }
    }

    Now the method;

    Method to receive a 2D painting, reverse the data and then put it back
    class ola1method
    {
    Char [] [] ar = new char [10] [100];
    Char [] [] rar = new char [10] [100];

    public void set (char [] [] ar)
    {
    / * To reverse the entries in the table
    to prove that real return
    data was transferred between the driver
    and the method * /
    IR int = 0;
    for (int i = 9; I have > 0; i-)
    {
    for (int j = 100; j > 0; j-)
    {
    int jr = 0;
    RAR [ir] [Jr.] is ar [i] [j];.
    Jr ++;
    }

    IR ++;
    }
    }
    Return the data to the driver
    public char [] [] get()
    {
    return of rar;
    }
    }

    Published by: Seamus on February 20, 2011 08:25

    Published by: Seamus on February 20, 2011 08:26

    Seamus wrote:
    I thought that I sent my method by using the x.set table, and then by calling the reversed with the x.get table.

    x.Set (someArray) in fact to 'send an array to the method '.

    And if x.get () is declared to return an array, then, Yes, it indeed 'retrieve a table. "

    However, these are two completely different methods. The get method doesn't know something on the table sent via the set method unless the game puts a place who knows himself. For example, something like this:

    public class X {
      private int[] arr;
    
      public void set(int[] arr) {
        this.arr = arr;
      }
    
      public int[] get() {
        reverse arr and return it
      }
    }
    
    public class Main {
      public static void main(String[] args) {
        int[] arr1 = {1, 2, 3};
        X x = new X();
        x.set(arr);
        int[] arr2 = x.get();
      }
    }
    

    However, this seems a bit unusual. It is not clear from your initial post, but looks like it is supposed to be a single method that takes the array and it reverses. If so, you could either simply invert the table and returns nothing, since the variable of the appellant and the parameter of the method will all be pointing to the same table object, or you could return a reference to the table that you have received and reversed, or you can copy the table, reverse the copy and return a reference to that.

    I don't know what your needs are, but the point is that it is more common to call a single method to do something like that, rather than separate set() and get() methods.

    Edited by: jverd February 20, 2011 09:36

    Edited by: jverd February 20, 2011 09:37

  • Problem with the locale and date serialization in java

    Hello
    I have a serious problem with Flex dates and need a solution as soon as possible. I have a Flex 2 front end that uses remote java objects to talk to the database. I have a Flex 2 DateFields form. The dates of these are stored in the datebase. However I need the dates to be stored exactly as users them selects regardless of the locale.

    What is happening at the moment is we are developing in Ireland and in selecting a date, filling an actionscript VO which is in turn transformed into a java VO (on a server in the United States) and when the date is stored in the database is one day before the date that we have selected. It seems that the flash player uses the locale with a time of midnight (GMT) users. When place the conversion to the EAST, it stores the date (GMT - 5), which causes the being Eve.

    I changed my flex code to set the date at 12: 00 time even if he converts and subtracts 5 hours it will always be the same date. But this does not work, it seems to work sometimes and not others and is very inconsistent. I can't understand why it works sometimes.

    Its makes me mental - someone has experienced this problem or did someone knows a solution PLEASE?
    Thank you

    I'm not very familiar with your specific question, but I wonder if a combination of store dates as the first milliseconds since midnight January 1, 1970, universal time, stored as a string and then when presenting the data are aware, locale would solve the problem.

  • There was a problem with the Windows Live Hotmail service (a network connectivity problem temporary has nothing to do with your computer).

    There was a problem with the Hotmail service (a network connectivity problem temporary has nothing to do with your computer). Please try again

    . I really need to fix this! Help!
    original title: no answer not before!

    track every step!

    no change!
    I am getting really worried about it!

    Please ask in the forum Hotmail. We do not use it. We cannot answer your question.

    Windows Live Solution Center Hotmail Forum
    http://windowslivehelp.com/forums.aspx?ProductID=1

  • Huge problem with my account and Customer Service

    I like the software and products, but I have to say that the customer service was the worst I have experienced in a long time.  The last 5 days have been hell.  Let me explain.  My sub was scheduled to end on 26/11/2015.  He was going to renew and I frankly, as a student, not the means to do so at the price.  When I explained my problem to an agent, she said she would take off auto renew and said: I can re - register with the current promotion.  I thought wow that's great, that she sent me an email of confirmation of this.  11/26 so I renew now, everything seemed well on my end. When I looked at my bank statement I see the full price.  I chat with 2 people who said there was nothing that they could do for me is the price, and I explained to him that I understood, but the agent told me otherwise.  A 3rd officer said as she promised it we will honor it.  So far, I've been very happy.  It reimburses the renewal and implements the new sub 09/12/2015.  Here's where the hell is happening.

    I'll connect and I see this:

    adobe ss1.PNGadobe ss2.PNG

    Why he asked me to but if I already have my renewed sub?  Then I see the second photo and I think why are there 2 CHP schemes.

    Of course, I start Muse and get a notification saying that I can't use my fonts typekit because of my plan and my creative space cloud is only 2 GB when it should be 20 GB.

    12/10 - I chat with someone, they say that it's the app.  I tried to explain things on adobe.com has not looked right and that could be the problem.  I said that there was a problem processing the order and that they need 24 hours to update.  The case, I was told, should be wound.

    12/11-after checking that I still have the same problem after 24 hours.  I discuss with someone more... they think that his app problem.  I connect several times and the problem remains.  They say they see 20 GB of space on my account but the mobile apps, nor my creative application cloud show that.  Yet once, they say they will get worse and it will take a day.  At this point, I'm worried because I have work to do and the customer wants the Web site with the police agreed.

    12/12 I'm in Office of lightroom and the software tells me that my sub has expired.  I have check the lightroom mobile and see the same thing.  Now I can't synchronize my lightroom library so that I can work.  I discuss it again.

    They thing its a problem app and I sign in several times.  Nothing.  I tell them "Please help me, I depend on this ingration and will lose my job if I can't work in all devices".  Friendly but no help.  They said that he was sent to the highest priority and that's all they could do.

    12/13 I check and of course, nothing has changed, well, I saw 20 GB of space on my mobile apps.  But the creative desktop application cloud always says 2 GB. No lightroom and not Muse type fonts kit.  I chat with someone, and they say that it is a technical problem and I have to wait until Monday to get anything resolved.

    12/14 - I spoke with someone and explained what happened.  They would transfer the chat support, but apparently at 12 am EST they would be unavailable for 2 hours.  Then he gave me a number to call.  I called the number and gave them they case # all this... He wanted problem draw apps.  I said that they all work and that there was a problem in the recognition of my membership.  I explained the screenshots and still nothing.  He wanted to deal with the issues the blow by blow.  I have a problem with Lightroom, so he wants to send me the Photo team, do not understand that this is a symptom of something of a bigger problem. I decide I'll try Photo team, at least, then I could fix it and work.  The guys on the team photo was very nice, even if he could tell that I was very frustrated.  He explained that there might be a problem with the application.  So I installed on another computer.  He made a screenshare and how I showed him the tab account and 'ready to buy' screen that I saw.  I am enrolled in my application with his account creds and understood that there is no question here.  He then said that I was right and that there was a problem of ID with my ID and he needed that escalate to this team.  That it can take 24-48 hours to fix on the back.

    How am I supposed to be creative and use these applications with all this back.  Escalations will teams do not look at the problems, agents who are really just read from a script, it feels and have no way to help with an unusual problem.  Everything is stereotyped and they want to do the same procedures, no matter how many times you already have or how from a common sense point of view really does not apply.  It made me rethink where the it products worth despite this lack of service, help and perhaps delays.  I could lose a job because of it, and I paid for the entire year already.  I paid and still cannot use my services entirely.  I apologize for the length of the present, I have not nowhere else to turn.  Everyone knows this?  Can someone on staff help?  Here, I'm desperate.

    Case #:

    0217314429

    0217297716

    0187326545

    0187327032

    0187327032

    Thank you

    Jay

    Thank you for checking on him KGLAD.

  • ESXi5 - problems with NFS and the data copy store

    Hello world

    I recently moved into a solution fully virtualized for my network, 3 x 5 ESXi servers running on our GigE network.

    First of all, I use all free software from VMware, so vCentre etc is out of the question.

    I have major problems when you try to copy files between:

    • NAS (NFS) to ESXi 5 host
    • ESXi host to the NAS (NFS) 5
    • And using VMware converter between ESXi 5 hosts converter Standalone

    The problem is that whenever I'm transfer between hosts I am struck with the horrible network performance. Even if I use GigE adapters and switches between my hosts I will receive no more than 12 Mbps speed of transfer real (100 Mbit/s connect?).

    On the flipside, if I use virtual guests on the same exact host I can happily transfer data between my NAS (NFS) servers with speeds between 60-150MBps ~ (1000 Mbps).

    Examples:

    Speed of 10 Mbps of transfer of ESXi_1 copy OF NFS data store share ~

    Server2008 (comments, located on ESXi_1) copy OF NFS 75MBps transfer rate ~.

    Server2011 SBS (comments, located on ESXi_2) copy OF Windows share 2008 (ESXi_1) transfer speed 120MBps. ~

    ESXi_2 copy OF NFS data store share transfer rate 5MBps ~.

    Attached (wtf.png) example:

    I copy a file that is located on our NFS share first, it's a 3 GB file to the copy within guest OS (2008), it is indicated in blue - top speed of 80MBps

    I copy the same exact NFS share for the host (datastore1), this is indicated in red - top speed of 7.5Mbps

    The third transfer/s (green) is between the customers of windows on different hosts, transfer a 6 GB file as well as a copy of the 360 MB file - transfers two happily send to GigE speeds with a peak around 40MBps

    I can reflect these results across the three servers without modification. Copies between you will be able to run well enough (not exactly 100% use of GigE) but at the moment where I try to do something to the data store it will just choke at all about a 100 Mbps connection speed.

    The final image (wot.png) confuses me beyond belief. I would try to explain what is happening here:

    • This image shows two times the same exact file transfers, except even machine PHYSICS
    • The first (red) transfer between the ESXi_2 host server and the NFS share using the browser data store and direct download - its top speed is around 8MBps
    • The second (green) transfer between a guest server 2008 running on ESXi_2, download the same file exactly at the exact location using vSphere Client. I mean the same EXACT file; It connects to the NFS drive by the data store ESXi_2 (NFS share).

    Why on earth can my comments directly download a file on a data store connected to NFS GigE clocked and yet the same exact host cannot go anywhere near corresponding to these speeds?

    As indicated in the title, the problem seems to happen whenever I use ESXi datastore browser on the host computer using vSphere Client or between browser datastore ESXi to/from an NFS share.

    No one knows what might happen?

    Is there some sort of restriction on the transfer of files between a host and shared NFS ESXi 5? Whence this bottleneck?

    Thanks in advance for all the help/ideas that guys can throw my way.

    P.S. Sorry for the wall of text, I really wanted to give as much information. as possible.

    What type of storage you have locally on the host computer?

    I have seen this problem with write-through controllers: http://wahlnetwork.com/2011/07/20/solving-slow-write-speeds-when-using-local-storage-on-a-vsphere-host/

  • Problem with the filtering of data

    Hello!

    I have a problem with filtering the data in my table and don't know how to solve it properly.

    I created a tabular presentation, my table, a few text fields that are used as input for the various columns of the filter and a filter button that submits the page.

    The problem appeared when I try to filter a column that has null values in the table and is editable... it's that I have found.
    When I press the button I get no line, although there should be some.

    It's the submitted query:

    Select

    "MSR_PRD_ID,"

    "SRC_STM_ID,"

    "ID."

    "ISIN"

    ...

    of ' #OWNER # '. " IZV_SLOG_DET ".

    WHERE

    Lower (MSR_PRD_ID) = low (nvl (: P7_X_MSR_PRD_ID, MSR_PRD_ID)) and

    Lower (SRC_STM_ID) = low (nvl (: P7_X_SRC_STM_ID, SRC_STM_ID)) and

    lower (ISIN) = low (nvl (: P7_X_ISIN, ISIN)) and

    ...

    The nvl function is used so that if the user leaves the field blank it filters by fields that have entry only.

    Does anyone know how I could get around this?


    Kind regards

    Ivan

    LOWER (NVL (ISIN, 'Y')) = LOW (NVL (: P7_X_ISIN, BASS (NVL (ISIN, 'Y'))))

    Denes Kubicek

    -------------------------------------------------------------------

    http://deneskubicek.blogspot.com/

    http://www.Apress.com/9781430235125

    https://Apex.Oracle.com/pls/Apex/f?p=31517:1

    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494

    -------------------------------------------------------------------

  • Problem with analytical function for date

    Hi all

    ORCL worm:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production."
    AMT for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    I have a problem with the analtical for the date function. I'm trying to group records based on timestamp, but I'm failing to do.
    Could you please help me find where I'm missing.
    This is the subquery. No issue with this. I'm just posting it for reference. 
    select sum(disclosed_cost_allocation.to_be_paid_amt) amt,
        substr(reference_data.ref_code,4,10) cd,
        to_char(external_order_status.status_updated_tmstp, 'DD-MON-YYYY HH24:MI:SS') tmstp,
        DISCLOSED_CLOSING_COST.DISCLOSED_CLOSING_COST_ID id
      FROM Deal.Fee_Mapping_Definition ,
        Deal.Fee_Index_Definition ,
        Deal.Fee_Closing_Cost_Item,
        Deal.Closing_Cost,
        Deal.Document_Generation_Request,
        deal.PRODUCT_REQUEST,
        deal.External_Order_Request,
        deal.External_Order_Status,
        deal. DISCLOSED_CLOSING_COST,
        deal.DISCLOSED_COST_ALLOCATION,
        deal.reference_data
      WHERE Fee_Mapping_Definition.Fee_Code                    = Fee_Index_Definition.Fee_Code
      AND Fee_Index_Definition.Fee_Index_Definition_Id         = Fee_Closing_Cost_Item.Fee_Index_Definition_Id
      AND Fee_Closing_Cost_Item.Closing_Cost_Id                = Closing_Cost.Closing_Cost_Id
      AND CLOSING_COST.PRODUCT_REQUEST_ID                      = Document_Generation_Request.Product_Request_Id
      AND closing_cost.product_request_id                      = product_request.product_request_id
      AND Product_Request.Deal_Id                              = External_Order_Request.Deal_Id
      AND external_order_request.external_order_request_id     = external_order_status.external_order_request_id
      AND external_order_request.external_order_request_id     = disclosed_closing_cost.external_order_request_id
      AND DISCLOSED_CLOSING_COST. DISCLOSED_CLOSING_COST_ID    = DISCLOSED_COST_ALLOCATION.DISCLOSED_CLOSING_COST_ID
      AND Fee_Index_Definition.Fee_Index_Definition_Id         = Disclosed_Closing_Cost.Fee_Index_Definition_Id
      AND Fee_Mapping_Definition.Document_Line_Series_Ref_Id   = Reference_Data.Reference_Data_Id
      AND Document_Generation_Request.Document_Package_Ref_Id IN (7392 ,2209 )
      AND External_Order_Status.Order_Status_Txt               = ('GenerationCompleted')
      AND Fee_Mapping_Definition.Document_Line_Series_Ref_Id  IN ( 7789, 7788,7596 )
      AND FEE_MAPPING_DEFINITION.DOCUMENT_TYPE_REF_ID          = 1099
      AND Document_Generation_Request.Product_Request_Id      IN
        (SELECT PRODUCT_REQUEST.PRODUCT_REQUEST_id
        FROM Deal.Disclosed_Cost_Allocation,
          Deal.Disclosed_Closing_Cost,
          DEAL.External_Order_Request,
          DEAL.PRODUCT_REQUEST,
          Deal.Scenario
        WHERE Disclosed_Cost_Allocation.Disclosed_Closing_Cost_Id = Disclosed_Closing_Cost.Disclosed_Closing_Cost_Id
        AND Disclosed_Closing_Cost.External_Order_Request_Id      = External_Order_Request.External_Order_Request_Id
        AND External_Order_Request.Deal_Id                        = Product_Request.Deal_Id
        AND product_request.scenario_id                           = scenario.scenario_id
        AND SCENARIO.SCENARIO_STATUS_TYPE_REF_ID                  = 7206
        AND product_request.servicing_loan_acct_num              IS NOT NULL
        AND product_request.servicing_loan_acct_num               = 0017498379
          --AND Disclosed_Cost_Allocation.Disclosed_Cost_Allocation_Id = 5095263
        )
      GROUP BY DISCLOSED_CLOSING_COST.DISCLOSED_CLOSING_COST_ID,
        External_Order_Status.Status_Updated_Tmstp,
        Reference_Data.Ref_Code,
        disclosed_cost_allocation.to_be_paid_amt
      order by 3 desc,
        1 DESC;
    
    Result:
    2000     1304-1399     28-JUL-2012 19:49:47     6880959
    312     1302     28-JUL-2012 19:49:47     6880958
    76     1303     28-JUL-2012 19:49:47     6880957
    2000     1304-1399     28-JUL-2012 18:02:16     6880539
    312     1302     28-JUL-2012 18:02:16     6880538
    76     1303     28-JUL-2012 18:02:16     6880537
    
    
    But, when I try to group the timestamp using analytical function,
    
    
    select amt 
            ,cd 
            ,rank() over(partition by tmstp order by tmstp desc) rn 
    from 
    (select sum(disclosed_cost_allocation.to_be_paid_amt) amt,
        substr(reference_data.ref_code,4,10) cd,
        to_char(external_order_status.status_updated_tmstp, 'DD-MON-YYYY HH24:MI:SS') tmstp,
        DISCLOSED_CLOSING_COST.DISCLOSED_CLOSING_COST_ID id
      FROM Deal.Fee_Mapping_Definition ,
        Deal.Fee_Index_Definition ,
        Deal.Fee_Closing_Cost_Item,
        Deal.Closing_Cost,
        Deal.Document_Generation_Request,
        deal.PRODUCT_REQUEST,
        deal.External_Order_Request,
        deal.External_Order_Status,
        deal. DISCLOSED_CLOSING_COST,
        deal.DISCLOSED_COST_ALLOCATION,
        deal.reference_data
      WHERE Fee_Mapping_Definition.Fee_Code                    = Fee_Index_Definition.Fee_Code
      AND Fee_Index_Definition.Fee_Index_Definition_Id         = Fee_Closing_Cost_Item.Fee_Index_Definition_Id
      AND Fee_Closing_Cost_Item.Closing_Cost_Id                = Closing_Cost.Closing_Cost_Id
      AND CLOSING_COST.PRODUCT_REQUEST_ID                      = Document_Generation_Request.Product_Request_Id
      AND closing_cost.product_request_id                      = product_request.product_request_id
      AND Product_Request.Deal_Id                              = External_Order_Request.Deal_Id
      AND external_order_request.external_order_request_id     = external_order_status.external_order_request_id
      AND external_order_request.external_order_request_id     = disclosed_closing_cost.external_order_request_id
      AND DISCLOSED_CLOSING_COST. DISCLOSED_CLOSING_COST_ID    = DISCLOSED_COST_ALLOCATION.DISCLOSED_CLOSING_COST_ID
      AND Fee_Index_Definition.Fee_Index_Definition_Id         = Disclosed_Closing_Cost.Fee_Index_Definition_Id
      AND Fee_Mapping_Definition.Document_Line_Series_Ref_Id   = Reference_Data.Reference_Data_Id
      AND Document_Generation_Request.Document_Package_Ref_Id IN (7392 ,2209 )
      AND External_Order_Status.Order_Status_Txt               = ('GenerationCompleted')
      AND Fee_Mapping_Definition.Document_Line_Series_Ref_Id  IN ( 7789, 7788,7596 )
      AND FEE_MAPPING_DEFINITION.DOCUMENT_TYPE_REF_ID          = 1099
      AND Document_Generation_Request.Product_Request_Id      IN
        (SELECT PRODUCT_REQUEST.PRODUCT_REQUEST_id
        FROM Deal.Disclosed_Cost_Allocation,
          Deal.Disclosed_Closing_Cost,
          DEAL.External_Order_Request,
          DEAL.PRODUCT_REQUEST,
          Deal.Scenario
        WHERE Disclosed_Cost_Allocation.Disclosed_Closing_Cost_Id = Disclosed_Closing_Cost.Disclosed_Closing_Cost_Id
        AND Disclosed_Closing_Cost.External_Order_Request_Id      = External_Order_Request.External_Order_Request_Id
        AND External_Order_Request.Deal_Id                        = Product_Request.Deal_Id
        AND product_request.scenario_id                           = scenario.scenario_id
        AND SCENARIO.SCENARIO_STATUS_TYPE_REF_ID                  = 7206
        AND product_request.servicing_loan_acct_num              IS NOT NULL
        AND product_request.servicing_loan_acct_num               = 0017498379
          --AND Disclosed_Cost_Allocation.Disclosed_Cost_Allocation_Id = 5095263
        )
      GROUP BY DISCLOSED_CLOSING_COST.DISCLOSED_CLOSING_COST_ID,
        External_Order_Status.Status_Updated_Tmstp,
        Reference_Data.Ref_Code,
        disclosed_cost_allocation.to_be_paid_amt
      order by 3 desc,
        1 DESC);
    
    Result:
    312     1302            1
    2000     1304-1399     1
    76     1303            1
    312     1302            1
    2000     1304-1399     1
    76     1303            1 
    
    
    Required output:
    312     1302            1
    2000     1304-1399     1
    76     1303            1
    312     1302            2
    2000     1304-1399     2
    76     1303            2
    THX
    Rod.

    Hey, Rod,

    My guess is that you want:

    , dense_rank () over (order by  tmstp  desc)  AS rn 
    

    RANK means you'll jump numbers when there is a link. For example, if all 3 rows have the exact same last tmstp, all 3 rows would be assigned number 1, GRADE would assign 4 to the next line, but DENSE_RANK attributes 2.

    "PARTITION x" means that you are looking for a separate series of numbers (starting with 1) for each value of x. If you want just a series of numbers for the entire result set, then do not use a PARTITION BY clause at all. (PARTITION BY is never required.)
    Maybe you want to PARTITIONNER IN cd. I can't do it without some examples of data, as well as an explanation of why you want the results of these data.
    You certainly don't want to PARTITION you BY the same expression ORDER BY; It simply means that all the lines are tied for #1.

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and also publish outcomes from these data.
    Explain, using specific examples, how you get these results from these data.
    Simplify the problem as much as possible.
    Always tell what version of Oracle you are using.
    See the FAQ forum {message identifier: = 9360002}

    Published by: Frank Kulash, August 1, 2012 13:20

Maybe you are looking for