RMAN_RMAN-20242

Hi All,
  Iam getting this Error while validating my last archive logs backups . what is the problem here can any one tell me clearly where i need to check
further.
DB VERSION: 11.2.0.3
RMAN> RESTORE ARCHIVELOG  from time 'sysdate -1' VALIDATE;
Starting restore at 29-NOV-13
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=1140 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=1266 device type=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: SID=1391 device type=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: SID=1515 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 11/29/2013 06:08:49
RMAN-20242: specification does not match any archived log in the repository
Thanks,

RMAN> list backup  of archivelog from time 'sysdate -1';
specification does not match any backup in the repository
276     1    274     A 27-NOV-13
        Name: +FRA01/DG_1/archivelog/2013_11_28/thread_1_seq_274.601.832639657
You have not any backup of archived logs and any archived logs for yesterday.
Then how to RMAN will  validate restore archived logs from backup? There haven't any backup.
Did you understood ?
RMAN-20242: specification does not match any archived log in the repository
select log_mode from v$database;
Did you  stopped database yesterday?
Regards
Mahir M. Quluzade

Similar Messages

  • RMAN-20242: specification does not match any archive log in the recovery ca

    Hi,
    I'm working with an 9i Oracle RAC (yes, I know this version is out of support...). I'm launching my backup from node 1 with this script
    run {
    sql 'alter system switch logfile'
    sql 'alter system archive log current'
    allocate channel TSM1 type 'sbt_tape' connect *
    parms='ENV=(TDPO_OPTFILE=/home/adsmadm/rman_INF01T01/opt/tdpo.opt)'
    allocate channel TSM2 type 'sbt_tape' connect *
    parms='ENV=(TDPO_OPTFILE=/home/adsmadm/rman_INF01T01/opt/tdpo.opt)'
    backup
    format 'brman_arch_%s_%p'
    (archivelog like '/logs/bbdd/oracle/INF01T01/archiver/%' channel TSM1 delete input )
    (archivelog like '/logs/bbdd/oracle/INF01T03/archiver/%' channel TSM2 delete input )
    release channel TSM2
    release channel TSM1
    And fail with this error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 08/13/2012 22:36:43
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specification does not match any archive log in the recovery catalog
    I've take a look to the archives directories and both nodes have archives:
    ora10g:/opt/ora10g > ls -lrt /logs/bbdd/oracle/INF01T01/archiver
    total 97896
    -rw-r----- 1 ora10g dba 2048 Aug 13 22:36 T0001S00000061440648489222.ARC
    -rw-rw---- 1 ora10g dba 38132224 Aug 13 22:36 T0001S00000061430648489222.ARC
    -rw-r----- 1 ora10g dba 11984896 Aug 13 22:36 T0002S00000044040648489222.ARC
    ora10g:/opt/ora10g > ls -lrt /logs/bbdd/oracle/INF01T03/archiver
    total 392984
    -rw-r----- 1 ora10g dba 49364992 Mar 24 2009 T0002S00000007020648489222.ARC
    -rw-r----- 1 ora10g dba 49364992 Mar 25 2009 T0002S00000007030648489222.ARC
    -rw-rw---- 1 ora10g dba 19314688 Mar 25 2009 T0002S00000007040648489222.ARC
    -rw-rw---- 1 ora10g dba 4733952 Mar 25 2009 T0002S00000007050648489222.ARC
    -rw-rw---- 1 ora10g dba 4608 Apr 09 2009 T0002S00000007440648489222.ARC
    -rw-rw---- 1 ora10g dba 2541056 Sep 26 2009 T0002S00000015420648489222.ARC
    -rw-rw---- 1 ora10g dba 49373184 Sep 28 2009 T0002S00000015430648489222.ARC
    -rw-rw---- 1 ora10g dba 3410432 Feb 11 2010 T0002S00000018680648489222.ARC
    -rw-rw---- 1 ora10g dba 599552 Feb 12 2010 T0002S00000018710648489222.ARC
    -rw-rw---- 1 ora10g dba 6574080 Mar 03 2010 T0002S00000019200648489222.ARC
    -rw-rw---- 1 ora10g dba 1663488 Mar 08 2010 T0002S00000019340648489222.ARC
    -rw-rw---- 1 ora10g dba 431104 Apr 07 2010 T0002S00000020160648489222.ARC
    -rw-rw---- 1 ora10g dba 13811712 Apr 19 2010 T0002S00000020460648489222.ARC
    I've tried to made a crosscheck but, only found node1 archives:
    RMAN> change archivelog all crosscheck;
    validation succeeded for archived log
    archive log filename=/logs/bbdd/oracle/INF01T01/archiver/T0001S00000061430648489222.ARC recid=10685 stamp=791246196
    validation succeeded for archived log
    archive log filename=/logs/bbdd/oracle/INF01T01/archiver/T0001S00000061440648489222.ARC recid=10686 stamp=791246196
    validation succeeded for archived log
    archive log filename=/logs/bbdd/oracle/INF01T01/archiver/T0002S00000044040648489222.ARC recid=10687 stamp=791246197
    Crosschecked 3 objects
    Any idea about the way to solve it?
    Thanks in advance!
    dbajug

    Hi,
    Connect to target through rman
    crosscheck archivelog all;
    Then re run the backup. This will work if those two locations provided are archive log destinations.
    In case the issue still persists then
    Connect to target through rman
    catalog start with '/logs/bbdd/oracle/INF01T01/archiver/';
    catalog start with '/logs/bbdd/oracle/INF01T03/archiver/';
    Then re run the backup.
    Thanks,
    Vivek
    Edited by: 952807 on Aug 16, 2012 5:21 PM

  • Error RMAN-20242

    Good morning,
    When I do an incremental level0 backup I do have:
    Starting backup at 21/07/06
    released channel: bck_chan1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 07/21/2006 14:56:11
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specification does not match any archive log in the recovery catalog
    I do the archive log current, my script is
    run
    sql "alter system archive log current";
    allocate channel bck_chan1 type disk;
    backup
    incremental level = 0
    format '/orabackup/CATGRID/rman/CATGRID_%s_%p_%t_inc0.bck'
    tag 'CATGRID_fullinc_backup'
    database;
    # backup all archive logs
    backup
    filesperset 50
    format '/orabackup/CATGRID/rman/CATGRID_%s_%p_%t_arch.bck'
    (archivelog until time 'SYSDATE-1' delete input);
    release channel bck_chan1;
    any help will be very appreciate
    Fabrice

    Yes, I made an 'archive log current'
    with this command, all is working well
    RMAN> crosscheck archivelog all;
    Regards
    Fabrice

  • RMAN-20242: specification does not match any archive log in the catalog

    Dear Experts ,
    My rman script is as follows :
    4> run
    5> {
    6> allocate channel dev1 type disk format 'Z:\Rbackup\DMP\db_t%t_s%s_p%p';
    7> allocate channel dev2 type disk format 'Z:\Rbackup\DMP\db_t%t_s%s_p%p';
    8> backup database FILESPERSET 20 ;
    9> backup archivelog until time 'sysdate-1' delete all input ;
    10> release channel dev1 ;
    11> release channel dev2 ;
    12> }
    The above script is run every day at 2 PM .
    Today accidently I ran this script twice . The second run wiped out the dmp created first . In effect I lost all the archive logs of sysdate-2 to sysdate-1 . After this I took a full backup .
    Now though I have a full back , I have lost 1 days archive logs .
    Please tell me what are the consequences of this ?
    Regards
    Renjith Madhavan

    Dear ckpt .. the rman-20242 error was in a different scenario ... (sorry for the heading ) ... The one i am talking abt now didnt give any error .. back up was successful ....
    My question is what happens if I lost one days archive log though i have taken a full backup .... nothing will happen
    but if you restore any old database, which before "archives deleted" later you cannot apply. because those are not exist...
    but you have full backup then nothing to worry..
    I know this depends on the business requirements .. but could you suggest from your experience a few consequences (generic)if already backed up and those archives not exist in OS.... there is no worries on business requirements..because it is already in RMAN repositry

  • RMAN-20242 error

    I changed my script of rman involving the "backup archivelog until time 'sysdate-6' delete all input;" from sysdate-3 to sysdate-6 yesterday and then the RMAN-20242 came out, was that because my previous archivelogs had been removed then within 6 days range, the system could not find old log?
    Can I continue this scheduled script with rman?
    I have 10.2.0.2 on Redhat EL3
    Message was edited by:
    user508054
    Message was edited by:
    user508054

    Does this error associated with "RMAN-03002: failure of backup command at 11/03/2006 03:03:34", mean that all processes of backup failed or just the backup of the archivelog part failed? Because this is an incremental backup of full backup, so the datafiles were included. I also noticed that after the failed backup, there was no controlfile and spfile included. If the failure was just part of the processes, can I still obtain the controlfile/spfile backup. From the output log of the rman, it seems that the backup of controlfile/spfile run after the archivelog backup.
    Message was edited by:
    user508054

  • Rman 20242

    Dear all,
    Oracle 10.2 on AIX.
    On the production system while checking the rman log file I found the error. Rman 202042
    the backup of the database was ok but in the rman script I have added also backup of archive log files.
    run
    sql 'alter system archive log current';
    backup archivelog until time 'SYSDATE-7' delete input format '/var/backup/oracle/10.2/archive/arch_%d_%u_%s';
    Recently there was a change in the archivelog destination.
    before : /var/backup/oracle/10.2
    now it is /var/archive/oracle/10.2
    please help.
    I have also tried using crosscheck archivelog all and delete expired archivelog

    rman> report obsolete;
    gives a list of of about 20 objects which are obsolete
    rman> list archivelog all;
    gives a list of archive logs files from the archive destination which have date as mar 9 and mar 8

  • Brrestore RMAN-20242: specification does not match any archived log in the repository

    Dear all,
    When trying to restore arvhive logs which are taken through netbackup with the following command brrestore -a se1-seqLast=path  like in the image attached . It fails with the following image:

    1) crosscheck archivelog all - when the error happens here, i think this means that there are no archived redo logs in the archivelog destination?? ..or something to that nature.
    2) crosscheck copy - not sure what the other errors mean here.
    specification does not match any archived log in the repositoryI don't see the error here, it's only a msg that mean : There is no files on XXX destination, which is normal when no files found.

  • GDM not starting

    I just upgraded to GNOME 3.8 through the gnome-unstable repo, but GDM doesn't seem to be starting. The main problems seem to be that it's "unable to create drawable", that the gnome-settings-daemon is unavailable, and there are some font-config issues.
    Here is the log:
    /etc/gdm/Xsession: Beginning session setup...
    localuser:mmcmillan being added to access control list
    /etc/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- gnome-session
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-8uogYL
    SSH_AUTH_SOCK=/run/user/1000/keyring-8uogYL/ssh
    GPG_AGENT_INFO=/run/user/1000/keyring-8uogYL/gpg:0:1
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-8uogYL
    SSH_AUTH_SOCK=/run/user/1000/keyring-8uogYL/ssh
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-8uogYL
    SSH_AUTH_SOCK=/run/user/1000/keyring-8uogYL/ssh
    GPG_AGENT_INFO=/run/user/1000/keyring-8uogYL/gpg:0:1
    GNOME_KEYRING_CONTROL=/run/user/1000/keyring-8uogYL
    SSH_AUTH_SOCK=/run/user/1000/keyring-8uogYL/ssh
    GPG_AGENT_INFO=/run/user/1000/keyring-8uogYL/gpg:0:1
    (gnome-settings-daemon:20052): color-plugin-WARNING **: failed to reset xrandr-Acer Technologies-V173-LBN0C0324001 gamma tables: gamma size is zero
    ** Message: applet now removed from the notification area
    Failed to play sound: File or data not found
    (empathy:20099): libnotify-WARNING **: Failed to connect to proxy
    JS LOG: GNOME Shell started at Sun Apr 07 2013 14:06:52 GMT-0400 (EDT)
    JS LOG: Extension "[email protected]" had error: Error: extension is not compatible with current GNOME Shell and/or GJS version
    JS LOG: Extension "[email protected]" had error: Error: Strange version number (extension.js:8).
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    ** Message: applet now embedded in the notification area
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    failed to create drawable
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    [20242:20270:0407/140738:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [20242:20270:0407/140738:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [20242:20242:0407/140738:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    [20242:20301:0407/140738:ERROR:connection.cc(730)] sqlite error 19, errno -2: PRIMARY KEY must be unique
    [20242:20242:0407/140738:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    No bp log location saved, using default.
    [000:000] Browser XEmbed support present: 1
    [000:000] Browser toolkit is Gtk2.
    [000:000] Using Gtk2 toolkit
    [000:004] Starting client channel.
    [000:005] Warning(clientchannel.cc:436): Unreadable or no port file. Could not initiate GoogleTalkPlugin connection
    [000:005] Warning(clientchannel.cc:411): Could not initiate GoogleTalkPlugin connection
    [000:005] GoogleTalkPlugin not running. Starting new process...
    [000:005] Warning(pluginutils.cc:251): Failed to get GoogleTalkPlugin path. Trying default.
    [000:006] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
    [000:007] Waiting for GoogleTalkPlugin to start...
    sh: lsb_release: command not found
    [001:102] Attempting to connect to GoogleTalkPlugin...
    [001:103] Read port file, port=46498
    [001:107] Initiated connection to GoogleTalkPlugin
    [001:203] Socket connection established
    [001:203] ScheduleOnlineCheck: Online check in 5000ms
    [001:303] Got cookie response, socket is authorized
    [001:303] AUTHORIZED; socket handshake complete
    [001:305] F->C: ["fs",{"pr":"a"}]
    [001:404] F->C: ["mf","mf3.17","3.17.0.0",2,{"audioCodecs":[[103,"ISAC",1,0,16000],[104,"ISAC",1,0,32000],[9,"G722",1,64000,16000],[102,"ILBC",1,13300,8000],[0,"PCMU",1,64000,8000],[8,"PCMA",1,64000,8000],[107,"CN",1,0,48000],[106,"CN",1,0,32000],[105,"CN",1,0,16000],[13,"CN",1,0,8000],[127,"red",1,0,8000],[126,"telephone-event",1,0,8000]],"audioRtpHdrExts":[{"id":1,"uri":"urn:ietf:params:rtp-hdrext:ssrc-audio-level"}],"camDeviceName":"Unknown Camera","caps":7,"cpuArchitecture":1,"cpuCacheSize":6291456,"cpuFamily":6,"cpuFlags":["sse2","ssse3","sse4_1","sse4_2","avx"],"cpuHasSSE2":true,"cpuModel":42,"cpuSpeed":3101,"cpuStepping":7,"cpuVendor":"GenuineIntel","cpus":4,"cpusPhysical":4,"cryptoSuites":["AES_CM_128_HMAC_SHA1_80","AES_CM_128_HMAC_SHA1_32"],"dataChannelVersion":1,"effectsVersion":9,"gpuDescription":"","gpuDeviceId":0,"gpuDeviceName":"","gpuDriver":"","gpuDriverVersion":"","gpuVendorId":0,"machineModel":"Not available","remotingAssistanceAllowed":0,"remotingVersion":1,"renderer":2,"rtcpMux":true,"screencast":2,"screencastLocalPreview":1,"supportsConcurrentSessions":true,"transports":["i","gice"],"videoCodecs":[[99,"H264-SVC",640,360,30],[97,"H264",640,360,30],[98,"H263",640,360,30]],"videoRtpHdrExts":[{"id":2,"uri":"urn:ietf:params:rtp-hdrext:toffset"}]}]
    [001:505] F->C: ["getdevicestate","15","0",["__default_device","Built-in Audio Analog Stereo"],"0",["__default_device","Built-in Audio Analog Stereo"],"-1",[]]
    [006:217] HandleOnlineCheck: Starting check
    [006:217] HandleOnlineCheck: OK; current state: 3
    [20242:20242:0407/140825:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
    ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    [21561:21589:0407/144922:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [21561:21589:0407/144922:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [21561:21561:0407/144923:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    [21561:21620:0407/144923:ERROR:connection.cc(730)] sqlite error 19, errno -2: PRIMARY KEY must be unique
    [21561:21561:0407/144923:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    [21561:21561:0407/144953:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    [21561:21561:0407/145013:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    JS LOG: pushModal: invocation of begin_modal failed
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    JS LOG: pushModal: invocation of begin_modal failed
    [21968:21994:0407/145044:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [21968:21994:0407/145044:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [21968:22025:0407/145044:ERROR:connection.cc(730)] sqlite error 19, errno -2: PRIMARY KEY must be unique
    [21968:21968:0407/145044:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    [21968:21968:0407/145044:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    [22418:22445:0407/145440:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [22418:22445:0407/145440:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [22418:22418:0407/145440:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    [22418:22477:0407/145440:ERROR:connection.cc(730)] sqlite error 19, errno -2: PRIMARY KEY must be unique
    [22418:22418:0407/145441:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    [22418:22418:0407/145548:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    [22418:22418:0407/145607:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    [22418:22418:0407/145727:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    No bp log location saved, using default.
    [000:000] Browser XEmbed support present: 1
    [000:000] Browser toolkit is Gtk2.
    [000:000] Using Gtk2 toolkit
    [000:005] Starting client channel.
    [000:005] Warning(clientchannel.cc:436): Unreadable or no port file. Could not initiate GoogleTalkPlugin connection
    [000:006] Warning(clientchannel.cc:411): Could not initiate GoogleTalkPlugin connection
    [000:006] GoogleTalkPlugin not running. Starting new process...
    [000:006] Warning(pluginutils.cc:251): Failed to get GoogleTalkPlugin path. Trying default.
    [000:007] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
    [000:008] Waiting for GoogleTalkPlugin to start...
    sh: lsb_release: command not found
    [001:102] Attempting to connect to GoogleTalkPlugin...
    [001:102] Read port file, port=48370
    [001:103] Initiated connection to GoogleTalkPlugin
    [001:210] Socket connection established
    [001:210] ScheduleOnlineCheck: Online check in 5000ms
    [001:304] Got cookie response, socket is authorized
    [001:304] AUTHORIZED; socket handshake complete
    [001:306] F->C: ["fs",{"pr":"a"}]
    [001:405] F->C: ["mf","mf3.17","3.17.0.0",2,{"audioCodecs":[[103,"ISAC",1,0,16000],[104,"ISAC",1,0,32000],[9,"G722",1,64000,16000],[102,"ILBC",1,13300,8000],[0,"PCMU",1,64000,8000],[8,"PCMA",1,64000,8000],[107,"CN",1,0,48000],[106,"CN",1,0,32000],[105,"CN",1,0,16000],[13,"CN",1,0,8000],[127,"red",1,0,8000],[126,"telephone-event",1,0,8000]],"audioRtpHdrExts":[{"id":1,"uri":"urn:ietf:params:rtp-hdrext:ssrc-audio-level"}],"camDeviceName":"Unknown Camera","caps":7,"cpuArchitecture":1,"cpuCacheSize":6291456,"cpuFamily":6,"cpuFlags":["sse2","ssse3","sse4_1","sse4_2","avx"],"cpuHasSSE2":true,"cpuModel":42,"cpuSpeed":3101,"cpuStepping":7,"cpuVendor":"GenuineIntel","cpus":4,"cpusPhysical":4,"cryptoSuites":["AES_CM_128_HMAC_SHA1_80","AES_CM_128_HMAC_SHA1_32"],"dataChannelVersion":1,"effectsVersion":9,"gpuDescription":"","gpuDeviceId":0,"gpuDeviceName":"","gpuDriver":"","gpuDriverVersion":"","gpuVendorId":0,"machineModel":"Not available","remotingAssistanceAllowed":0,"remotingVersion":1,"renderer":2,"rtcpMux":true,"screencast":2,"screencastLocalPreview":1,"supportsConcurrentSessions":true,"transports":["i","gice"],"videoCodecs":[[99,"H264-SVC",640,360,30],[97,"H264",640,360,30],[98,"H263",640,360,30]],"videoRtpHdrExts":[{"id":2,"uri":"urn:ietf:params:rtp-hdrext:toffset"}]}]
    [001:506] F->C: ["getdevicestate","15","0",["__default_device","Built-in Audio Analog Stereo"],"0",["__default_device","Built-in Audio Analog Stereo"],"-1",[]]
    [005:311] Starting client channel.
    [005:311] Warning(clientchannel.cc:436): Unreadable or no port file. Could not initiate GoogleTalkPlugin connection
    [005:312] Warning(clientchannel.cc:411): Could not initiate GoogleTalkPlugin connection
    [005:312] GoogleTalkPlugin not running. Starting new process...
    [005:312] Warning(pluginutils.cc:251): Failed to get GoogleTalkPlugin path. Trying default.
    [005:313] Started GoogleTalkPlugin, path=/opt/google/talkplugin/GoogleTalkPlugin
    [005:313] Waiting for GoogleTalkPlugin to start...
    sh: lsb_release: command not found
    [006:411] Attempting to connect to GoogleTalkPlugin...
    [006:411] Read port file, port=45084
    [006:424] Initiated connection to GoogleTalkPlugin
    [006:512] Socket connection established
    [006:512] ScheduleOnlineCheck: Online check in 5000ms
    [006:613] Got cookie response, socket is authorized
    [006:613] AUTHORIZED; socket handshake complete
    [006:620] F->C: ["fs",{"pr":"a"}]
    [006:713] F->C: ["mf","mf3.17","3.17.0.0",2,{"audioCodecs":[[103,"ISAC",1,0,16000],[104,"ISAC",1,0,32000],[9,"G722",1,64000,16000],[102,"ILBC",1,13300,8000],[0,"PCMU",1,64000,8000],[8,"PCMA",1,64000,8000],[107,"CN",1,0,48000],[106,"CN",1,0,32000],[105,"CN",1,0,16000],[13,"CN",1,0,8000],[127,"red",1,0,8000],[126,"telephone-event",1,0,8000]],"audioRtpHdrExts":[{"id":1,"uri":"urn:ietf:params:rtp-hdrext:ssrc-audio-level"}],"camDeviceName":"Unknown Camera","caps":7,"cpuArchitecture":1,"cpuCacheSize":6291456,"cpuFamily":6,"cpuFlags":["sse2","ssse3","sse4_1","sse4_2","avx"],"cpuHasSSE2":true,"cpuModel":42,"cpuSpeed":3101,"cpuStepping":7,"cpuVendor":"GenuineIntel","cpus":4,"cpusPhysical":4,"cryptoSuites":["AES_CM_128_HMAC_SHA1_80","AES_CM_128_HMAC_SHA1_32"],"dataChannelVersion":1,"effectsVersion":9,"gpuDescription":"","gpuDeviceId":0,"gpuDeviceName":"","gpuDriver":"","gpuDriverVersion":"","gpuVendorId":0,"machineModel":"Not available","remotingAssistanceAllowed":0,"remotingVersion":1,"renderer":2,"rtcpMux":true,"screencast":2,"screencastLocalPreview":1,"supportsConcurrentSessions":true,"transports":["i","gice"],"videoCodecs":[[99,"H264-SVC",640,360,30],[97,"H264",640,360,30],[98,"H263",640,360,30]],"videoRtpHdrExts":[{"id":2,"uri":"urn:ietf:params:rtp-hdrext:toffset"}]}]
    [006:814] F->C: ["getdevicestate","15","0",["__default_device","Built-in Audio Analog Stereo"],"0",["__default_device","Built-in Audio Analog Stereo"],"-1",[]]
    [011:521] HandleOnlineCheck: Starting check
    [011:521] HandleOnlineCheck: OK; current state: 3
    [22418:22418:0407/145831:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    [23140:23167:0407/150336:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [23140:23167:0407/150336:ERROR:object_proxy.cc(624)] Failed to get name owner. Got org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.chromium.Mtpd': no such name
    [23140:23197:0407/150336:ERROR:connection.cc(730)] sqlite error 19, errno -2: PRIMARY KEY must be unique
    [23140:23140:0407/150336:ERROR:object_proxy.cc(529)] Failed to call method: org.chromium.Mtpd.EnumerateStorages: object_path= /org/chromium/Mtpd: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Mtpd was not provided by any .service files
    [23140:23140:0407/150337:ERROR:omnibox_view_gtk.cc(431)] Not implemented reached in virtual void OmniboxViewGtk::ApplyCaretVisibility()
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
    Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
    Window manager warning: Log level 16: Failed to load apps: Failed to look up menu_file for "gnomecc.menu"
    Window manager warning: CurrentTime used to choose focus window; focus window may not be correct.
    Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!
    Window manager warning: Treating resize request of legacy application 0x1e00020 (Guake!) as a fullscreen request
    g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    ** Message: applet now removed from the notification area
    gnome-session[20009]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    Window manager warning: Log level 16: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    applet.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    (gnome-settings-daemon:20052): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    ** Message: NM disappeared
    guake: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    WARNING: could not use popup notification
    (nm-applet:20096): Gdk-WARNING **: nm-applet: Fatal IO error 104 (Connection reset by peer) on X server :0.
    What can I do to resolve this?
      Thank you very much!
    Last edited by UnsolvedCypher (2013-04-07 20:09:28)

    aliencam wrote:
    This has been happening to a lot of people lately (since the upgrade to gnome 3.8 from 3.6).  Many people haven't been able to find a solution, so they have installed the SLiM login manager and another desktop environment like xfce, enlightenment, or fluxbox for the time being.
    check out these other topics:
    https://bbs.archlinux.org/viewtopic.php?id=161900
    https://bbs.archlinux.org/viewtopic.php?id=161961
    https://bugs.archlinux.org/task/34893
    I still haven't been able to fix it on my computer, so I'm using SLiM and xfce while I wait for an upstream update.
    I'm currently using SLiM and Cinnamon since GDM won't work, but I was asking because I wanted my laptop to lock when I suspended it, which SLiM didn't do as far as I knew. Well, I guess I'll wait for an update. Thanks.
    Last edited by kkeller (2013-05-04 18:13:24)

  • Error handling when removing expired stuff

    8.1.7.1.0 on Sun...
    Trying to delete expired backups when, in fact, there aren't any expired backups does not return an error. And it shouldn't. This is correct.
    Trying to delete expired backup sets older than a specific date when there aren't any returns an error message. Why?
    Regards,
    per
    RMAN> delete expired backup of archivelog all ;
    RMAN-03022: compiling command: delete expired
    RMAN-03023: executing command: delete expired
    RMAN-03023: executing command: partial resync
    RMAN> delete expired backup of archivelog until time 'sysdate -14' ;
    RMAN-03022: compiling command: delete expired
    RMAN-03026: error recovery releasing channel resources
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: delete expired
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specification does not match any archivelog in the
    recovery catalog

    Thanks for responding.
    I suppose I could instruct an operator to disregard certain
    error messages. What4s more troublesome is that RMAN returns
    error status and that's really not the kind of help you want
    when trying to create shell scripts... :(
    I4d be interested to learn how others deal with this.
    rgds, per

  • Create WAR file

    Hello every body,
    I developed a web based project inside Eclipse IDE, now i need to create a WAR file as a deleverable thing.Please help me how to create WAR file for the project developed in Eclipse IDE verson 3.2
    Thanks in advance,
    Anil

    hi,
    Here's how to create a Packaging Configuration:
    1. Right click on your project in the Package Explorer.
    2. Select Properties�>Packaging Configurations.
    3. Right click in the right frame and click Add Std. Archive.
    4. Select Standard-WAR.war and click OK.
    5. Right click on the configuration and click Edit.
    6. Rename it to helloworld.war.
    7. Expand the configuration.
    8. Right click on the line with Manifest.MF and remove it.
    More
    http://www.devx.com/opensource/Article/20242/1954?pf=true

  • A Group of Archive Logs Will Not Backup

    I restored a database to a different server, and while that was happening I copied some logarchives out of the production logarchive directory. After the restore completed, but before I put those logarchives back into that directory, I ran CHANGE ARCHIVELOG ALL CROSSCHECK on the production server to sync the catalog with the database. That was a mistake to do that yet. I then put the logarchives back into the production logarchive directory and tried to run a logarchive backup. I should have put these files back before running crosscheck. Now I receive this error:
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specification does not match any archive log in the recovery catalog
    How can I backup these production logarchives that I copied back into the logarchive directory?
    Thank you.

    Database version? To know that makes it easier to advice, because since RMAN was introduced in 8.0 there were some changes.
    In 10g and higher use 'catalog archivelog...'.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta011.htm#sthref230
    Werner

  • RMAN Error Handling

    Thank you in advance for your help.
    In a Unix shell script I backup archived logs older than 2 days and delete them. When there are no files older than 2 days. RMAN prints error messages and quit. Is there any way errors can be handled within the scripts?
    Thanks.
    null

    I have a similar problem - I am trying to backup and delete all archived redo log files
    using following script (Oracle 8.1.6, Legato):
    run
    allocate channel c2 type 'SBT_TAPE'
    parms 'ENV=(NSR_COMPRESSION=TRUE, NSR_DATA_VOLUME_POOL=Full');
    backup
    format "PROD_arch_t%t_s%s_p%p"
    archivelog
    delete input;
    release channel c1;
    It works fine if there are files to backup,
    if there are no files, RMAN returns error.
    Then I check log file for the following message
    RMAN-06004: ORACLE error from recovery catalog: RMAN-20242: specification does not match any archivelog in the recovery catalog
    If this message appears in the log file,
    I just delete it.
    Regards,
    Sev
    [email protected]
    null

  • Backup validate :Error

    Hi Expert,
    while executing backup validate database archivelog all in one of the server i received this
    RMAN> backup validate database archivelog all;
    Starting backup at 04-JUL-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=18 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 07/04/2007 06:21:34
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specificati
    on does not match any archive log in the recovery catalog
    What this means and is it any major concern?
    Thanks
    Shaan

    this means you didn't have any archives and rman is unable to validate them.
    RMAN does not actually produce backup sets, but rather reads the specified files in their entirety, to determine whether they can be backed up and are not corrupted.
    found at:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmbackp008.htm#sthref672

  • Restore arch for logminer

    Hi!
    I need to mine the log's from a period of time.
    So I queried V$ARCHIVED_LOG...
    select distinct sequence# from v$archived_log where FIRST_TIME BETWEEN TO_DATE('03/11/2010 15:30:32', 'MM/DD/YYYY HH24:MI:SS') AND TO_DATE('03/11/2010 17:35:08', 'MM/DD/YYYY HH24:MI:SS') order by 1
    With the output I crated a RMAN restore script
    run {
    set archivelog destination to '/tmp';
    restore archivelog sequence 150860 ;
    restore archivelog sequence 150861 ;
    restore archivelog sequence 176699 ;
    restore archivelog sequence 176700 ;
    restore archivelog sequence 176701 ;
    It is an RAC cluster, I think thats the reason for the gap in the sequence#.
    I could restore the 150* logs but not the 176*!
    executing command: SET ARCHIVELOG DESTINATION
    Starting restore at 16-03-2010
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: sid=2014 instance=RACF2 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_1: Data Protection for Oracle: version 5.3.3.0
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=2022 instance=RACF2 devtype=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 03/16/2010 16:18:27
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20242: specification does not match any archive log in the recovery catalog
    Then I quried v$archived_log again and saw that e.g 150864 has dest_id 1 and 10 and 177765 has only dest_id 10.
    Dest_id 10 = db_recovery_file_dest = FRA on ASM.
    Why are these files only archived to FRA and not via RMAN to tape?
    Any Idea how to get this files.
    thanks
    Daniel
    Edited by: user641444 on Mar 16, 2010 9:14 AM

    Hi,
    For RAC you will have as much threads as instances.
    Can you change the query to:
    select distinct sequence#, thread# from v$archived_log where FIRST_TIME BETWEEN TO_DATE('03/11/2010 15:30:32', 'MM/DD/YYYY HH24:MI:SS') AND TO_DATE('03/11/2010 17:35:08', 'MM/DD/YYYY HH24:MI:SS') order by 1
    You can than restore with
    restore archivelog sequence between 150860 and xxx thread 1;
    restore archivelog sequence between 176699 and yyy thread 2; (I guess this sequence comes from the second thread)
    etc.
    Rgds,
    Tycho

  • Find Queries associated to Search Defines

    Hi,
    We are trying to consolidate and work out where we are with our list of queries (one very long list) and which ones re used where. I know how to find the list of queries used in alerts, for example:
    SELECT T0.Name, T0.Active, T1.QName, T2.CatName, T4.U_Name  FROM OALT T0 INNER JOIN OUQR T1 ON T0.QueryId = T1.IntrnalKey INNER JOIN OQCN T2 ON T1.QCategory = T2.CategoryId INNER JOIN ALT1 T3 ON T3.Code = T0.Code INNER JOIN OUSR T4 ON T3.UserSign = T4.USERID
    How ever I was wondering if anyone can help point me in the direction to find the queries associated to:
    Formatted Searches on forms - a query or tables where this information is possibly stored so I can list all queries used on forms.
    User Menus - a query that allows me to list the queries linked to user menus
    Any help or guidance is much appreciated
    Many Thanks
    Matthew

    Hi
    I found this query on the forum some time ago. It gives you a list of formatted searches.
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 7 THEN 'Drag & Relate'
    WHEN 9 THEN 'Drag & Relate'
    WHEN 10 THEN 'Query Wizard'
    WHEN 12 THEN 'Define Costing Field'
    WHEN 13 THEN 'Choose From List'
    WHEN 17 THEN 'User Preferences'
    WHEN 18 THEN 'Name Change'
    WHEN 19 THEN 'EU Sales Report -Selection Criteria'
    WHEN 20 THEN 'Serial Numbers Management - Selection Criteria'
    WHEN 21 THEN 'Define Serial Numbers'
    WHEN 22 THEN 'Serial Number Transactions Report - Selection Criteria'
    WHEN 23 THEN 'Serial Number Transactions Report'
    WHEN 24 THEN 'Create String for Serial No.'
    WHEN 25 THEN 'Select Serial Numbers'
    WHEN 26 THEN 'Serial Number Completion'
    WHEN 27 THEN 'Serial Number Completion - Selection Criteria'
    WHEN 28 THEN 'Choose S/N and Batches for Jtree - %s'
    WHEN 30 THEN 'User-Defined Fields'
    WHEN 31 THEN 'Manage User Fields'
    WHEN 34 THEN 'Field Data'
    WHEN 38 THEN 'Settings'
    WHEN 39 THEN 'Document Journal'
    WHEN 40 THEN 'Batch Management - Selection Criteria'
    WHEN 41 THEN 'Define Batch Numbers'
    WHEN 42 THEN 'Batch Number Selection'
    WHEN 43 THEN 'Batch Number Completion'
    WHEN 44 THEN 'Batch Number Completion'
    WHEN 45 THEN 'Batch Number Transactions Report'
    WHEN 46 THEN 'Batch Number Transactions Report - Selection Criteria'
    WHEN 47 THEN 'Tax Report'
    WHEN 48 THEN 'EU Sales Report'
    WHEN 49 THEN 'Tax Error Report'
    WHEN 50 THEN 'Define Sales Tax Jurisdictions - Selection Criteria'
    WHEN 51 THEN 'Define Sales Tax Codes'
    WHEN 53 THEN 'Tax Report - Selection Criteria'
    WHEN 54 THEN 'Landed Costs - Split'
    WHEN 58 THEN 'Document Journal'
    WHEN 59 THEN 'Accounts - Selection Criteria'
    WHEN 60 THEN 'Filters Amount'
    WHEN 61 THEN 'Tax Report'
    WHEN 62 THEN 'Define Warehouses'
    WHEN 63 THEN 'Define Item Groups'
    WHEN 64 THEN 'Define Account Segmentation'
    WHEN 65 THEN 'Purchase Order Confirmation'
    WHEN 66 THEN 'Define %s Segment Codes'
    WHEN 67 THEN 'Define Inventory Cycles'
    WHEN 68 THEN 'Edit G/L Account'
    WHEN 69 THEN 'Segment Codes - Selection Criteria'
    WHEN 70 THEN 'Create New Company'
    WHEN 71 THEN 'Tax Report - Selection Criteria'
    WHEN 72 THEN 'Tax Report'
    WHEN 75 THEN 'Reverse Transactions'
    WHEN 76 THEN 'Tax Jurisdiction'
    WHEN 80 THEN 'Pick & Pack Manager - Selection Criteria'
    WHEN 81 THEN 'Pick & Pack Manager'
    WHEN 82 THEN 'Choose Bank'
    WHEN 83 THEN 'Link Invoices to Payments - Selection Criteria'
    WHEN 84 THEN 'Link Invoices to Payments'
    WHEN 85 THEN 'Pick List'
    WHEN 86 THEN 'Help Settings'
    WHEN 90 THEN 'Inactive Items'
    WHEN 91 THEN 'Inactive Items - Selection Criteria'
    WHEN 92 THEN 'Inactive Customers - Selection Criteria'
    WHEN 93 THEN 'Inactive Customers'
    WHEN 95 THEN 'Customize'
    WHEN 96 THEN 'Last Prices Report'
    WHEN 100 THEN 'Execute'
    WHEN 110 THEN 'Queries'
    WHEN 111 THEN 'Parameter Directory'
    WHEN 115 THEN 'Query Generator'
    WHEN 120 THEN 'Trial Balance'
    WHEN 133 THEN 'A/R Invoice'
    WHEN 134 THEN 'Business Partner Master Data'
    WHEN 135 THEN 'Payment Terms'
    WHEN 136 THEN 'Company Details'
    WHEN 137 THEN 'Correction Invoice'
    WHEN 138 THEN 'General Settings'
    WHEN 139 THEN 'Order'
    WHEN 140 THEN 'Delivery'
    WHEN 141 THEN 'A/P Invoice'
    WHEN 142 THEN 'Purchase Order'
    WHEN 143 THEN 'Goods Receipt PO'
    WHEN 146 THEN 'Payment Means'
    WHEN 148 THEN 'Define Currencies'
    WHEN 149 THEN 'Quotation'
    WHEN 150 THEN 'Item Master Data'
    WHEN 152 THEN 'Open Items List'
    WHEN 153 THEN 'User Defaults'
    WHEN 154 THEN 'Inventory Status'
    WHEN 155 THEN 'Price Lists'
    WHEN 157 THEN 'Price List'
    WHEN 160 THEN 'Choose From List'
    WHEN 161 THEN 'Transaction Journal Report'
    WHEN 163 THEN 'Balance Sheet'
    WHEN 164 THEN 'Profit and Loss Statement'
    WHEN 165 THEN 'Balance Sheet - Selection Criteria'
    WHEN 166 THEN 'Trial Balance - Selection Criteria'
    WHEN 167 THEN 'Trial Balance'
    WHEN 168 THEN 'G/L Accounts Opening Balance'
    WHEN 169 THEN 'SAP Business One'
    WHEN 170 THEN 'Incoming Payments'
    WHEN 171 THEN 'Cycle Count Recommendations'
    WHEN 172 THEN 'Document Numbering'
    WHEN 174 THEN 'Define Customer Groups'
    WHEN 177 THEN 'Define Payment Terms'
    WHEN 179 THEN 'A/R Credit Memo'
    WHEN 180 THEN 'Returns'
    WHEN 181 THEN 'A/P Credit Memo'
    WHEN 182 THEN 'Goods Returns'
    WHEN 183 THEN 'Print Preferences'
    WHEN 184 THEN 'Document Printing - Selection Criteria'
    WHEN 185 THEN 'Serials - %s'
    WHEN 187 THEN 'Add Recipient'
    WHEN 188 THEN 'Send Message'
    WHEN 189 THEN 'Test Report Balance Settings'
    WHEN 190 THEN 'Save as Distribution List'
    WHEN 191 THEN 'Print'
    WHEN 194 THEN 'Execute Commands'
    WHEN 196 THEN 'Payment Means'
    WHEN 197 THEN 'Payment Means'
    WHEN 198 THEN 'Messages/Alert Overview'
    WHEN 202 THEN 'Alerts Management'
    WHEN 210 THEN 'Save Report'
    WHEN 228 THEN 'Document Settings'
    WHEN 229 THEN 'Journal Vouchers'
    WHEN 237 THEN 'Gross Profit for Quotation'
    WHEN 239 THEN 'Gross Profit of Order'
    WHEN 240 THEN 'Gross Profit of Delivery'
    WHEN 241 THEN 'Gross Profit of Outgoing Invoice'
    WHEN 242 THEN 'Gross Profit of Correction Invoice'
    WHEN 245 THEN 'Trial Balance Budget Report - Selection Criteria'
    WHEN 246 THEN 'Trial Balance Budget Report'
    WHEN 247 THEN 'Define Vendor Groups'
    WHEN 250 THEN 'Define Interest'
    WHEN 251 THEN 'Define Formatted Search'
    WHEN 254 THEN 'Define Field Values'
    WHEN 255 THEN 'Choose Company'
    WHEN 256 THEN 'Choose Company'
    WHEN 260 THEN 'Balance Sheet Budget Report - Selection Criteria'
    WHEN 261 THEN 'Balance Sheet Budget Report'
    WHEN 265 THEN 'Balance Sheet Comparison - Selection Criteria'
    WHEN 266 THEN 'Balance Sheet Comparison'
    WHEN 267 THEN 'Profit and Loss Statement Comparison - Selection Criteria'
    WHEN 268 THEN 'Profit and Loss Statement Comparison'
    WHEN 280 THEN 'Trial Balance Comparison - Selection Criteria'
    WHEN 281 THEN 'Trial Balance Comparison'
    WHEN 285 THEN 'Show History'
    WHEN 286 THEN 'Differences'
    WHEN 290 THEN 'Price List Item Details'
    WHEN 291 THEN 'Define Hierarchies for Price List'
    WHEN 295 THEN 'Add to User Menu'
    WHEN 296 THEN 'Organize User Menu'
    WHEN 303 THEN 'Opportunities Analysis'
    WHEN 304 THEN 'Period - Selection Criteria'
    WHEN 305 THEN 'Dynamic Opportunity Analysis'
    WHEN 306 THEN 'Opportunity Analysis'
    WHEN 307 THEN 'Opportunity Analysis - Selection Criteria'
    WHEN 308 THEN 'Business Partners - Selection Criteria'
    WHEN 309 THEN 'Opportunities Pipeline'
    WHEN 312 THEN 'Sales Employees'
    WHEN 313 THEN 'Opportunities Won'
    WHEN 314 THEN 'Opportunity List'
    WHEN 315 THEN 'Opportunities Won - Selection Criteria'
    WHEN 316 THEN 'Specified Stage Analysis Report'
    WHEN 317 THEN 'Sales Employees'
    WHEN 318 THEN 'Stage Analysis'
    WHEN 319 THEN 'Stage Analysis - Selection Criteria'
    WHEN 320 THEN 'Sales Opportunity'
    WHEN 321 THEN 'Linked Documents'
    WHEN 322 THEN 'Linked Document'
    WHEN 323 THEN 'Sales Employee'
    WHEN 324 THEN 'Stage'
    WHEN 325 THEN 'Documents'
    WHEN 327 THEN 'Dates'
    WHEN 328 THEN 'Amounts'
    WHEN 329 THEN 'Sales Employees'
    WHEN 330 THEN 'Stage'
    WHEN 331 THEN 'Stage'
    WHEN 333 THEN 'Special Prices - Item Details'
    WHEN 334 THEN 'Copy Item Details'
    WHEN 335 THEN 'Special Prices - Hierarchies'
    WHEN 336 THEN 'Copy Special Prices to Selection Criteria'
    WHEN 338 THEN 'Sales Employees'
    WHEN 339 THEN 'Update Special Prices Globally'
    WHEN 340 THEN 'Stage'
    WHEN 341 THEN 'Documents'
    WHEN 342 THEN 'Percentage Rate'
    WHEN 343 THEN 'Date'
    WHEN 344 THEN 'Amounts'
    WHEN 345 THEN 'Items - Selection Criteria'
    WHEN 350 THEN 'G/L Account Determination'
    WHEN 352 THEN 'Define Sales Stages'
    WHEN 363 THEN 'Balance Sheet'
    WHEN 365 THEN 'Profit and Loss Statement'
    WHEN 366 THEN 'Profit and Loss Statement Budget Report'
    WHEN 369 THEN 'Exchange Rate Differences'
    WHEN 370 THEN 'Exchange Rate Differences - Selection Criteria'
    WHEN 371 THEN 'Conversion Differences'
    WHEN 372 THEN 'Conversion Differences - Selection Criteria'
    WHEN 373 THEN 'Rate Differences - Line Details'
    WHEN 382 THEN 'Extended Preferences'
    WHEN 383 THEN 'Reconciliation'
    WHEN 384 THEN 'Reconciliation Wizard'
    WHEN 385 THEN 'Process External Bank Statement'
    WHEN 386 THEN 'Reconciliation - Selection Criteria'
    WHEN 387 THEN 'Reconciliation'
    WHEN 388 THEN 'Manage Previous Reconciliations - Selection Criteria'
    WHEN 389 THEN 'Manage Previous Reconciliations'
    WHEN 390 THEN 'Journal Entry'
    WHEN 391 THEN 'Journal Vouchers'
    WHEN 392 THEN 'Journal Entry'
    WHEN 393 THEN 'Journal Vouchers'
    WHEN 399 THEN 'Data Update'
    WHEN 400 THEN 'Reconciliations'
    WHEN 401 THEN 'Tax Reporting'
    WHEN 402 THEN 'Advances on Corporate Income Tax on Sales Report'
    WHEN 403 THEN 'Tax Report Detailed by Months'
    WHEN 404 THEN 'Import Bank List'
    WHEN 409 THEN 'Reconciliation Printing Preferences'
    WHEN 411 THEN 'Period-End Closing - Selection Criteria'
    WHEN 412 THEN 'Period-End Closing'
    WHEN 419 THEN 'Define Address Formats'
    WHEN 420 THEN 'Profit and Loss Statement - Selection Criteria'
    WHEN 421 THEN 'Profit and Loss Statement Budget Report - Selection Criteria'
    WHEN 422 THEN 'Define Business Partner Properties'
    WHEN 424 THEN 'Define Credit Cards'
    WHEN 425 THEN 'Select Items to Copy'
    WHEN 426 THEN 'Payments to Vendors'
    WHEN 427 THEN 'Change Internal Document Name'
    WHEN 429 THEN 'Define Item Properties'
    WHEN 430 THEN 'Business Partners Opening Balance'
    WHEN 435 THEN 'Define Credit Card Payment Methods'
    WHEN 436 THEN 'Define Credit Card Payment'
    WHEN 437 THEN 'Credit Card Management'
    WHEN 440 THEN 'Credit Card Management - Selection Criteria'
    WHEN 441 THEN 'Define Budget Distribution Methods'
    WHEN 443 THEN 'Define Budget'
    WHEN 444 THEN 'Define Budget'
    WHEN 445 THEN 'Budget Item Details'
    WHEN 446 THEN 'Budget Report - Selection Criteria'
    WHEN 447 THEN 'Budget Report'
    WHEN 448 THEN 'Restore Budget Balances'
    WHEN 452 THEN 'Budget Scenarios'
    WHEN 453 THEN 'Import Budget Scenarios'
    WHEN 454 THEN 'Copy Budget Scenarios'
    WHEN 487 THEN 'Choose BP'
    WHEN 501 THEN 'General Ledger'
    WHEN 502 THEN 'Transaction Report by Projects - Selection Criteria'
    WHEN 503 THEN 'Transaction Report by Projects'
    WHEN 504 THEN 'Payment Wizard'
    WHEN 505 THEN 'Define Payment Methods'
    WHEN 506 THEN 'Currency Restriction'
    WHEN 507 THEN 'Form Wizard'
    WHEN 508 THEN 'Choose from List'
    WHEN 509 THEN 'Payment Wizard Reports'
    WHEN 510 THEN 'Vendor Withholding Tax - Selection Criteria'
    WHEN 515 THEN 'Withholding Tax Report'
    WHEN 520 THEN 'Check Document Numbering'
    WHEN 521 THEN 'Create/Edit Categories'
    WHEN 530 THEN 'Documents serial numbering list'
    WHEN 540 THEN 'Item Query'
    WHEN 550 THEN 'Inventory Posting List - Selection Criteria'
    WHEN 551 THEN 'Expanded Selection Criteria'
    WHEN 599 THEN 'Expanded Selection Criteria'
    WHEN 600 THEN 'Items List - Selection Criteria'
    WHEN 601 THEN 'Items List'
    WHEN 603 THEN 'Check Fund - Selection Criteria'
    WHEN 604 THEN 'General Ledger - Selection Criteria'
    WHEN 605 THEN 'Expanded Selection Criteria'
    WHEN 606 THEN 'Deposit'
    WHEN 607 THEN 'Check Fund'
    WHEN 608 THEN 'Price List - Selection Criteria'
    WHEN 609 THEN 'Document Journal - Selection Criteria'
    WHEN 610 THEN 'Expanded Selection Criteria'
    WHEN 612 THEN 'Postdated Check Deposit'
    WHEN 614 THEN 'Postdated Credit Voucher Deposit'
    WHEN 615 THEN 'Commission'
    WHEN 630 THEN 'GST Report'
    WHEN 631 THEN 'Detailed Report %s'
    WHEN 632 THEN 'Manual Transactions'
    WHEN 636 THEN 'Posting Period'
    WHEN 640 THEN 'Define Hierarchies and Expansions'
    WHEN 650 THEN 'Special Prices - Items - Selection Criteria'
    WHEN 651 THEN 'Activities'
    WHEN 652 THEN 'Contact Overview for Business Partner'
    WHEN 653 THEN 'Define Cash Discount'
    WHEN 655 THEN 'Payment Drafts Report'
    WHEN 662 THEN 'Interest Rates on Backlog Report - Business Partners - Selection Criteria'
    WHEN 664 THEN 'Define Commission Groups'
    WHEN 666 THEN 'Define Sales Employees'
    WHEN 668 THEN 'Special Prices for Business Partners'
    WHEN 669 THEN 'Special Prices - Items - Selection Criteria'
    WHEN 670 THEN 'Recurring Postings'
    WHEN 672 THEN 'Define Bill of Materials'
    WHEN 673 THEN 'Open Work Orders Report'
    WHEN 674 THEN 'Bill of Materials Report - Selection Criteria'
    WHEN 675 THEN 'Production Recommendations'
    WHEN 676 THEN 'Missing Raw Material'
    WHEN 677 THEN 'Work Order'
    WHEN 679 THEN 'Bill of Materials Report'
    WHEN 680 THEN 'Confirmation for recurring postings'
    WHEN 681 THEN 'Cycle Count Recommendations - Selection Criteria'
    WHEN 682 THEN 'Restore Item Balances'
    WHEN 683 THEN 'Messages'
    WHEN 687 THEN 'Missing exchange rates'
    WHEN 688 THEN 'Revaluation Preferences'
    WHEN 689 THEN 'Inventory Status - Selection Criteria'
    WHEN 691 THEN 'Revaluation - Selection Criteria'
    WHEN 692 THEN 'Profit and Loss Statement Revaluation'
    WHEN 693 THEN 'Balance Sheet Revaluation'
    WHEN 694 THEN 'Trial Balance Revaluation'
    WHEN 695 THEN 'Export Transactions to SAP Business One'
    WHEN 696 THEN 'Correcting main accounts in transactions'
    WHEN 698 THEN 'Quality Control'
    WHEN 700 THEN 'Define Balance Sheet Templates'
    WHEN 701 THEN 'Define Profit and Loss Report Templates'
    WHEN 702 THEN 'Define Trial Balance Templates'
    WHEN 703 THEN 'Financial Report Template - Expansion'
    WHEN 704 THEN 'Financial Report Templates'
    WHEN 705 THEN 'Define Banks'
    WHEN 706 THEN 'Financial Report Template'
    WHEN 707 THEN 'Choose Copy Template'
    WHEN 708 THEN 'Formula for Profit and Loss Template'
    WHEN 709 THEN 'Template Properties'
    WHEN 710 THEN 'Define Transaction Codes'
    WHEN 711 THEN 'Define Projects'
    WHEN 712 THEN 'Define %s Rates'
    WHEN 713 THEN 'Define Sales Tax Jurisdiction Types'
    WHEN 714 THEN 'Template Properties'
    WHEN 720 THEN 'Goods Issue'
    WHEN 721 THEN 'Goods Receipt'
    WHEN 730 THEN 'Define Interest'
    WHEN 731 THEN 'Define Meaning'
    WHEN 732 THEN 'Define Information Source'
    WHEN 733 THEN 'Define Sales Stages'
    WHEN 734 THEN 'Define Causes for Failure'
    WHEN 735 THEN 'Define Partners'
    WHEN 736 THEN 'Define Competitors'
    WHEN 750 THEN 'Edit Chart of Accounts'
    WHEN 751 THEN 'Edit Chart of Accounts'
    WHEN 752 THEN 'Transaction Journal Report - Selection Criteria'
    WHEN 753 THEN 'Account Code Generator'
    WHEN 754 THEN 'Find Account'
    WHEN 755 THEN 'Find Account'
    WHEN 756 THEN 'Account Code List'
    WHEN 757 THEN 'Find G/L Accounts'
    WHEN 760 THEN 'Define Indicators'
    WHEN 770 THEN 'Define Triangular Deal'
    WHEN 771 THEN 'Inventory in Warehouse Report'
    WHEN 772 THEN 'Inventory in Warehouse Report - Selection Criteria'
    WHEN 773 THEN 'Stocks per Warehouse'
    WHEN 774 THEN 'Define Data Migration Package'
    WHEN 775 THEN 'Define Goods Shipment'
    WHEN 776 THEN 'Define Locations'
    WHEN 777 THEN 'Inventory Posting List - Selection Criteria'
    WHEN 779 THEN 'Define 1099 Table'
    WHEN 800 THEN 'Posting Templates'
    WHEN 802 THEN 'Sales Order Balance'
    WHEN 804 THEN 'Chart of Accounts'
    WHEN 805 THEN 'G/L Account Details'
    WHEN 806 THEN 'Chart of Accounts'
    WHEN 809 THEN 'Bookkeeping Balance'
    WHEN 810 THEN 'Define Profit Centers'
    WHEN 811 THEN 'Define Distribution Rules'
    WHEN 812 THEN 'Table of Profit Centers and Distribution Rules'
    WHEN 819 THEN 'Profit Center - Report - Selection Criteria'
    WHEN 820 THEN 'Choose Company'
    WHEN 821 THEN 'System Startup'
    WHEN 822 THEN 'New Company'
    WHEN 823 THEN 'Profit Center - Report'
    WHEN 824 THEN 'User Administration'
    WHEN 830 THEN '835874 Report - replace report'
    WHEN 840 THEN 'Inventory Tracking'
    WHEN 841 THEN 'Check and Restore Former Reconciliations'
    WHEN 849 THEN 'Voiding Checks for Payment'
    WHEN 850 THEN 'Checks for Payment Drafts'
    WHEN 851 THEN 'Bank Codes'
    WHEN 852 THEN 'Define Users'
    WHEN 853 THEN 'Define Deduction Groups'
    WHEN 854 THEN 'Checks for Payment'
    WHEN 855 THEN 'G/L Accounts and Business Partners'
    WHEN 856 THEN 'Voiding Checks for Payment'
    WHEN 857 THEN 'Sales Analysis Report - Selection Criteria'
    WHEN 858 THEN 'Voiding Checks for Payment'
    WHEN 859 THEN 'Inventory Posting List by Item'
    WHEN 860 THEN 'Inventory Posting List by BP'
    WHEN 861 THEN 'Inventory Posting List by'
    WHEN 863 THEN 'Comprehensive Import'
    WHEN 864 THEN 'Restore G/L Account and Business Partner Balances'
    WHEN 865 THEN 'Define Indexes'
    WHEN 866 THEN 'Define foreign currency exchange rates'
    WHEN 870 THEN 'Purchase Analysis - Selection Criteria'
    WHEN 871 THEN 'Tax Report - Date - Selection Criteria'
    WHEN 876 THEN 'Define Interest Rates'
    WHEN 877 THEN 'Define Meeting Locations'
    WHEN 878 THEN 'Define Credit Vendors'
    WHEN 879 THEN 'Define Deduction Groups'
    WHEN 888 THEN 'Define Contact Types'
    WHEN 889 THEN 'Define Contact Subjects'
    WHEN 890 THEN 'Define Expenses'
    WHEN 892 THEN 'G/L Accounts and Business Partners - Selection Criteria'
    WHEN 893 THEN 'Define Length and Width UoM'
    WHEN 894 THEN 'Define Weight UoM'
    WHEN 895 THEN 'Define Tax Groups'
    WHEN 896 THEN 'Define Customs Groups'
    WHEN 897 THEN 'Define Manufacturers'
    WHEN 898 THEN 'Define Landed Costs'
    WHEN 899 THEN 'Define Shipping Types'
    WHEN 900 THEN 'Inventory Valuation - Selection Criteria'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2 AND T2.FormID < 901
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 901 THEN 'Inventory Valuation Report'
    WHEN 902 THEN 'Update After Inventory'
    WHEN 906 THEN 'Entering stock balance sheet'
    WHEN 907 THEN 'Beginning Quantities and Cycle Counting'
    WHEN 908 THEN 'Select Database'
    WHEN 909 THEN 'Items - Selection Criteria'
    WHEN 910 THEN 'Transaction Settings'
    WHEN 911 THEN 'Year Transfer'
    WHEN 912 THEN 'BP Properties'
    WHEN 914 THEN 'Items - Selection Criteria'
    WHEN 916 THEN 'Year Transfer'
    WHEN 917 THEN 'BP Properties'
    WHEN 918 THEN 'Accounts - Selection Criteria'
    WHEN 919 THEN 'Items - Selection Criteria'
    WHEN 920 THEN 'Card Properties'
    WHEN 921 THEN 'Card Properties'
    WHEN 922 THEN 'Business Partners Opening Balance - Selection Criteria'
    WHEN 923 THEN 'G/L Accounts Opening Balance - Selection Criteria'
    WHEN 924 THEN 'G/L Accounts'
    WHEN 925 THEN 'Accounts - Selection Criteria'
    WHEN 926 THEN 'Accounts - Selection Criteria'
    WHEN 930 THEN 'Accounts - Selection Criteria'
    WHEN 940 THEN 'Stock Transfer'
    WHEN 941 THEN 'Define Countries'
    WHEN 942 THEN 'Define Departments'
    WHEN 943 THEN 'Define Branches'
    WHEN 944 THEN 'Define States'
    WHEN 946 THEN 'Data Migration Wizard'
    WHEN 950 THEN 'Authorization Tree Management'
    WHEN 951 THEN 'Authorizations'
    WHEN 952 THEN 'Open Saved Query'
    WHEN 953 THEN 'Automatic Summary Wizard'
    WHEN 954 THEN 'Business Partners - Selection Criteria'
    WHEN 957 THEN 'Save Query'
    WHEN 958 THEN 'Define Discount Groups'
    WHEN 960 THEN 'Cash Flow - Selection Criteria'
    WHEN 961 THEN 'Cash Flow'
    WHEN 962 THEN 'Customer Receivables Aging - Selection Criteria'
    WHEN 963 THEN 'Vendor Liabilities Aging - Selection Criteria'
    WHEN 964 THEN 'Customer Receivables Aging'
    WHEN 965 THEN 'Vendor Liabilities Aging'
    WHEN 968 THEN 'Restore'
    WHEN 969 THEN 'Restore Wizard'
    WHEN 971 THEN 'Restore Open Check Balances'
    WHEN 973 THEN 'Report 856'
    WHEN 974 THEN 'Specified deduction at source report for vendor'
    WHEN 975 THEN 'Contact Overview - Selection Criteria'
    WHEN 976 THEN 'Contact Overview'
    WHEN 977 THEN 'Data Migration Packages'
    WHEN 978 THEN 'Creating journal entries'
    WHEN 989 THEN 'Encoding Table'
    WHEN 990 THEN 'Volume & Weight Calculation'
    WHEN 991 THEN 'Choose Documents'
    WHEN 992 THEN 'Landed Costs'
    WHEN 993 THEN 'Define Business Partner Catalog Numbers'
    WHEN 994 THEN 'Global Update to Business Partner Catalog Numbers'
    WHEN 995 THEN 'Choose BP'
    WHEN 996 THEN 'Table Sort'
    WHEN 997 THEN 'Properties'
    WHEN 998 THEN 'Settings'
    WHEN 1011 THEN 'Sales Journal'
    WHEN 1012 THEN 'Cash Report'
    WHEN 1020 THEN 'Tax Report - Purchasing Preferences'
    WHEN 1021 THEN 'Tax Report'
    WHEN 1030 THEN 'Choose From List Settings'
    WHEN 1100 THEN 'Graphic'
    WHEN 1101 THEN 'Graphic Preferences'
    WHEN 2002 THEN 'Card Properties'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2
    AND T2.FormID > 900 AND T2.FormID < 3001
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 3001 THEN 'Document Drafts - Selection Criteria'
    WHEN 3002 THEN 'Document Drafts'
    WHEN 3007 THEN 'Expenses'
    WHEN 3020 THEN 'Queries List'
    WHEN 3090 THEN 'Payment Methods for BP - Selection Criteria'
    WHEN 3900 THEN '1099 Editing - Selection Criteria'
    WHEN 3901 THEN '1099 Editing'
    WHEN 3902 THEN '1099 Report - Selection Criteria'
    WHEN 3903 THEN '1099 Box - Selection Criteria'
    WHEN 3904 THEN '1099 Report - Selection Criteria'
    WHEN 3905 THEN '1099 Report'
    WHEN 3906 THEN '1099 Detailed Report per Vendor'
    WHEN 3907 THEN '1099 Opening Balance - Selection Criteria'
    WHEN 3908 THEN '1099 Opening Balance'
    WHEN 3910 THEN 'Define Late Payments Fees'
    WHEN 3915 THEN 'EST'
    WHEN 4000 THEN 'Define survey variables'
    WHEN 4001 THEN 'Message to User'
    WHEN 4002 THEN 'Changing Description'
    WHEN 4666 THEN 'User Reports'
    WHEN 4667 THEN 'Create User Report'
    WHEN 5003 THEN 'Update Control Report'
    WHEN 8001 THEN 'Define Business Partner Priorities'
    WHEN 8002 THEN 'Define Dunning Levels'
    WHEN 8003 THEN 'User Tables'
    WHEN 8004 THEN 'Define Payment Blocks'
    WHEN 8005 THEN 'Central Bank Ind.'
    WHEN 8006 THEN 'Define Solution Statuses'
    WHEN 8007 THEN 'Define Service Call Origins'
    WHEN 8008 THEN 'Define Service Call Statuses'
    WHEN 8009 THEN 'Define Service Call Types'
    WHEN 8010 THEN 'Define Service Call Problem Types'
    WHEN 8011 THEN 'Define Employee Types'
    WHEN 8012 THEN 'Define Employee Statuses'
    WHEN 8013 THEN 'Define Termination Reasons'
    WHEN 8014 THEN 'Define Education Types'
    WHEN 8015 THEN 'Define Agents'
    WHEN 8017 THEN 'Define File Formats'
    WHEN 8018 THEN 'Define Doubtful Debts'
    WHEN 8020 THEN 'Define Queues'
    WHEN 8661 THEN 'Set Rate for Selection Criteria'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2
    AND T2.FormID > 3000 AND T2.FormID < 10001
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 20004 THEN 'Import from Excel'
    WHEN 20007 THEN 'Export Transactions'
    WHEN 20010 THEN 'Export Account Balances to Text File'
    WHEN 20011 THEN 'Import External bank Statement'
    WHEN 20012 THEN 'Define Interface for Importing Bank Statement'
    WHEN 20013 THEN 'Export Accounts to Foreign Software'
    WHEN 20019 THEN 'Import Items from Foreign Software'
    WHEN 20030 THEN 'Export Accounts to Pinkasit Software'
    WHEN 20100 THEN 'Launch Application'
    WHEN 20101 THEN 'Application Details'
    WHEN 20200 THEN 'Sales Analysis by Customer'
    WHEN 20201 THEN 'Sales Analysis by Customer'
    WHEN 20202 THEN 'Sales Analysis by Customer'
    WHEN 20203 THEN 'Sales Analysis by Items'
    WHEN 20204 THEN 'Sales Analysis by Item'
    WHEN 20205 THEN 'Sales Analysis by Items'
    WHEN 20206 THEN 'Sales Analysis by Customer'
    WHEN 20207 THEN 'Sales Analysis by Customer'
    WHEN 20208 THEN 'Sales Analysis by Customer'
    WHEN 20209 THEN 'Sales Analysis for Customer'
    WHEN 20210 THEN 'Sales Analysis for Customer'
    WHEN 20211 THEN 'Sales Analysis for Customer'
    WHEN 20212 THEN 'Purchase Analysis by Vendor'
    WHEN 20213 THEN 'Purchase Analysis by Vendor'
    WHEN 20214 THEN 'Purchase Analysis by Vendor'
    WHEN 20215 THEN 'Purchase Analysis by Items'
    WHEN 20216 THEN 'Purchase Analysis by Items'
    WHEN 20217 THEN 'Purchase Analysis by Items'
    WHEN 20218 THEN 'Purchase Analysis by Vendor'
    WHEN 20219 THEN 'Purchase Analysis by Vendor'
    WHEN 20220 THEN 'Purchase Analysis by Vendor'
    WHEN 20221 THEN 'Purchases Analysis for Vendors'
    WHEN 20222 THEN 'Purchases Analysis for Vendors'
    WHEN 20223 THEN 'Purchase Analysis for Vendors'
    WHEN 20230 THEN 'Sales Analysis by Customer (Annual)'
    WHEN 20231 THEN 'Sales Analysis by Customer Group (Annual)'
    WHEN 20232 THEN 'Sales Analysis Report by Customer (Detailed)'
    WHEN 20233 THEN 'Sales Analysis Report by Customer (Detailed)'
    WHEN 20234 THEN 'Sales Analysis Report by Customer (Monthly)'
    WHEN 20235 THEN 'Sales Analysis by Customer Group (Monthly)'
    WHEN 20236 THEN 'Sales Analysis by Customer (Quarterly)'
    WHEN 20237 THEN 'Sales Analysis by Customer Group (Quarterly)'
    WHEN 20238 THEN 'Sales Analysis by Items (Annual)'
    WHEN 20239 THEN 'Sales Analysis by Item Group (Annual)'
    WHEN 20240 THEN 'Sales Analysis Report by Item (Detailed)'
    WHEN 20241 THEN 'Sales Analysis by Item Group (Detailed)'
    WHEN 20242 THEN 'Sales Analysis Report by Items (Monthly)'
    WHEN 20243 THEN 'Sales Analysis by Item Group (Monthly)'
    WHEN 20244 THEN 'Sales Analysis Report by Items (Quarterly)'
    WHEN 20245 THEN 'Sales Analysis by Item Group (Monthly)'
    WHEN 20246 THEN 'Sales Analysis by Sales Employee (Annual)'
    WHEN 20247 THEN 'Sales Analysis Report by Sales Employee (Monthly)'
    WHEN 20248 THEN 'Sales Analysis by Sales Employee (Quarterly)'
    WHEN 20249 THEN 'Purchase Analysis by Vendors (Annual)'
    WHEN 20250 THEN 'Purchase Analysis by Vendor Groups (Annual)'
    WHEN 20251 THEN 'Purchase Analysis Rep. by Vendor (Detailed)'
    WHEN 20252 THEN 'Sales Vol. Analysis Rep. for Cust. (Detailed)'
    WHEN 20253 THEN 'Purchase Analysis Rep. by Vendors (Monthly)'
    WHEN 20254 THEN 'Purchase Analysis by Vendor Groups (Monthly)'
    WHEN 20255 THEN 'Purchase Analysis by Vendors (Quarterly)'
    WHEN 20256 THEN 'Purchase Analysis by Vendor Groups (Quarterly)'
    WHEN 20257 THEN 'Purchase Analysis by Items (Annual)'
    WHEN 20258 THEN 'Purchase Analysis by Item Groups (Annual)'
    WHEN 20259 THEN 'Purchase Analysis Rep. by Vendor (Detailed)'
    WHEN 20260 THEN 'Purchase Analysis by Item Groups (Detailed)'
    WHEN 20261 THEN 'Purchase Analysis Rep. by Sales Employee (Monthly)'
    WHEN 20262 THEN 'Purchase Analysis by Sales Employee (Quarterly)'
    WHEN 20263 THEN 'Purchase Analysis by Sales Employee (Annual)'
    WHEN 20264 THEN 'Sales Analysis Report by Sales Employee (Detailed)'
    WHEN 20266 THEN 'Purchase Analysis Rep. by Items (Monthly)'
    WHEN 20267 THEN 'Purchase Analysis by Item Groups (Monthly)'
    WHEN 20268 THEN 'Purchase Analysis Rep. by Items (Quarter)'
    WHEN 20269 THEN 'Purchase Analysis by Item Groups (Quarterly)'
    WHEN 20270 THEN 'Purchase Analysis Rep. by Sales Employee (Detailed)'
    WHEN 20271 THEN 'Choose Detailed Analysis Report'
    WHEN 20301 THEN 'Update Delivery Notes'
    WHEN 20302 THEN 'Delivery Notes - Selection Criteria'
    WHEN 20303 THEN 'Delivery Summary Report - Selection Criteria'
    WHEN 20304 THEN 'Delivery Summary Report'
    WHEN 20305 THEN 'Summary Report for Delivery Notes on Invoices'
    WHEN 20306 THEN 'Invoices Summary Report - Selection Criteria'
    WHEN 20307 THEN 'Export general data file'
    WHEN 20308 THEN 'Define Retail Stores'
    WHEN 20309 THEN 'Export document to retail chain'
    WHEN 20311 THEN 'Define Retail Stores'
    WHEN 20320 THEN 'Interest Calculation Report - Selection Criteria'
    WHEN 20321 THEN 'Interest Report'
    WHEN 20322 THEN 'Interest Report for Card %s'
    WHEN 20330 THEN 'Payments to Vendors'
    WHEN 20331 THEN 'Unapproved Payments to Vendors Report'
    WHEN 20450 THEN 'Credit Card Summary - Selection Criteria'
    WHEN 20451 THEN 'Credit Card Summary'
    WHEN 20452 THEN 'Credit Card Vouchers for Update'
    WHEN 20453 THEN 'Items - Selection Criteria'
    WHEN 20454 THEN 'Items - Selection Criteria'
    WHEN 20502 THEN 'Credit Card Debit'
    WHEN 20605 THEN 'Links'
    WHEN 20607 THEN 'Update FC Rate from the Internet'
    WHEN 20611 THEN 'Open a service call in SAP Manage support center'
    WHEN 20612 THEN 'Support List'
    WHEN 20620 THEN 'Country Upgrader'
    WHEN 20621 THEN 'Upgrade Preparation Test'
    WHEN 20700 THEN 'Define Users'
    WHEN 20701 THEN 'Change Password'
    WHEN 20702 THEN 'Define Payment Run Defaults'
    WHEN 20703 THEN 'Payment Run - Payment Methods'
    WHEN 40001 THEN 'Item by Warehouses'
    WHEN 40003 THEN 'Display Connected Files'
    WHEN 40005 THEN 'Calendar'
    WHEN 40009 THEN 'Calendar Settings'
    WHEN 40011 THEN 'Month Calendar'
    WHEN 40012 THEN 'Define Alternative Items'
    WHEN 40013 THEN 'Alternative Items - Selection Criteria'
    WHEN 40014 THEN 'Define Alternative Items'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2
    AND T2.FormID > 10000 AND T2.FormID < 50101
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 50101 THEN 'Define Approval Stages'
    WHEN 50102 THEN 'Define Approval Templates'
    WHEN 50103 THEN 'Request for Approval'
    WHEN 50104 THEN 'Approval Status Report - Selection Criteria'
    WHEN 50105 THEN 'Approval Status Report'
    WHEN 50107 THEN 'Approval Decision Report - Selection Criteria'
    WHEN 50108 THEN 'Approval Decision Report'
    WHEN 50109 THEN 'Sweeping Update'
    WHEN 50300 THEN 'RP Export Strings'
    WHEN 60000 THEN 'Machine ID'
    WHEN 60001 THEN 'Properties'
    WHEN 60002 THEN 'Connected Users'
    WHEN 60003 THEN 'License Removal'
    WHEN 60006 THEN 'License Server Definition'
    WHEN 60009 THEN 'Define Localizations'
    WHEN 60011 THEN 'View Preferences'
    WHEN 60013 THEN 'Dunning Terms'
    WHEN 60014 THEN 'Dunning Wizard'
    WHEN 60016 THEN 'Define Packages Types'
    WHEN 60017 THEN 'Define Packages'
    WHEN 60018 THEN 'Define Employee Position'
    WHEN 60019 THEN 'Define Teams'
    WHEN 60020 THEN 'Pick List Details'
    WHEN 60021 THEN 'AddOn Identifier Generator'
    WHEN 60022 THEN 'Dunning History Report'
    WHEN 60023 THEN 'Dunning History Summery Report'
    WHEN 60048 THEN 'Details'
    WHEN 60049 THEN 'Deposited - Details'
    WHEN 60050 THEN 'Bill of Exchange Managment'
    WHEN 60051 THEN 'Bill of Exchange Managment'
    WHEN 60052 THEN 'Bill of Exchange Transactions'
    WHEN 60053 THEN 'Bill of Exchange - Receivables'
    WHEN 60054 THEN 'Bill of Exchange Transactions'
    WHEN 60055 THEN 'Bill of Exchange Reconciliation'
    WHEN 60056 THEN 'Bill of Exchange - Payables'
    WHEN 60057 THEN 'AddOn Registration'
    WHEN 60058 THEN 'AddOns Administrator'
    WHEN 60059 THEN 'AddOns Manager'
    WHEN 60070 THEN 'License Administration'
    WHEN 60071 THEN 'Define Predefined Text '
    WHEN 60090 THEN 'A/R Invoice'
    WHEN 60091 THEN 'A/R Reserve Invoice'
    WHEN 60092 THEN 'A/P Reserve Invoice'
    WHEN 60100 THEN 'Employee Master Data'
    WHEN 60101 THEN 'Absence Info'
    WHEN 60102 THEN 'Education'
    WHEN 60103 THEN 'Reviews'
    WHEN 60104 THEN 'Previous Employment'
    WHEN 60105 THEN 'Employee / Phone Book Report - Selection Criteria'
    WHEN 60106 THEN 'Employees List'
    WHEN 60107 THEN 'Phone Book'
    WHEN 60108 THEN 'Absence Report - Selection Criteria'
    WHEN 60109 THEN 'Employees Absence Report'
    WHEN 60110 THEN 'Service Call'
    WHEN 60115 THEN 'Recommended Solutions'
    WHEN 60116 THEN 'Service Call Expenses'
    WHEN 60117 THEN 'Expense Document - Selection Criteria'
    WHEN 60120 THEN 'Knowledge Base Solution'
    WHEN 60125 THEN 'Contract Templates'
    WHEN 60126 THEN 'Service Contract'
    WHEN 60130 THEN 'Service Calls Report - Selection Criteria'
    WHEN 60131 THEN 'Service Calls'
    WHEN 60132 THEN 'Service Call Views'
    WHEN 60133 THEN 'Service Monitor'
    WHEN 60135 THEN 'Service Contracts Report - Selection Criteria'
    WHEN 60136 THEN 'Service Contracts'
    WHEN 60138 THEN 'Average Closure Time'
    WHEN 60139 THEN 'Average Closure Time Report - Selection Criteria'
    WHEN 60140 THEN 'My Open Service Calls'
    WHEN 60141 THEN 'My Service Calls'
    WHEN 60142 THEN 'My Overdue Service Calls'
    WHEN 60143 THEN 'Service Calls for BP'
    WHEN 60150 THEN 'Customer Equipment Card'
    WHEN 60151 THEN 'Customer Equipment Report - Selection Criteria'
    WHEN 60152 THEN 'Customer Equipment Report'
    WHEN 60156 THEN 'Sale Opportunity List Report Filter'
    WHEN 60157 THEN 'Select Customers'
    WHEN 60158 THEN 'Date'
    WHEN 60159 THEN 'Amounts'
    WHEN 60160 THEN 'Percentage Rate'
    WHEN 60161 THEN 'Documents'
    WHEN 60162 THEN 'Opportunities list report'
    WHEN 60163 THEN 'Opportunities forecast report'
    WHEN 60164 THEN 'Select Customers'
    WHEN 60165 THEN 'Date'
    WHEN 60166 THEN 'Amounts'
    WHEN 60167 THEN 'Percentage Rate'
    WHEN 60168 THEN 'Documents'
    WHEN 60169 THEN 'Opportunities Forecast Report'
    WHEN 60171 THEN 'Opportunities list report'
    WHEN 60173 THEN 'Define Relationships'
    WHEN 60174 THEN 'Define Industry'
    WHEN 60175 THEN 'Lost opportunities report'
    WHEN 60176 THEN 'Select Customers'
    WHEN 60177 THEN 'Date'
    WHEN 60178 THEN 'Amounts'
    WHEN 60179 THEN 'Percentage Rate'
    WHEN 60180 THEN 'Documents'
    WHEN 60181 THEN 'Lost opportunities Report'
    WHEN 60182 THEN 'My open opportunities Report'
    WHEN 60183 THEN 'My close opportunities Report'
    WHEN 60184 THEN 'Source distribution over time report'
    WHEN 60185 THEN 'Select Customers'
    WHEN 60186 THEN 'Date'
    WHEN 60187 THEN 'Amounts'
    WHEN 60188 THEN 'Percentage Rate'
    WHEN 60189 THEN 'Documents'
    WHEN 60190 THEN 'Source distribution over time Report'
    WHEN 60191 THEN 'Opportunities Statistics report'
    WHEN 60192 THEN 'Select Customers'
    WHEN 60193 THEN 'Date'
    WHEN 60194 THEN 'Amounts'
    WHEN 60195 THEN 'Percentage Rate'
    WHEN 60196 THEN 'Documents'
    WHEN 60197 THEN 'Statistics Report'
    WHEN 60198 THEN 'Opportunities list report'
    WHEN 60199 THEN 'Statistics Report'
    WHEN 60200 THEN 'Control Accounts'
    WHEN 60201 THEN 'Bookkeeping Balance by Control Accounts'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2
    AND T2.FormID > 50000 AND T2.FormID < 60202
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 60202 THEN 'Service Calls by Queue'
    WHEN 60203 THEN 'Response time by Owner Report'
    WHEN 60205 THEN 'Define Territories'
    WHEN 60206 THEN 'Service Calls by Queue'
    WHEN 60207 THEN 'Response time by Owner Report'
    WHEN 60210 THEN 'Set Default Template for Report'
    WHEN 60211 THEN 'Business Partners - Selection Criteria'
    WHEN 60214 THEN 'Data Ownership Permissions'
    WHEN 60215 THEN 'Data Ownership Exceptions'
    WHEN 60216 THEN 'Opportunities Forecast over time report'
    WHEN 60217 THEN 'Select Customers'
    WHEN 60218 THEN 'Date'
    WHEN 60219 THEN 'Amounts'
    WHEN 60220 THEN 'Percentage Rate'
    WHEN 60221 THEN 'Documents'
    WHEN 60222 THEN 'Forecast over time Report'
    WHEN 60223 THEN 'Opportunities list report'
    WHEN 60265 THEN 'Balance Sheet Comparison - Selection Criteria'
    WHEN 60266 THEN 'Define New Status'
    WHEN 60300 THEN 'Tax Report - Selection Criteria'
    WHEN 60301 THEN 'Withholding Tax Report'
    WHEN 60302 THEN 'VAT Refund Report'
    WHEN 60305 THEN 'Tax Reconciliation Report'
    WHEN 60310 THEN 'Tax Summary Report - Selection Criteria'
    WHEN 60330 THEN 'Stamp Tax Report'
    WHEN 60350 THEN 'Tax Summary Report'
    WHEN 60361 THEN 'Define Document Belguim Localization'
    WHEN 60400 THEN 'Object Properties'
    WHEN 60401 THEN 'Document Properties'
    WHEN 60402 THEN 'Area Properties'
    WHEN 60403 THEN 'Object Properties'
    WHEN 60410 THEN 'Period-End Closing - Selection Criteria'
    WHEN 60411 THEN 'Period-End Closing Settings'
    WHEN 60412 THEN 'Period-End Closing Settings'
    WHEN 60413 THEN 'Period-End Closing'
    WHEN 60414 THEN 'Period-End Closing'
    WHEN 60420 THEN 'Find G/L Accounts'
    WHEN 60501 THEN 'Bill of Exchange Fund'
    WHEN 60502 THEN 'Bill of Exchange Fund - Selection Criteria'
    WHEN 60504 THEN 'Withholding Tax Table'
    WHEN 60505 THEN 'Payment Dates'
    WHEN 60506 THEN 'Holiday Dates'
    WHEN 60507 THEN 'Installments'
    WHEN 60508 THEN 'Payments List'
    WHEN 60510 THEN 'Manage User Keys'
    WHEN 60511 THEN 'Down Payments to Draw'
    WHEN 60555 THEN 'Document Journal'
    WHEN 60600 THEN 'G\L Acoounts Inflation Wizard'
    WHEN 60601 THEN 'User Defined Object Wizard'
    WHEN 60605 THEN 'Cost Of Sale Revaluation Wizard'
    WHEN 60610 THEN 'Stock Inflation Wizard'
    WHEN 60700 THEN 'Define %s'
    WHEN 60712 THEN 'Define Tax Codes'
    WHEN 60713 THEN 'Define Tax Categories'
    WHEN 60714 THEN 'Define Tax Types - Selection Criteria'
    WHEN 60715 THEN 'Update Serial Numbers'
    WHEN 60716 THEN 'Update Batch Numbers'
    WHEN 60750 THEN 'User Permission Form'
    WHEN 60751 THEN 'User Perm. - Forms ID'
    WHEN 63771 THEN 'Command Center - Settings'
    WHEN 65000 THEN 'WT Mode'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2 AND T2.FormID > 60201 AND T2.FormID < 65001
    UNION ALL
    SELECT T0.CatName AS 'Category Name',
    T1.QName as 'Query Name',
    T1.IntrnalKey,
    T1.QString as 'Query',
    T2.Refresh as 'Auto refresh',
    T2.FrceRfrsh as 'Refresh regularly',
    T2.ByField as 'If refreshed by header field',
    'Form Description' = CASE T2.FormID
    WHEN 65001 THEN 'Vendor Mode - Detailed Format'
    WHEN 65002 THEN 'Document Type'
    WHEN 65007 THEN 'Nota Justificativa Report'
    WHEN 65008 THEN 'Anexo report'
    WHEN 65009 THEN 'Appendix O and P'
    WHEN 65010 THEN 'Report 347'
    WHEN 65011 THEN '347 Report'
    WHEN 65012 THEN 'Vendor Selection'
    WHEN 65013 THEN '349 Report'
    WHEN 65014 THEN '349 Report'
    WHEN 65015 THEN 'Define Withholding Tax Codes'
    WHEN 65016 THEN 'Exception Report'
    WHEN 65017 THEN 'WT Codes Allowed'
    WHEN 65018 THEN 'Update Parent Item Prices - Selection Criteria'
    WHEN 65019 THEN 'Template'
    WHEN 65020 THEN 'Update Parent Item Prices Globally'
    WHEN 65021 THEN 'Installments'
    WHEN 65022 THEN 'Update Stock Valuation method Report'
    WHEN 65023 THEN 'Update Stock Method - Selection Criteria'
    WHEN 65024 THEN 'Appendix O and P'
    WHEN 65025 THEN 'Deferred Sales And Purchase Ledger - Selection Criteria'
    WHEN 65026 THEN 'Deferred Sales And Purchase Ledger'
    WHEN 65027 THEN 'Sales And Purchase Ledger'
    WHEN 65028 THEN 'Annual Sales List'
    WHEN 65050 THEN 'Insufficient Available Quantity'
    WHEN 65051 THEN 'Serial Numbers Details'
    WHEN 65052 THEN 'Define Bussiness Partner Bank Accounts'
    WHEN 65053 THEN 'Batches Details'
    WHEN 65055 THEN 'Quantities'
    WHEN 65060 THEN 'Define Stamp Tax Groups'
    WHEN 65070 THEN 'Tax Declaration Boxes '
    WHEN 65080 THEN 'Print Invoice'
    WHEN 65081 THEN 'Folio Number Confirmation'
    WHEN 65082 THEN 'Folio Numbers Confirmation'
    WHEN 65083 THEN 'Folio Number Assignment'
    WHEN 65084 THEN 'Document Selection for Folio Number Assignment'
    WHEN 65085 THEN 'Document Selection for Folio Number Assignment'
    WHEN 65086 THEN 'Documents Folio numbering list'
    WHEN 65087 THEN 'Check Folio Numbering'
    WHEN 65088 THEN 'Text Editor'
    WHEN 65100 THEN 'Define Period Indicators'
    WHEN 65200 THEN 'MRP Wizard'
    WHEN 65201 THEN 'Define Forecasts'
    WHEN 65203 THEN 'Warehouses Selector'
    WHEN 65204 THEN 'Pegging Information'
    WHEN 65211 THEN 'Production Order'
    WHEN 65212 THEN 'Select Items To Copy'
    WHEN 65213 THEN 'Issue for Production '
    WHEN 65214 THEN 'Receipt from Production '
    WHEN 65215 THEN 'Order Recommendations Report - Selection Criteria'
    WHEN 65217 THEN 'Order Recommendations Report'
    WHEN 65250 THEN 'Tax Declaration Boxs Report'
    WHEN 65300 THEN 'A/R Down Payment'
    WHEN 65301 THEN 'A/P Down Payment'
    WHEN 65302 THEN 'A/R Invoice Exempt'
    WHEN 65303 THEN 'A/R Debit Memo'
    WHEN 65304 THEN 'A/R Bill'
    WHEN 65305 THEN 'A/R Exempt Bill'
    WHEN 65306 THEN 'A/P Debit Memo '
    WHEN 65307 THEN 'A/R Export Invoice'
    WHEN 65308 THEN 'A/R Down Payment Request '
    WHEN 65309 THEN 'A/P Down Payment Request '
    WHEN 65310 THEN 'Tax Declaration Boxs Report'
    WHEN 70001 THEN 'Material Revaluation'
    WHEN 999999 THEN 'About SAP Business One'
    ELSE 'Unknown Form'
    END,
    T2.ItemID as 'Area/header field where FMS is assigned',
    T2.ColID as 'Column field where FMS is assigned',
    T2.FieldID as 'Auto refresh Field'
    FROM OQCN T0
    INNER JOIN OUQR T1
    ON T0.CategoryId = T1.QCategory
    INNER JOIN CSHS T2
    ON T1.IntrnalKey = T2.QueryId
    WHERE T0.CategoryId != -2 AND T2.FormID > 65000
    ORDER BY T1.QName

Maybe you are looking for