Setting DESFORMAT parameter with Comma as delimiter

Hi Gurus,
I have a report in which i set the DESFORMAT to Delimited and whenever i generate the output, it is a tab separated file. The reason is that the default delimiter is Tab. How can i set Comma as the delimiter for that report. I don't want to change it for all the reports, means i don't want to change any of the environment variablr. I want this change only for this report.
Thanks in advance
Manish

I haven't had personal experience with it,
but the reference docs say that DELIMITER
is a possible option to RWBLD60 as well.
(Only for DESFORMAT=delimited.)
Also, the built-in-help says that if you
select file->generate-to-file->delimited,
you'll get a dialog box for options, one of
which is the delimiter. Tried it, seems to
work. Doesn't like Unicode, which is one of
the reasons I don't use DELIMITED...
-- Allan Plumb

Similar Messages

  • Adding a parameter with comma separated having different values

    i want to add a parameter with comma separated having different values of a column. e.g i have column having values from 10000 to 99999. i want to create report for the selected values of 11111,12111,131111 etc. This selection can be one or more values as desired. Second problem is restricting the records as per parameter.

    Reports doesn't allow multi-selection of a parameter in its parameter form. You need to use Oracle*Forms or an HTML Form to front end more advanced parameter form options.
    However, you could have multiple parameters and combine their selections into a single parameter in the after parameter form trigger. This would at least allow you to give the user the option for selecting up to 'n' parameters. The single parameter would have to be of type "character" and you probably want to add appropriate quotes around the values in the after parameter form trigger.
    Second problem is restricting the records as per parameter. Once you've got the comma seperated values into a single parameter (say p_myValues with a default value of '') then you can just use a lexical parameter to restrict the values as in:
    select * from emp
    where to_char(empno) in (&p_myValues)

  • Report with link that pass parameter with comma in it

    Hi.
    i have a Report and one of the columns is a Link to another page.
    i've set that when you click on that link, it redirect you to another page and pass the value of another column on that report to a text item on that page other page.
    the problem is that the value i want to pass has a comma in it and APEX split the value.
    although it look like a very common question, i could not find a solution for that.
    any tip?
    Thanks :)

    Dror,
    As a best practice we frequently advise against passing characters in the URL that are not numeric/simple primary key-type values, but you can pass a comma in f?p URL item values by enclosing the value between backslashes, e.g.,
    f?p=&APP_ID.:1:&SESSION.::NO::P1_ENAME:\Rejuan,Dror\
    Scott

  • Setting XSL parameter with DBMS_XMLGEN.setXSLTParam

    Hi all,
    Here's my second post about XSL parameters. This one deals with the procedure setXSLTParam from the package DBMS_XMLGEN in 10g R2.
    The test case is the following :
    DECLARE
    ctx dbms_xmlgen.ctxHandle;
    res clob;
    xsl clob := to_clob(
    '<?xml version="1.0" encoding="iso-8859-15"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" version="4.0" encoding="iso-8859-15"/>
    <xsl:param name="caption"/>
    <xsl:template match="/">
    <TABLE>
      <CAPTION><xsl:value-of select="$caption"/></CAPTION>
      <xsl:apply-templates/>
    </TABLE>
    </xsl:template>
    <xsl:template match="ROWSET">
    <TR>
      <xsl:for-each select="ROW[1]/*">
       <TH><xsl:value-of select="local-name()"/></TH>
      </xsl:for-each>
    </TR>
    <xsl:apply-templates/>
    </xsl:template>
    <xsl:template match="ROW"><TR><xsl:apply-templates/></TR></xsl:template>
    <xsl:template match="ROW/*"><TD><xsl:value-of select="."/></TD></xsl:template>
    </xsl:stylesheet>');
    BEGIN
    ctx := dbms_xmlgen.newContext('select level from dual connect by level < to_number(:MAXLINE)');
    dbms_xmlgen.setXSLT(ctx, xsl);
    dbms_xmlgen.setXSLTParam(ctx, 'caption', '"TEST"');
    dbms_xmlgen.setBindValue(ctx, 'MAXLINE', '10');
    res := dbms_xmlgen.getXML(ctx);
    dbms_xmlgen.closeContext(ctx);
    END;Execution gives error "*ORA-31020: The operation is not allowed, Reason: Invalid XSL Parameter or its Value*".
    I think I'm using the correct syntax for the parameter, but the procedure doesn't seem to work properly (it's also not documented explicitly for Oracle 10gR2).
    Its java-based counterpart DBMS_XMLQUERY.setXSLTParam() works well though.
    Has anyone ever managed to use this feature in 10g or newer release?
    Thanks.
    (Db version is : Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production)

    select * from v$version
    BANNER                                                          
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production                          
    CORE     10.2.0.1.0     Production                                        
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production         
    NLSRTL Version 10.2.0.1.0 - Production for me your code is work. result:
    <TABLE>
    <CAPTION></CAPTION>
    <TR>
    <TH>LEVEL</TH>
    </TR>
    <TR>
    <TD>1</TD>
    </TR>
    <TR>
    <TD>2</TD>
    </TR>
    </TABLE>some interesting note:
    xslt CLOB := '<?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="no"/>
    ...In 10.2 when XSLT is used with dbms_xmlgen the XML Header tag is missing
    may be this help you

  • Output with comma as delimiter

    I do have the same problem.
    Any help ??

    Sorry
    I was refering to the earlier posting be Suneel.
    I want to generate excel format of my report. I did it using Delimited option but it was not same as it appears in my browser if I choose html format.all the labels repeat with each instance of the row . Can you please give me the proper Solution.How should I proceed?
    Thanks & Regds.
    Suneel
    null

  • SUBMIT program VIA JOB and SET/GET parameter

    Hi All
    I need to pass the content of a variable from the program 'A' to program 'B'.
    Program A uses JOB_OPEN , SUBMIT program VIA JOB jobname NUMBER jobnumber AND return, JOB_CLOSE.
    I tried to use import/export memory but it didn't work. Then I am trying to use set/get parameters but it also did not work.
    Program A is going to run in any server and program B will run in the central instance (it is determined in the FM JOB_CLOSE, parameter target_server).
    Program does not have selection-screen.
    Is it possible use set/get parameter with submit via job?
    Could you please advise?
    Thanks in advance.
    João Gaia

    Here a simple code
    *Submit report as job(i.e. in background)
    data: jobname like tbtcjob-jobname value
                                 'TRANSFER DATA'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1 value 'X'.
    * Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    * Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    * Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
    "            event_id             = starttime-eventid
    "            event_param          = starttime-eventparm
    "            event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
    "            laststrtdt           = starttime-laststrtdt
    "            laststrttm           = starttime-laststrttm
    "            prddays              = 1
    "            prdhours             = 0
    "            prdmins              = 0
    "            prdmonths            = 0
    "            prdweeks             = 0
    "            sdlstrtdt            = starttime-sdlstrtdt
    "            sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
    "            targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.
    Then... for import/export of a variable, you can use Import Memory and Export Memory function.
    Like this:
    REPORT A:
      IF NOT it_dlist_out IS INITIAL.
        EXPORT it_dlist_out TO MEMORY ID 'TEST1234'.
      ELSE.
    * Clearing memory
        FREE MEMORY ID 'TEST1234'.
      ENDIF.
    REPORT B:
    IMPORT it_dlist_out TO lt_dlist_out FROM MEMORY ID 'TEST1234'.
    Edited by: spantaleoni on Jan 11, 2011 3:21 PM
    Edited by: spantaleoni on Jan 11, 2011 3:23 PM

  • How to store a file in application server with comma as a delimiter !!

    <i>Hi,
       I'm Creating a file in app. server using "open dataset" statment and populating the file using Transfer stmt.
    I like to store the data fields with comma delimiter, since it normally fixed length.
    Please let me know Any method available.
    Thank You,
    Senthil</i>

    No problem,  just concatenate all your fields into one field separated by a comma.  Then transfer that field only.
    data: your_dataset type localfile default '/usr/sap/TST/SYS/Data1.txt'.
    data: output type string.
    open dataset your_dataset for output in text mode.
    loop at itab.
      concatenate itab-fld1
                  itab-fld2
                  itab-fld3
                       into output separated by ','.
      transfer output to your_dataset.
    endloop.
    close dataset your_dataset.
    REgards,
    Rich Heilman

  • Setting Activity parameter property "literal" with OMB Plus

    Does anybody know how the property "literal" can be set to "false" with an OMB command?
    To change e.g. the value, the following command works:
    OMBALTER PROCESS_FLOW 'LOAD_STAGE' \
    MODIFY ACTIVITY 'STG_POS_MAP' MODIFY PARAMETER 'P_AUDITID' SET PROPERTIES (VALUE) VALUES ('parent_audit_id')
    This works for all other properties like DIRECTION, DATA_TYPE, BINDING, etc. but not for LITERAL. The following command doesn't work:
    OMBALTER PROCESS_FLOW 'LOAD_STAGE' \
    MODIFY ACTIVITY 'STG_POS_MAP' MODIFY PARAMETER 'P_AUDITID' SET PROPERTIES (LITERAL) VALUES ('false')
    In the OWB API and Scripting Reference there is no information about this property. It seems that Oracle forgot to implement it...

    Hi
    For a while I though the same...the property is ISLITERALVALUE see the blog post for an example;
    http://blogs.oracle.com/warehousebuilder/newsItems/viewFullItem$183
    Cheers
    David

  • ViewKind Parameter Ignored in ProjectItem.Open if ProjectItem is Set to Open With Default External Editor

    Hi all,
    In my VS2010 extension, I have just encountered a situation which I can find no workaround for. As always, I went to Carlos Quintero's MZ-Tools first to see if I could find an answer. In this excellent article of his (http://www.mztools.com/articles/2007/mz2007027.aspx),
    he discusses how to get "the ProjectItem in the desired view using ProjectItem.Open(viewKind), which returns an EnvDTE.Window object."
    This is the behavior I have experienced until I noticed that if a user selects "Open With..." and sets a default external program to open a given item with, I can no longer programmatically open the item in the text editor (this is required
    functionality for my extension, since I am not setting the Window to visible, anyway). The screenshot below illustrates my point, even though I am working with my own custom extensions.
    In this case, calling ProjectItem.Open with every available ViewKind value will cause Program.cs to open in Notepad rather than the text editor. The Window returned from the Open call is always null in this case.
    Is there any way I can force an item to open in the text editor, regardless what its default program/viewer is? Thanks for your help,
    -Mike

    I don't think that is a bug but a limitation of the automation model.
    As workaround, you can use the following method:
    IVsUIShellOpenDocument.OpenSpecificEditor
    If you want something somewhat more palatable you can use the following method:
    VsShellUtilities.OpenDocumentWithSpecificEditor
    Editor guids are stored in the registry entry HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0_Config\Editors, but since you are only interested in the text editor guid, you are lucky because there is already a constant defined Microsoft.VisualStudio.VSConstants.GUID_TextEditorFactory.
    There is also a constant defined for the logical view: Microsoft.VisualStudio.VSConstants.LOGVIEWID.TextView_guid.
    So, even if text files are set to open with Notepad, this code should open them in the text editor:
             string fullPath;
             Guid editorGuid;
             Guid logicalViewGuid;
             IVsWindowFrame windowFrame;
             fullPath = projectItem.get_FileNames(0);
             editorGuid = Microsoft.VisualStudio.VSConstants.GUID_TextEditorFactory;
             logicalViewGuid = Microsoft.VisualStudio.VSConstants.LOGVIEWID.TextView_guid;
             windowFrame = Microsoft.VisualStudio.Shell.VsShellUtilities.OpenDocumentWithSpecificEditor(this, fullPath, editorGuid, logicalViewGuid);
             if (windowFrame != null)
                windowFrame.Show();
    * My new blog about VSX: http://www.visualstudioextensibility.com * Twitter: https://twitter.com/VSExtensibility * MZ-Tools productivity extension for Visual Studio: http://www.mztools.com.

  • Combining rows with comma delimited

    Hi All,
    I have two tables
    Table A
    ID Location ID
    1 6
    2 7
    1 9
    2 10
    3 7
    1 8
    2 9
    Table B
    ID
    1
    2
    3
    49
    8
    6
    I have to come up with something like this for each ID in table B, I have to write a query to get
    ID Location ID
    1 6, 9, 8
    2 7, 10, 9
    so for each Id I need to grab there Location Id and concatenate them with comma.
    How can I acheive this. Is it possible to avoid loops in this case?
    Anye help will be apprecaited.

    with a as (
               select 1 id,6 location_id from dual union all
               select 2,7 from dual union all
               select 1,9 from dual union all
               select 2,10 from dual union all
               select 3,7 from dual union all
               select 1,8 from dual union all
               select 2,9 from dual
         b as (
               select 1 id from dual union all
               select 2 from dual union all
               select 3 from dual union all
               select 49 from dual union all
               select 8 from dual union all
               select 6 from dual
    -- end of on-the-fly data sample
    select  id,
            rtrim(xmlagg(xmlelement(e,location_id,',').extract('//text()') order by rn),',') location_id_list
      from  (
             select  a.id,
                     a.location_id,
                     row_number() over(partition by a.id order by a.location_id) rn
               from  a,
                     b
               where b.id = a.id
      group by id
            ID LOCATION_ID_LIST
             1 6,8,9
             2 7,9,10
             3 7
    3 rows selected.
    SQL> SY.

  • Set out parameter in procedure for dbms_scheduler

    I see example for a dbms_scheduler setting in parameter values but what about if it is an out parameter ?
    create or replace procedure vd_tst (v_id out number) as
    begin
    v_id := to_number(to_char(sysdate,'YYYYMMDDHH24MISS'));
    end vd_tst
    how do I set a hook to do an alert let say for dbms_scheduler
    let say
    if v_id mod(9)==0 then <alarm>

    "what about if it is an out parameter ?"
    An out parameter must be given a variable defined in a PL/SQL block, so to run a job that calls a procedure that has an out parameter, build a PL/SQL block with the parameter declaration and procedure call. Create the job with job type PLSQL_BLOCK.
    Using a special delimited string (q'<delimiter><string><delimiter>'  Literals) is helpful for this
    For example:
    begin  DBMS_SCHEDULER.CREATE_JOB (
         job_name             => 'Test_message_inserter'
       , job_type             => 'PLSQL_BLOCK'
       , job_action           =>
    q'!declare v_time varchar2(30);
    begin
    v_time := to_char(sysdate, 'DD-mon-yyyy hh24:mi:ss');
    insert into t2(id, name) select SEQ_JOURNAL.nextval,v_time from dual;
    commit;
    end;
       , repeat_interval      => 'FREQ=secondly;interval=30'
       , enabled              => TRUE
       , comments             => 'Test job'
    end

  • Separating number in inputext with comma

    hi all
    I need to separate numbers with comma without using Enter .
    I have an input text and used an clientListner on it : code is bellow
      <f:view>
        <af:document id="d1">  
         <af:resource type="javascript" source="/js/accounting.js"/>
         <af:resource type="javascript" source="/js/functions.js"/>
         <!--<af:resource type="javascript" source="/js/accounting.min.js"/>-->
          <af:form id="f1">
    <af:panelGroupLayout id="pgl1">
    <af:inputText label="Label 1" id="it1">
    <af:clientListener method="formatNum" type="keyUp"/>
    </af:inputText>
            </af:panelGroupLayout>
          </af:form>
        </af:document>
      </f:view>
    I run this JavaScript on HTML page that is OK and my input text show separated number during entering ,
    but I run my above jspx page ,it does not show until press the Enter key ...
    please guide me .... I have an emergency condition please answer me soon
    and then use this function for handling...
    function.js :
    function formatNum(evt) {
        var inputfield = evt.getSource();
        var num = accounting.unformat(inputfield.getValue());
        var formatNum = accounting.formatNumber(num);
        inputfield.setValue(formatNum);
        return true;
    accounting.js
    * accounting.js v0.3.2
    * Copyright 2011, Joss Crowcroft
    * Freely distributable under the MIT license.
    * Portions of accounting.js are inspired or borrowed from underscore.js
    * Full details and documentation:
    * http://josscrowcroft.github.com/accounting.js/
    (function(root, undefined) {
    /* --- Setup --- */
    // Create the local library object, to be exported or referenced globally later
    var lib = {};
    // Current version
    lib.version = '0.3.2';
    /* --- Exposed settings --- */
    // The library's settings configuration object. Contains default parameters for
    // currency and number formatting
    lib.settings = {
    currency: {
    symbol : "$", // default currency symbol is '$'
    format : "%s%v", // controls output: %s = symbol, %v = value (can be object, see docs)
    decimal : ".", // decimal point separator
    thousand : ",", // thousands separator
    precision : 2, // decimal places
    grouping : 3 // digit grouping (not implemented yet)
    number: {
    precision : 0, // default precision on numbers is 0
    grouping : 3, // digit grouping (not implemented yet)
    thousand : ",",
    decimal : "."
    /* --- Internal Helper Methods --- */
    // Store reference to possibly-available ECMAScript 5 methods for later
    var nativeMap = Array.prototype.map,
    nativeIsArray = Array.isArray,
    toString = Object.prototype.toString;
    * Tests whether supplied parameter is a string
    * from underscore.js
    function isString(obj) {
    return !!(obj === '' || (obj && obj.charCodeAt && obj.substr));
    * Tests whether supplied parameter is a string
    * from underscore.js, delegates to ECMA5's native Array.isArray
    function isArray(obj) {
    return nativeIsArray ? nativeIsArray(obj) : toString.call(obj) === '[object Array]';
    * Tests whether supplied parameter is a true object
    function isObject(obj) {
    return obj && toString.call(obj) === '[object Object]';
    * Extends an object with a defaults object, similar to underscore's _.defaults
    * Used for abstracting parameter handling from API methods
    function defaults(object, defs) {
    var key;
    object = object || {};
    defs = defs || {};
    // Iterate over object non-prototype properties:
    for (key in defs) {
    if (defs.hasOwnProperty(key)) {
    // Replace values with defaults only if undefined (allow empty/zero values):
    if (object[key] == null) object[key] = defs[key];
    return object;
    * Implementation of `Array.map()` for iteration loops
    * Returns a new Array as a result of calling `iterator` on each array value.
    * Defers to native Array.map if available
    function map(obj, iterator, context) {
    var results = [], i, j;
    if (!obj) return results;
    // Use native .map method if it exists:
    if (nativeMap && obj.map === nativeMap) return obj.map(iterator, context);
    // Fallback for native .map:
    for (i = 0, j = obj.length; i < j; i++ ) {
    results[i] = iterator.call(context, obj[i], i, obj);
    return results;
    * Check and normalise the value of precision (must be positive integer)
    function checkPrecision(val, base) {
    val = Math.round(Math.abs(val));
    return isNaN(val)? base : val;
    * Parses a format string or object and returns format obj for use in rendering
    * `format` is either a string with the default (positive) format, or object
    * containing `pos` (required), `neg` and `zero` values (or a function returning
    * either a string or object)
    * Either string or format.pos must contain "%v" (value) to be valid
    function checkCurrencyFormat(format) {
    var defaults = lib.settings.currency.format;
    // Allow function as format parameter (should return string or object):
    if ( typeof format === "function" ) format = format();
    // Format can be a string, in which case `value` ("%v") must be present:
    if ( isString( format ) && format.match("%v") ) {
    // Create and return positive, negative and zero formats:
    return {
    pos : format,
    neg : format.replace("-", "").replace("%v", "-%v"),
    zero : format
    // If no format, or object is missing valid positive value, use defaults:
    } else if ( !format || !format.pos || !format.pos.match("%v") ) {
    // If defaults is a string, casts it to an object for faster checking next time:
    return ( !isString( defaults ) ) ? defaults : lib.settings.currency.format = {
    pos : defaults,
    neg : defaults.replace("%v", "-%v"),
    zero : defaults
    // Otherwise, assume format was fine:
    return format;
    /* --- API Methods --- */
    * Takes a string/array of strings, removes all formatting/cruft and returns the raw float value
    * alias: accounting.`parse(string)`
    * Decimal must be included in the regular expression to match floats (defaults to
    * accounting.settings.number.decimal), so if the number uses a non-standard decimal
    * separator, provide it as the second argument.
    * Also matches bracketed negatives (eg. "$ (1.99)" => -1.99)
    * Doesn't throw any errors (`NaN`s become 0) but this may change in future
    var unformat = lib.unformat = lib.parse = function(value, decimal) {
    // Recursively unformat arrays:
    if (isArray(value)) {
    return map(value, function(val) {
    return unformat(val, decimal);
    // Fails silently (need decent errors):
    value = value || 0;
    // Return the value as-is if it's already a number:
    if (typeof value === "number") return value;
    // Default decimal point comes from settings, but could be set to eg. "," in opts:
    decimal = decimal || lib.settings.number.decimal;
    // Build regex to strip out everything except digits, decimal point and minus sign:
    var regex = new RegExp("[^0-9-" + decimal + "]", ["g"]),
    unformatted = parseFloat(
    ("" + value)
    .replace(/\((.*)\)/, "-$1") // replace bracketed values with negatives
    .replace(regex, '')         // strip out any cruft
    .replace(decimal, '.')      // make sure decimal point is standard
    // This will fail silently which may cause trouble, let's wait and see:
    return !isNaN(unformatted) ? unformatted : 0;
    * Implementation of toFixed() that treats floats more like decimals
    * Fixes binary rounding issues (eg. (0.615).toFixed(2) === "0.61") that present
    * problems for accounting- and finance-related software.
    var toFixed = lib.toFixed = function(value, precision) {
    precision = checkPrecision(precision, lib.settings.number.precision);
    var power = Math.pow(10, precision);
    // Multiply up by precision, round accurately, then divide and use native toFixed():
    return (Math.round(lib.unformat(value) * power) / power).toFixed(precision);
    * Format a number, with comma-separated thousands and custom precision/decimal places
    * Localise by overriding the precision and thousand / decimal separators
    * 2nd parameter `precision` can be an object matching `settings.number`
    var formatNumber = lib.formatNumber = function(number, precision, thousand, decimal) {
      // Resursively format arrays:
    if (isArray(number)) {
    return map(number, function(val) {
    return formatNumber(val, precision, thousand, decimal);
    // Clean up number:
    number = unformat(number);
    // Build options object from second param (if object) or all params, extending defaults:
    var opts = defaults(
    (isObject(precision) ? precision : {
    precision : precision,
    thousand : thousand,
    decimal : decimal
    lib.settings.number
    // Clean up precision
    usePrecision = checkPrecision(opts.precision),
    // Do some calc:
    negative = number < 0 ? "-" : "",
    base = parseInt(toFixed(Math.abs(number || 0), usePrecision), 10) + "",
    mod = base.length > 3 ? base.length % 3 : 0;
    // Format the number:
    return negative + (mod ? base.substr(0, mod) + opts.thousand : "") + base.substr(mod).replace(/(\d{3})(?=\d)/g, "$1" + opts.thousand) + (usePrecision ? opts.decimal + toFixed(Math.abs(number), usePrecision).split('.')[1] : "");
    * Format a number into currency
    * Usage: accounting.formatMoney(number, symbol, precision, thousandsSep, decimalSep, format)
    * defaults: (0, "$", 2, ",", ".", "%s%v")
    * Localise by overriding the symbol, precision, thousand / decimal separators and format
    * Second param can be an object matching `settings.currency` which is the easiest way.
    * To do: tidy up the parameters
    var formatMoney = lib.formatMoney = function(number, symbol, precision, thousand, decimal, format) {
    // Resursively format arrays:
    if (isArray(number)) {
    return map(number, function(val){
    return formatMoney(val, symbol, precision, thousand, decimal, format);
    // Clean up number:
    number = unformat(number);
    // Build options object from second param (if object) or all params, extending defaults:
    var opts = defaults(
    (isObject(symbol) ? symbol : {
    symbol : symbol,
    precision : precision,
    thousand : thousand,
    decimal : decimal,
    format : format
    lib.settings.currency
    // Check format (returns object with pos, neg and zero):
    formats = checkCurrencyFormat(opts.format),
    // Choose which format to use for this value:
    useFormat = number > 0 ? formats.pos : number < 0 ? formats.neg : formats.zero;
    // Return with currency symbol added:
    return useFormat.replace('%s', opts.symbol).replace('%v', formatNumber(Math.abs(number), checkPrecision(opts.precision), opts.thousand, opts.decimal));
    * Format a list of numbers into an accounting column, padding with whitespace
    * to line up currency symbols, thousand separators and decimals places
    * List should be an array of numbers
    * Second parameter can be an object containing keys that match the params
    * Returns array of accouting-formatted number strings of same length
    * NB: `white-space:pre` CSS rule is required on the list container to prevent
    * browsers from collapsing the whitespace in the output strings.
    lib.formatColumn = function(list, symbol, precision, thousand, decimal, format) {
    if (!list) return [];
    // Build options object from second param (if object) or all params, extending defaults:
    var opts = defaults(
    (isObject(symbol) ? symbol : {
    symbol : symbol,
    precision : precision,
    thousand : thousand,
    decimal : decimal,
    format : format
    lib.settings.currency
    // Check format (returns object with pos, neg and zero), only need pos for now:
    formats = checkCurrencyFormat(opts.format),
    // Whether to pad at start of string or after currency symbol:
    padAfterSymbol = formats.pos.indexOf("%s") < formats.pos.indexOf("%v") ? true : false,
    // Store value for the length of the longest string in the column:
    maxLength = 0,
    // Format the list according to options, store the length of the longest string:
    formatted = map(list, function(val, i) {
    if (isArray(val)) {
    // Recursively format columns if list is a multi-dimensional array:
    return lib.formatColumn(val, opts);
    } else {
    // Clean up the value
    val = unformat(val);
    // Choose which format to use for this value (pos, neg or zero):
    var useFormat = val > 0 ? formats.pos : val < 0 ? formats.neg : formats.zero,
    // Format this value, push into formatted list and save the length:
    fVal = useFormat.replace('%s', opts.symbol).replace('%v', formatNumber(Math.abs(val), checkPrecision(opts.precision), opts.thousand, opts.decimal));
    if (fVal.length > maxLength) maxLength = fVal.length;
    return fVal;
    // Pad each number in the list and send back the column of numbers:
    return map(formatted, function(val, i) {
    // Only if this is a string (not a nested array, which would have already been padded):
    if (isString(val) && val.length < maxLength) {
    // Depending on symbol position, pad after symbol or at index 0:
    return padAfterSymbol ? val.replace(opts.symbol, opts.symbol+(new Array(maxLength - val.length + 1).join(" "))) : (new Array(maxLength - val.length + 1).join(" ")) + val;
    return val;
    /* --- Module Definition --- */
    // Export accounting for CommonJS. If being loaded as an AMD module, define it as such.
    // Otherwise, just add `accounting` to the global object
    if (typeof exports !== 'undefined') {
    if (typeof module !== 'undefined' && module.exports) {
    exports = module.exports = lib;
    exports.accounting = lib;
    } else if (typeof define === 'function' && define.amd) {
    // Return the library as an AMD module:
    define([], function() {
    return lib;
    } else {
    // Use accounting.noConflict to restore `accounting` back to its original value.
    // Returns a reference to the library's `accounting` object;
    // e.g. `var numbers = accounting.noConflict();`
    lib.noConflict = (function(oldAccounting) {
    return function() {
    // Reset the value of the root's `accounting` variable:
    root.accounting = oldAccounting;
    // Delete the noConflict method:
    lib.noConflict = undefined;
    // Return reference to the library to re-assign it:
    return lib;
    })(root.accounting);
    // Declare `fx` on the root (global/window) object:
    root['accounting'] = lib;
    // Root will be `window` in browser or `global` on the server:
    }(this));

    hi all
    I have an input text that I want to separate it's value with comma
    this is my input text :
    <af:inputText value="#{bindings.LacreditAmt.inputValue}"
    label="#{bindings.LacreditAmt.hints.label}"
    required="#{bindings.LacreditAmt.hints.mandatory}"
    columns="#{bindings.LacreditAmt.hints.displayWidth}"
    shortDesc="#{bindings.LacreditAmt.hints.tooltip}"
    id="it8"
    maximumLength="#{bindings.LacreditAmt.hints.precision}"
    converter="converter.BIGDECIMALMONEYCONVERTER"
    clientComponent="true">
    <f:validator binding="#{bindings.LacreditAmt.validator}"/>
    <!--<af:convertNumber groupingUsed="false"
    pattern="#{bindings.LacreditAmt.format}"/>-->
    <af:clientListener method="handleNumberFormatConversion" type="keyUp"/>
    </af:inputText>
    and use this  java Script for comma separated value :
    problem is : when I used firebug for testing this java Script ,everything is OK and 'result' variable shown
    the correct value (comma separated value) but in fact the correct value did not show
    in input text  !!!!!
    please guide me soon.
    I appreciated in advance
    function handleNumberFormatConversion(evt){
            var inputField = evt.getCurrentTarget();
            var keyPressed = evt.getKeyCode();
            var oldValue = inputField.getSubmittedValue();
            var validKeys = new Array(48,49,50,51,52,53,54,55, 56,57,96,97,98,99,100, 101,102,103,104,105,AdfKeyStroke.ARROWRIGHT_KEY, AdfKeyStroke.ARROWLEFT_KEY, AdfKeyStroke.BACKSPACE_KEY, AdfKeyStroke.DELETE_KEY, AdfKeyStroke.END_KEY, AdfKeyStroke.ESC_KEY, AdfKeyStroke.TAB_KEY);
            var numberKeys = new Array(48,49,50,51,52,53,54,55, 56,57,96,97,98,99,100, 101,102,103,104,105, AdfKeyStroke.BACKSPACE_KEY, AdfKeyStroke.DELETE_KEY);
            var isValidKey = false;
            for (var i=0; i < validKeys.length; ++i){
                if (validKeys[i] == keyPressed) {
                    isValidKey = true;
                    break;
            if(isValidKey){
                    var isNumberKey = false;
                for (var n=0; n < numberKeys.length; ++n){
                    if(numberKeys[n] == keyPressed){
                        isNumberKey = true;
                        break;
                if(isNumberKey){
                    var formatLength = 25;
                    if(formatLength == oldValue.length){
                        inputField.setValue(oldValue);
                        evt.cancel();
                    else {
                        var firstNeg = false;
                        var lastNeg = false;
                        if (oldValue.charAt(0) == '(')
                            firstNeg = true;
                        if(oldValue.contains(')')){
                          lastNeg = true;                              
                        oldValue = oldValue.replace('(', "");
                        oldValue = oldValue.replace(')', "");
                        var result = "";
                        while (oldValue.contains(",")) {
                            oldValue = oldValue.replace(",", "");
                        for (i = oldValue.length - 3;i > 0;i -= 3) {
                            result = ",".concat(oldValue.substring(i, i + 3), result);
                        result = oldValue.substring(0, (oldValue.length % 3 == 0) ? 3 : oldValue.length % 3).concat(result);
                        if (firstNeg)
                            result = '(' + result;
                        if (lastNeg) {
                            result = result + ')';
                        inputField.setValue(result);
                        evt.cancel();
                        return true;                   
            else {
                inputField.setValue(oldValue);
                evt.cancel();

  • Cannot assign an empty string to a parameter with JDBC type VARCHAR

    Hi,
    I am seeing the aforementioned error in the logs. I am guessing its happening whenever I am starting an agent instance in PCo. Can somebody explain whats going on?
    Regards,
    Chanti.
    Heres the complete detail from logs -
    Log Record Details   
    Message: Unable to retreive path for , com.sap.sql.log.OpenSQLException: Failed to set the parameter 1 of the statement >>SELECT ID, PARENTID, FULLPATH, CREATED, CREATEDBY, MODIFIED, MODIFIEDBY, REMOTEPATH, CHECKEDOUTBY FROM XMII_PATHS WHERE FULLPATH =  ?  <<: Cannot assign an empty string to a parameter with JDBC type >>VARCHAR<<.
    Date: 2010-03-12
    Time: 11:32:37:435
    Category: com.sap.xmii.system.FileManager
    Location: com.sap.xmii.system.FileManager
    Application: sap.com/xappsxmiiear

    Sounds like a UI browsing bug (when no path is selected from a catalog tree folder browser) - I would suggest logging a support ticket so that it can be addressed.

  • Unable to bind portlet parameter with page parameter in webcenter portal

    Hi All,
    I am trying to bind portlet parameter with the page parameter so that I can ahieve some business requirements.
    Here is what I did,
    In my Portlet producer application:
    1) Created standards based portlet (jsr 286) with view.jspx and edit.jspx with rest of the things being default.
    2) In my portlet.xml created two parameters and assigned these parameters to the portlet created above.
    3) In the view.jspx added couple of output label adf components in the page.
    4) deployed this to integrated weblogic server.
    In my WC portal application:
    Created a new page and added the portlet to this page( WSRP connection already exists).
    deployed portal application on integrated server.
    In the edit mode of the page I added one page parameter(Param1) and some default (constant) value added.
    What I want is this:
    when Param1 value is One display first output label and
    when Param1 value is Two display second output label.
    I am using jdev 11.1.1.5.0 with integrated weblogic server.

    There is no need to use page parameters for this.
    You also have two types of parameters depending on what you want...
    1) Preferences: these parameters can be used on a user based level. This means that users can personalize the portlets. When a user change the value of a preference, it is only applied for that specific user
    2) Public parameters: these parameters are used to customize the portlet. The value you set in these parameter apply for all users.
    I have made a simple example to show these two differences: http://www.yonaweb.be/PortletTest.zip
    The portlet has 4 inputText on it. The first two can be set by specifying One or Two into the preference.
    The other 2 inputText uses the value of the public parameter.
    You should only deploy the portlet and consume it in a webcenter application. In the webcenter application, you don't need to do anything special. All is done in the portlet.
    I am guessing you don't have written the code that will get the value of the parameter:
    in case of a preference you will get the value by following code:
       PortletRequest request = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
       PortletPreferences preferences = request.getPreferences();
       return preferences.getValue("outputparam", "One");In case of a public parameter (for customization instead of personalization) you use following code to retreive the value of a public parameter:
    PortletRequest req = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
      String param = (String)req.getParameter("PublicParam");
      if(param == null)
          return "Three";
      return param;This code can also be found in the sample portlet application.

  • Attempt to set a parameter name that does not occur in the SQL: vc_temp_1

    I have query view object build on the following sql
    select
    nvl(u.full_name,e.arabic_first_name||' '||e.arabic_family_name) as empName,
    (select sc.general_specialty from ta_scientific_certificate sc where sc.user_id=u.user_id
    group by sc.general_specialty
    Having Max(sc.qualification_kind)>= All (select max(sc1.qualification_kind) from ta_scientific_certificate sc1 where sc1.user_id=u.user_id group by sc1.qualification_kind ) )as general_specialty
    , u.*,ur.default_role,ur.role_1,ur.role_2,ur.role_3,ur.role_4,ur.role_5,ur.role_6,ur.role_7
    from ta_user u,employee e,TA_USER_ROLES ur
    where u.account_enabled='1' and u.emp_id = e.empl_code(+) and ur.user_id=u.user_id(+)
    with this query
    ( (EMP_ID IS NULL ) ) AND (( ( (DEFAULT_ROLE = 4 ) ) OR ( (DEFAULT_ROLE = 6 ) ) )OR( ( (ROLE_1 = 4 ) ) OR ( (ROLE_1 = 6 ) ) )OR( ( (ROLE_2 = 4 ) ) OR ( (ROLE_2 = 6 ) ) )OR( ( (ROLE_3 = 4 ) ) OR ( (ROLE_3 = 6 ) ) )OR( ( (ROLE_4 = 4 ) ) OR ( (ROLE_4 = 6 ) ) )OR( ( (ROLE_5 = 4 ) ) OR ( (ROLE_5 = 6 ) ) )OR( ( (ROLE_6 = 4 ) ) OR ( (ROLE_6 = 6 ) ) )OR( ( (ROLE_7 = 4 ) ) OR ( (ROLE_7 = 6 ) ) ))
    I created search page by dragging this view object from MyApplicationModule->NamedCriteria
    but i don't want to show all the fields that their names start with ROLE in my search option so I unChecked the attribute queryalbe
    no when I press button search the error Attempt to set a parameter name that does not occur in the SQL: vc_temp_1 is shown
    if i press OK on error message and click search again it works
    how can I make this error disappear

    no I don't think that i have
    this is my source ( I will divide it into two parts)
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
    xmlns="http://xmlns.oracle.com/bc4j"
    Name="SciQualMgtVO"
    Version="11.1.2.60.17"
    OrderBy='"EMPNAME"'
    BindingStyle="OracleName"
    CustomQuery="true"
    PageIterMode="Full"
    UseGlueCode="false">
    <DesignTime>
    <Attr Name="_isExpertMode" Value="true"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    <ViewAccessor
    Name="LookupAM_IpaCodesVO_GeneralSpecialityVA"
    ViewObjectName="ta.common.lookup.IpaCodesVO"
    AMUsageName="LookupAM"
    ViewInstanceName="IpaCodesVO_GeneralSpecialityDC"
    RowLevelBinds="true"/>
    <ViewAccessor
    Name="CountryVA"
    ViewObjectName="ta.common.lookup.CountryVO"
    RowLevelBinds="true"/>
    <ViewAccessor
    Name="DegreeVA"
    ViewObjectName="ta.common.lookup.DegreeVO"
    RowLevelBinds="true"/>
    <ViewAccessor
    Name="LookupAM_IpaCodesVO_ScientificQualificationVA"
    ViewObjectName="ta.common.lookup.IpaCodesVO"
    AMUsageName="LookupAM"
    ViewInstanceName="IpaCodesVO_ScientificQualificationDC"
    RowLevelBinds="true"/>
    <ViewAccessor
    Name="YesNoVA"
    ViewObjectName="ta.common.constants.YesNoVO"
    RowLevelBinds="true"/>
    <ViewAccessor
    Name="IpaCodesVO_GeneralSpecialityVA"
    ViewObjectName="ta.common.lookup.IpaCodesVO"
    RowLevelBinds="true">
    <ViewCriteriaUsage
    Name="IpaCodesVO_GeneralSpecialityCriteria"
    FullName="ta.common.lookup.IpaCodesVO.IpaCodesVO_GeneralSpecialityCriteria"/>
    </ViewAccessor>
    <ViewAccessor
    Name="IpaCodesVO_ScientificQualificationVA"
    ViewObjectName="ta.common.lookup.IpaCodesVO"
    AMUsageName="LookupAM"
    ViewInstanceName="IpaCodesVO_ScientificQualificationDC"
    RowLevelBinds="true">
    <ViewCriteriaUsage
    Name="IpaCodesVO_ScientificQualificationCriteria"
    FullName="ta.common.lookup.IpaCodesVO.IpaCodesVO_ScientificQualificationCriteria"/>
    </ViewAccessor>
    <ListBinding
    Name="ar_LOV_GeneralSpecialty"
    ListVOName="IpaCodesVO_GeneralSpecialityVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="GeneralSpecialty"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="Code"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="ArabicDescription"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="en_LOV_GeneralSpecialty"
    ListVOName="IpaCodesVO_GeneralSpecialityVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="GeneralSpecialty"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="Code"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="EnglishDescription"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="ar_male_LOV_Nationality"
    ListVOName="CountryVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="Nationality"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="CountryCode"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="MaleNational"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="ar_female_LOV_Nationality"
    ListVOName="CountryVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="Nationality"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="CountryCode"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="FemaleNational"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="en_LOV_Nationality"
    ListVOName="CountryVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="Nationality"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="CountryCode"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="EnglishNational"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="ar_LOV_ScientificDegree"
    ListVOName="IpaCodesVO_ScientificQualificationVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="ScientificDegree"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="Code"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="ArabicDescription"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="en_LOV_ScientificDegree"
    ListVOName="IpaCodesVO_ScientificQualificationVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="ScientificDegree"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="Code"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="EnglishDescription"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="en_LOV_ScientificQualification"
    ListVOName="DegreeVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="ScientificQualification"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="DegreeCode"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="EnglishName"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="ar_LOV_Country"
    ListVOName="CountryVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="Country"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="CountryCode"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="ArabicName"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="en_LOV_Country"
    ListVOName="CountryVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="Country"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="CountryCode"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="EnglishName"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="LOV_PastArbitration"
    ListVOName="YesNoVA"
    ListRangeSize="-1"
    NullValueFlag="none"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="PastArbitration"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="Code"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="Name"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="LOV_PastCooperation"
    ListVOName="YesNoVA"
    ListRangeSize="-1"
    NullValueFlag="none"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="PastCooperation"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="Code"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="Name"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="LOV_FutureCooperation"
    ListVOName="YesNoVA"
    ListRangeSize="-1"
    NullValueFlag="none"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="FutureCooperation"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="Code"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="Name"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <ListBinding
    Name="ar_LOV_ScientificQualification"
    ListVOName="DegreeVA"
    ListRangeSize="-1"
    NullValueFlag="start"
    NullValueId="${adfBundle['oracle.javatools.resourcebundle.SystemBundle']['NULL_VALUE_RESID']}"
    MRUCount="0">
    <AttrArray Name="AttrNames">
    <Item Value="ScientificQualification"/>
    </AttrArray>
    <AttrArray Name="ListAttrNames">
    <Item Value="DegreeCode"/>
    </AttrArray>
    <AttrArray Name="ListDisplayAttrNames">
    <Item Value="ArabicName"/>
    </AttrArray>
    <DisplayCriteria/>
    </ListBinding>
    <SQLQuery><![CDATA[select 
      nvl(u.full_name,e.arabic_first_name||' '||e.arabic_family_name) as empName,
    (select sc.general_specialty from ta_scientific_certificate sc   where sc.user_id=u.user_id
    group by sc.general_specialty
    Having Max(sc.qualification_kind)>= All (select max(sc1.qualification_kind) from ta_scientific_certificate sc1 where sc1.user_id=u.user_id group by sc1.qualification_kind )  )as general_specialty
    , u.*,ur.default_role,ur.role_1,ur.role_2,ur.role_3,ur.role_4,ur.role_5,ur.role_6,ur.role_7
      from ta_user u,employee e,TA_USER_ROLES ur
    where u.account_enabled='1' and u.emp_id = e.empl_code(+)  and ur.user_id=u.user_id(+)]]></SQLQuery>
    <ViewAttribute
    Name="Empname"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="255"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="EMPNAME"
    Expression="EMPNAME"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.Empname_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="GeneralSpecialty"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="20"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="GENERAL_SPECIALTY"
    Expression="GENERAL_SPECIALTY"
    SQLType="VARCHAR"
    LOVName="ar_LOV_GeneralSpecialty"
    LOVFinder="GeneralSpecialtySwitcher">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="20"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <CONTROLTYPE
    Value="choice"/>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.GeneralSpecialty_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="UserId"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Type="java.lang.Integer"
    ColumnType="NUMBER"
    AliasName="USER_ID"
    Expression="USER_ID"
    SQLType="INTEGER"/>
    <ViewAttribute
    Name="FullName"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="FULL_NAME"
    Expression="FULL_NAME"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.FullName_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="FullNameEn"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="FULL_NAME_EN"
    Expression="FULL_NAME_EN"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.FullNameEn_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="TitleSalutation"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="20"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="TITLE_SALUTATION"
    Expression="TITLE_SALUTATION"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="20"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.TitleSalutation_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="Nationality"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="3"
    Scale="0"
    Type="java.lang.Integer"
    ColumnType="NUMBER"
    AliasName="NATIONALITY"
    Expression="NATIONALITY"
    SQLType="INTEGER"
    LOVName="ar_male_LOV_Nationality"
    LOVFinder="NationalitySwitcher">
    <Properties>
    <SchemaBasedProperties>
    <CONTROLTYPE
    Value="choice"/>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.Nationality_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="Gender"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="1"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="GENDER"
    Expression="GENDER"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="1"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.Gender_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="Employer"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="100"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="EMPLOYER"
    Expression="EMPLOYER"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="100"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.Employer_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="CurrentJob"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="CURRENT_JOB"
    Expression="CURRENT_JOB"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.CurrentJob_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="Degree"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="DEGREE"
    Expression="DEGREE"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.Degree_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="Department"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="DEPARTMENT"
    Expression="DEPARTMENT"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.Department_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="ScientificDegree"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="4"
    Scale="0"
    Type="java.lang.Integer"
    ColumnType="NUMBER"
    AliasName="SCIENTIFIC_DEGREE"
    Expression="SCIENTIFIC_DEGREE"
    SQLType="INTEGER"
    LOVName="ar_LOV_ScientificDegree"
    LOVFinder="ScientificDegreeSwitcher">
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.ScientificDegree_LABEL"/>
    <CONTROLTYPE
    Value="choice"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="ScientificQualification"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="20"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="SCIENTIFIC_QUALIFICATION"
    Expression="SCIENTIFIC_QUALIFICATION"
    SQLType="VARCHAR"
    LOVName="ar_LOV_ScientificQualification"
    LOVFinder="ScientificQualificationSwitcher">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="20"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.ScientificQualification_LABEL"/>
    <CONTROLTYPE
    Value="choice"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="Country"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="3"
    Scale="0"
    Type="java.lang.Integer"
    ColumnType="NUMBER"
    AliasName="COUNTRY"
    Expression="COUNTRY"
    SQLType="INTEGER"
    LOVName="ar_LOV_Country"
    LOVFinder="CountrySwitcher">
    <Properties>
    <SchemaBasedProperties>
    <CONTROLTYPE
    Value="choice"/>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.Country_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="City"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="CITY"
    Expression="CITY"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.City_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="ZipCode"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="20"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="ZIP_CODE"
    Expression="ZIP_CODE"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="20"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.ZipCode_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="POBox"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="20"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="P_O_BOX"
    Expression="P_O_BOX"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="20"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.POBox_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="CurrentAddress"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="100"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="CURRENT_ADDRESS"
    Expression="CURRENT_ADDRESS"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="100"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.CurrentAddress_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="WorkPhone"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="WORK_PHONE"
    Expression="WORK_PHONE"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.WorkPhone_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="HomePhone"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="HOME_PHONE"
    Expression="HOME_PHONE"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.HomePhone_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="CellPhone"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="CELL_PHONE"
    Expression="CELL_PHONE"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.CellPhone_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="Fax"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="FAX"
    Expression="FAX"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.Fax_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="PermanentAddress"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="100"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="PERMANENT_ADDRESS"
    Expression="PERMANENT_ADDRESS"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="100"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.PermanentAddress_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="Email"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="EMAIL"
    Expression="EMAIL"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.Email_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="Password"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="PASSWORD"
    Expression="PASSWORD"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="PastArbitration"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="1"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="PAST_ARBITRATION"
    Expression="PAST_ARBITRATION"
    SQLType="VARCHAR"
    LOVName="LOV_PastArbitration">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="1"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <CONTROLTYPE
    Value="radio"/>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.PastArbitration_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="PastCooperation"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="1"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="PAST_COOPERATION"
    Expression="PAST_COOPERATION"
    SQLType="VARCHAR"
    LOVName="LOV_PastCooperation">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="1"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <CONTROLTYPE
    Value="radio"/>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.PastCooperation_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="FutureCooperation"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="1"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="FUTURE_COOPERATION"
    Expression="FUTURE_COOPERATION"
    SQLType="VARCHAR"
    LOVName="LOV_FutureCooperation">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="1"/>
    </DesignTime>
    <Properties>
    <SchemaBasedProperties>
    <CONTROLTYPE
    Value="radio"/>
    <LABEL
    ResId="ta.model.ro.SciQualMgtVO.FutureCooperation_LABEL"/>
    </SchemaBasedProperties>
    </Properties>
    </ViewAttribute>
    <ViewAttribute
    Name="EmpId"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="20"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="EMP_ID"
    Expression="EMP_ID"
    SQLType="VARCHAR"
    IsQueriable="false">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="20"/>
    </DesignTime>
    </ViewAttribute>
    <ViewAttribute
    Name="LoginName"
    IsUpdateable="false"
    IsPersistent="false"
    PrecisionRule="true"
    Precision="50"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    AliasName="LOGIN_NAME"
    Expression="LOGIN_NAME"
    SQLType="VARCHAR">
    <DesignTime>
    <Attr Name="_DisplaySize" Value="50"/>
    </DesignTime>
    </ViewAttribute>

Maybe you are looking for

  • Problems downloading photos from iPhoto to iPod 5G classic

    Until recently I had no problems downloading my photo library to my iPod (~250 photos). However, the last couple of groups of photos I've gotten I cannot transfer. I get an error message that reads "The iPod cannot be synced. The disk could not be re

  • Cool Down Mode

    Hi everyone! I have an HP Laserjet Color 100 MFP M175a...I bought it two months ago and until now I've printed many documents of excellent quality ...I changed the toner and it has continued to print fine, until today ...after printing 100 page b/w a

  • How can I format the results?

    hi, I do this caculation double cal = 1.0/3.0; I just want the result like this "0.3333". How can I format this result? Thanks, Bin

  • Relational Star Schema with oWB 10g

    Hi, It is an interesting forum. I like to explore the different approached to build ETL using OWB to load Star Schema built around Oracle 10g relational structures. How do we take advantage of additional features of Oracle DB 10g and OWB 10gR2? What

  • Pages Won't Let Me Open a Document?

    Hello~ I've been working on a document (on pages 08) for a while... and a couple months ago, i tried to open it, and a window popped up that said "the document '________________' could not be opened" i tried many different ways to try and open it, an