Invalid number in 10g but not in 9i

Hello,
I have a weird problem with the database version 10.2.0.2.0.
The following function executes in database version 9.2.0.7.0 as expected and for a long while everything is ok. But know on the new database I got an error: ORA-01722: invalid number at this line:
FOR rec_apex_navigation_role IN c_apex_navigation_role( rec_core_role.ID )
I discovered that all referenced columns there are of the type NUMBER(10,0), so that isn`t the problem.
Here is the whole code of the function:
FUNCTION get_page_role_sql
RETURN VARCHAR2 IS
proc_name CONSTANT VARCHAR2( 60 ) := package_name || '.get_page_role_sql';
ret_value VARCHAR2( 32000 );
p_column VARCHAR2( 100 );
p_column_nr PLS_INTEGER;
CURSOR c_apex_navigation IS
SELECT a.ID,
a.page_id,
a.page_name
FROM apex_navigation a
ORDER BY ID;
CURSOR c_apex_navigation_role(
x_role_id apex_navigation_role.role_id%TYPE
) IS
SELECT c.seq_id,
c.c001 page_id,
nr.role_id
FROM wwv_flow_collections c, apex_navigation_role nr
WHERE c.collection_name = c_col_page_role
AND nr.navigation_id = TO_NUMBER( c.c001 )
AND nr.role_id = x_role_id;
CURSOR c_core_role IS
SELECT ID,
NAME,
ROWNUM col_nr
FROM core_role
ORDER BY ID;
BEGIN
wwv_flow_collection.create_or_truncate_collection( c_col_page_role );
wwv_flow_collection.create_or_truncate_collection( c_col_role_column );
ret_value := 'SELECT c002 "Id",c003 "Seite",';
FOR rec_apex_navigation IN c_apex_navigation
LOOP
wwv_flow_collection.add_member( p_collection_name => c_col_page_role, p_c001 => rec_apex_navigation.ID, p_c002 => rec_apex_navigation.page_id, p_c003 => rec_apex_navigation.page_name );
END LOOP;
FOR rec_core_role IN c_core_role
LOOP
p_column_nr := rec_core_role.col_nr + 3;
p_column := 'c' || TRIM( TO_CHAR( p_column_nr, '000' ));
ret_value := ret_value || 'APEX_ITEM.CHECKBOX( ' || p_column_nr || ', c001 , DECODE( ' || p_column || ',NULL, NULL, ''CHECKED'' ) ) "' || rec_core_role.NAME || '",';
wwv_flow_collection.add_member( p_collection_name =>
c_col_role_column, p_c001 => p_column_nr, p_c002 => rec_core_role.ID, p_c003 => rec_core_role.NAME );
FOR rec_apex_navigation_role IN c_apex_navigation_role( rec_core_role.ID )
LOOP
wwv_flow_collection.update_member_attribute( p_collection_name => c_col_page_role, p_seq => rec_apex_navigation_role.seq_id, p_attr_number => p_column_nr, p_attr_value => rec_apex_navigation_role.role_id );
END LOOP;
END LOOP;
ret_value := RTRIM( ret_value, ',' ) || ' FROM wwv_flow_collections WHERE collection_name = ''' || c_col_page_role || '''';
RETURN ret_value;
END;
So the strange thing is, that it works in version 9 and not in version 10...
Does anybody have an idea where the problem is?
Thank you,
Tim

Well, I would suggest that there is something in your data which is causing the problem most likely due to an implicit data conversion, even though you insist not.
However, without your data it is impossible to comment, only possible to guess.
Can you reduce the problem any further to a reproducible test case that someone else could run?
Have you tried the two workarounds in the article, not as a permanent solution, but to see if your problem persists?
Message was edited by:
dombrooks

Similar Messages

  • I am having trouble with iMessage being activated. It has worked up until yesterday and now won't activate and is saying no address in the send and receive section. My number is there but not ticked. Any suggestions on how to fix this?

    I am having trouble with iMessage being activated. It has worked up until yesterday and now won't activate and is saying no address in the send and receive section. My number is there but not ticked. Any suggestions on how to fix this? I have shut down my phone, but still no luck!

    iMessage and FaceTime went down yesterday for some people. Mine is still down. My iMessage is saying the same thing about being activated. Sounds like you are still down too. Ignore the status page that says everything is fine - it lies.

  • A query which works in 10g but not in 11g.

    Hi there,
    We are in the process of upgrading our database from 10g to 11g. We have a test server with 11g, and imported all the 10g data in there. While testing the 11g server, for many queries, we get ORA-00918: column ambiguously defined error, however the same queries work just fine in 10g. Below is a sample query.
    SELECT household_name || ' - Begin Date: ' || TO_CHAR(vnsrp.effective_date,'dd-MON-yyyy') ||
    CASE WHEN vnsrp.second_return_period_type = 'NON_FURLOUGH' THEN
    ELSE NULL
    END household_name,
    second_return_period_id
    FROM vn_secondment_return_period vnsrp
    JOIN ve_household_membership vehm
    ON vehm.family_household_id = vnsrp.family_household_id
    JOIN vb_family_household vbfh
    ON vbfh.family_household_id = vehm.family_household_id
    ORDER BY household_name
    We know, in the above query, the household_name is from both views vn_secondment_return_period and vb_family_household, but to the wonder it works without any error in 10g and not in 11g.
    We have so many queries like this, so changing them to give qualified column name (viewname.columnname) would be a very tedious process for us.
    Is there any simple solution by changing DB parameter like that?
    Advance Thanks,
    Natarajan

    i mean just change the definition of one of these views: vn_secondment_return_period or vb_family_household. I think this is the simplest way.

  • Getting the CC $29.99 offer with a CS4 Student serial number is possible - but not online? Help!

    I spent a long time on hold after called the Australian Adobe help number - 1800 016 837. Eventually, I was internally transferred to a Customer Service Rep who kindly informed me that I do have CS4 registered to my Adobe ID and that I can upgrade to a non-student CC (with the $29.99 per month offer) from my student CS4 in Australia. However I can't do this online, I need to apply through a Customer Service Rep (but not her because she was in the States), or through web chat. I was given a UK number to call (?) - and can't for the life of me be connected to a live web chat. every link I have found to web chat takes me back to the support options for the forums. So please, please, please - can an Adobe staff member contact me and help me.

    Creative Cloud support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html ( http://adobe.ly/19llvMN )

  • How to upgrade from OCS 904 to 10g but not upgrading Oracle Files

    Hi All,
    We have installed OCS 904 from where we only are using:
    - Portal
    - Oracle Files
    Our idea is to upgrade this installation to OCS 10g but keeping the same version of Oracle Files (we don't want to migrate to content services for the moment).
    Is this possible? or if we want to keep Oracle Files we need to do a fresh install of OCS 10g in another location?
    Thanks in advance,
    Harvey

    >I want to upgrade it from RHEL 6 TO  RHEL 7 and from ORACLE 11G TO ORACLE 12C. I wonder if anyone could suggest the best url for for upgrading accordingly.
    which metric measures best? Fewest keystrokes?
    BTW - you are actually doing 2 upgrades. You are upgrading OS & you are upgrading Oracle version.
    So you can either over then up or up then over.
    How much down down time is available?
    How much risk do you want to include?

  • I'm producing 'invalid NUMBER OF arguements' - but where?

    afternoon gurus..
    This line was bringing a 'ORA-00932: inconsistent datatypes: expected DATE got NUMBER' WHEN it was this..
    , DECODE(SIGN(TRUNC(apid.accounting_date)- TRUNC('14-jun-2011')),1,0, ROUND(NVL(apid.quantity_invoiced,0),2) )
    ,apid.accounting_date, NVL(apid.quantity_invoiced,0)
    ..so I added a 'to_date' TO it..
    , DECODE(SIGN(TRUNC(apid.accounting_date)- TRUNC(TO_DATE('14-jun-2011','dd-mon-yyyy')),1,0, ROUND(NVL(apid.quantity_invoiced,0),2) )
    ,apid.accounting_date, NVL(apid.quantity_invoiced,0)
    ..AND it now produces THE 'invalid NUMBER OF arguements' message..
    how DO I get OVER this please?
    TIA..
    Joe

    Missing a bracket I think...
    DECODE(SIGN(TRUNC(apid.accounting_date)- TRUNC(TO_DATE('14-jun-2011','dd-mon-yyyy')),1,0, ROUND(NVL(apid.quantity_invoiced,0),2) )should be
    DECODE(SIGN(TRUNC(apid.accounting_date)-TRUNC(TO_DATE('14-jun-2011','dd-mon-yyyy'))),1,0, ROUND(NVL(apid.quantity_invoiced,0),2) )

  • Best way to delete large number of records but not interfere with tlog backups on a schedule

    Ive inherited a system with multiple databases and there are db and tlog backups that run on schedules.  There is a list of tables that need a lot of records purged from them.  What would be a good approach to use for deleting the old records?
    Ive been digging through old posts, reading best practices etc, but still not sure the best way to attack it.
    Approach #1
    A one-time delete that did everything.  Delete all the old records, in batches of say 50,000 at a time.
    After each run through all the tables for that DB, execute a tlog backup.
    Approach #2
    Create a job that does a similar process as above, except dont loop.  Only do the batch once.  Have the job scheduled to start say on the half hour, assuming the tlog backups run every hour.
    Note:
    Some of these (well, most) are going to have relations on them.

    Hi shiftbit,
    According to your description, in my opinion, the type of this question is changed to discussion. It will be better and 
    more experts will focus on this issue and assist you. When delete large number of records from tables, you can use bulk deletions that it would not make the transaction log growing and runing out of disk space. You can
    take the table offline for maintenance, a complete reorganization is always best because it does the delete and places the table back into a pristine state. 
    For more information about deleting a large number of records without affecting the transaction log.
    http://www.virtualobjectives.com.au/sqlserver/deleting_records_from_a_large_table.htm
    Hope it can help.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Error in 10g but not in 9i

    Hi
    i have configured modplsql and used DADs to execute some packages from my database to run my web application. When i create DADs on Application server 9i release 1, it works fine but on 10g(9.0.4) it is giving my following error
    I really cant understand, whether its a PL/SQL error or its error because of Application server. Dafinately this error is because assigning NULL to a NOT NULL variable or assigning charachter to a numeric variable but why its running successfully on 9iAS but giving following error on 10g
    Sat, 11 Feb 2006 07:51:58 GMT
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 10
    DAD name: int_applink
    PROCEDURE : wl_common.menu_page
    URL : http://naran.lhr.systemsltd.com:7779/pls/int_applink/wl_common.menu_page?p_major=wl_major_menu.exists_user&p_minor=wl_minor_menu.no_menu&p_entnameshort='LizLink'&p_request_id=137
    PARAMETERS :
    ===========
    p_major:
    wl_major_menu.exists_user
    p_minor:
    wl_minor_menu.no_menu
    p_entnameshort:
    'LizLink'
    p_request_id:
    137
    ENVIRONMENT:
    ============
    PLSQL_GATEWAY=WebDb
    GATEWAY_IVERSION=2
    SERVER_SOFTWARE=Oracle-Application-Server-10g/9.0.4.0.0 Oracle-HTTP-Server
    GATEWAY_INTERFACE=CGI/1.1
    SERVER_PORT=7779
    SERVER_NAME=naran.lhr.systemsltd.com
    REQUEST_METHOD=GET
    QUERY_STRING=p_major=wl_major_menu.exists_user&p_minor=wl_minor_menu.no_menu&p_entnameshort='LizLink'&p_request_id=137
    PATH_INFO=/wl_common.menu_page
    SCRIPT_NAME=/pls/int_applink
    REMOTE_HOST=
    REMOTE_ADDR=192.168.0.136
    SERVER_PROTOCOL=HTTP/1.1
    REQUEST_PROTOCOL=HTTP
    REMOTE_USER=weblogin
    ORACLE_SSO_USER=
    HTTP_CONTENT_LENGTH=
    HTTP_CONTENT_TYPE=
    HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
    HTTP_HOST=naran:7779
    HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
    HTTP_ACCEPT_ENCODING=gzip, deflate
    HTTP_ACCEPT_LANGUAGE=en-us
    HTTP_ACCEPT_CHARSET=
    HTTP_COOKIE=liz_request=1716357630
    HTTP_IF_MODIFIED_SINCE=
    HTTP_REFERER=http://naran:7779/pls/int_applink/wl_selection.goto_exists_user?p_entnameshort='LizLink'
    HTTP_SOAPACTION=
    HTTP_ORACLE_ECID=1139644318:192.168.0.24:28792:0:824,0
    HTTP_ORACLE_CACHE_VERSION=
    HTTP_AUTHORIZATION=
    WEB_AUTHENT_PREFIX=
    DAD_NAME=int_applink
    DOC_ACCESS_PATH=docs
    DOCUMENT_TABLE=wpg_document
    PATH_ALIAS=
    REQUEST_CHARSET=WE8ISO8859P1
    REQUEST_IANA_CHARSET=ISO-8859-1
    SCRIPT_PREFIX=/pls
    HTTP_IF_MATCH=
    HTTP_CACHE_CONTROL=
    SOAP_BODY=
    HTTP_X_ORACLE_DEVICE_CLASS=
    HTTP_X_ORACLE_DEVICE_ORIENTATION=
    HTTP_X_ORACLE_DEVICE_MAXDOCSIZE=
    HTTP_X_ORACLE_DEVICE=
    HTTP_X_ORACLE_ORIG_ACCEPT=
    HTTP_X_ORACLE_ORIG_USER_AGENT=
    HTTP_X_ORACLE_USER_LOCALE=
    HTTP_X_ORACLE_USER_NAME=
    HTTP_X_ORACLE_USER_DISPLAYNAME=
    HTTP_X_ORACLE_USER_USERKIND=
    HTTP_X_ORACLE_USER_AUTHKIND=
    HTTP_X_ORACLE_USER_DEVICEID=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE1=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLINE2=
    HTTP_X_ORACLE_USER_LOCATION_ADDRESSLASTLINE=
    HTTP_X_ORACLE_USER_LOCATION_BLOCK=
    HTTP_X_ORACLE_USER_LOCATION_CITY=
    HTTP_X_ORACLE_USER_LOCATION_COMPANYNAME=
    HTTP_X_ORACLE_USER_LOCATION_COUNTY=
    HTTP_X_ORACLE_USER_LOCATION_STATE=
    HTTP_X_ORACLE_USER_LOCATION_POSTALCODE=
    HTTP_X_ORACLE_USER_LOCATION_POSTALCODEEXT=
    HTTP_X_ORACLE_USER_LOCATION_COUNTRY=
    HTTP_X_ORACLE_USER_LOCATION_TYPE=
    HTTP_X_ORACLE_USER_LOCATION_X=
    HTTP_X_ORACLE_USER_LOCATION_Y=
    HTTP_X_ORACLE_SERVICE_HOME_URL=
    HTTP_X_ORACLE_SERVICE_PARENT_URL=
    HTTP_X_ORACLE_HOME_URL=
    HTTP_X_ORACLE_MODULE_CALLBACK_URL=
    HTTP_X_ORACLE_MODULE_CALLBACK_LABEL=
    HTTP_X_ORACLE_CACHE_USER=
    HTTP_X_ORACLE_CACHE_SUBID=
    HTTP_X_ORACLE_CACHE_AUTH=
    HTTP_X_ORACLE_CACHE_DEVICE=
    HTTP_X_ORACLE_CACHE_LANG=
    HTTP_X_ORACLE_CACHE_ENCRYPT=
    HTTP_X_ORACLE_ASSERT_USER=
    ****************************************************************

    URL :
    http://naran.lhr.systemsltd.com:7779/pls/int_applink/w
    l_common.menu_page?p_major=wl_major_menu.exists_user&p
    minor=wlminor_menu.no_menu&p_entnameshort='LizLink'&
    p_request_id=137
    PARAMETERS :
    ===========
    p_major:
    wl_major_menu.exists_user
    p_minor:
    wl_minor_menu.no_menu
    p_entnameshort:
    'LizLink'
    p_request_id:
    137are you sure this url worked before? You pass 'LizLink', but I do not think that quotes ( ' ) are supported in url's. There should be no need for it anyway.

  • Online Number - on account but not paid for - how ...

    I ordered an online number and it is now listed on my Skype account. However, I have trouble paying for it. I have handed out that number as my number now but just need to complete payment. Is there a link someone can send me or a way to just complete payment without changing my number?
    Thanks

    Hi ENGIN HOSGOR,
    We have checked the details for your account, it seems that you have used another Adobe ID for purchasing Creative Cloud.
    Kindly try alternate Id for logging in. Please provide us the below mentioned details in a Private Message so that we can assist you further.
    Alternate Email:
    Order #:
    [Note: Details that we needed are important, make sure that you send them via Private Message only]
    Thanks,
    Atul Saini

  • Works in Enterprise Manager version of 10g but not standalone (OC4J)

    ok.... on one box I'm running 10g Enterprise Manager version of the app server (v9.0.4) and on another box I'm running the standalone version of the app server (OC4J v9.0.4). I have an ear file that works in the EM version, but won't work in the OC4J version. (the ear worked in both app servers until recently when we added some code using classes in jakarta-poi-2.0-pre3.jar..... added this jar file to the WEB-INF/classes folder of the ear file; the orion-application.xml file library path points to this folder for its library (because some of our classes on the EJB side of things use the classes in the jar file) so in theory the jar file should be found by the application (and there are other jar files in there that ARE being found on both versions....)). So.... any ideas why the standalone version (OC4J) would be having problems? Could it be that a different classloader setup is used in OC4J?
    Scott

    well, I found the problem.... the orion-application.xml file in the C:\OC4J\j2ee\home\application-deployments\[appname] folder was not being updated with the new version upon redployment.... don't know why that wasn't happening. I'm using hot deploy and redeploying the application by copying the ear file to the C:\OC4J\j2ee\home\applications folder. Shouldn't this cause a refresh of the files in the application-deployment folder too?? In any case, I manually edited the orion-application.xml file in the application-deployments folder to reflect the new library conditions and it works..... Additional info: i just redeployed the app again, and the timestamp on the .../application-deployments/orion-application.xml file was updated, so it appears that it is being updated but apparently from a cached version that does not reflect the new version of the orion-application.xml file in the new ear being deployed.... strange and sad.

  • Compound layout in View selector possible in OBIEE 10g but not in OBIEE 11

    Hi!
    I am Claire. I have created 3 compound layout and I wanted it to be included in my view selector. I noticed that I is not possible in BI 11g but was previously possible in Bi 10G. Kindly help me on this matter. The compound layout is not appearing in the available views in the EDIT VIEW selector Page.
    Your Prompt response on this matter is highly appreciated.
    Thank you.
    Claire

    Claire,
    This is no longer possible. And actually in OBIEE 10g it was only possible in the Original Compound layout. Meaning that if you created compound layout #2 you could not leverage "Compound Layout" (the original / default one) inside of a view selector or as a view inside "Compound Layout #2".
    If you look at the OBI 10g documentation you will see that it states that a Compound Layout is a "view" which can contain other views.
    In the OBI 11g documentation it states that the Compound Layout is a container.
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10544/appbuir.htm#BIEUG818
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10544/analyses.htm#CJABIHGC
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10544/appbuir.htm#BGBIDGDA
    This new nomenclature and definition is the delineating factor and the reason you can no longer achieve that functionality in the same way you did in 10g
    I hope that helps.
    Cheers,
    Christian
    http://www.artofbi.com

  • Serial Number is correct but not accepted

    When I try to enter my iPod's S/N, it is always rejected even though I'm completely sure I'm entering it right. I'v even looking at the box's, the firmware's, the back, and what it shows up as in iTunes (all are the same) and I've entered it corrected lots of times and incorrected a few (such as replacing '0' with 'O's and stuff) but to no avail. What should I do to register etc.?

    Zach,
    Did you register your iPod when you received it? If not, that may explain why the number is not accepted.
    If you have registered it and are certain you have entered everything correct (using zeros instead of the letter "O" etc), you should probably head to an Apple store and talk to one of the Geniuses.

  • JMS Queue Works in JDeveloper 10g, but not in Oracle 10g AS

    Hello --
    I have set up a JMS Queue on my local OC4J included with JDeveloper. I added my ConnectionQueueFactory and ConnectionQueue to the JMS.XML file in my environment. Everything works the way it should using JDeveloper with the embedded OC4J.
    As soon as I deploy the application to Oracle Application Server, for some reason my MailSender Message Driven Bean cannot take delivery of the message. I don't know what I could be doing wrong but my JMS.XML file on the Application Server has been updated with the same ConnectionQueue information that is on my local JMS.XML file. In my log file I can see that the message is being posted to the queue, just no delivery.
    If anyone out there has a suggestion I would appreciate it. This is my first attempt at ever using JMS.
    Thanks,
    Frank

    Willy_B wrote:
    I removed the one that was listed, thinking that it was implicit to that line. BUT of course, I just went back and removed EVERY empty line, even between the comments and all...and it worked.
    So the lesson here is that PL/SQL could care less about white space, but SQLPlus is picky....
    Thanks. :)Exactly. And I have to make note of that in my written procedure for restoring some of our test databases from a cold backup of production. Turns out the control file trace script (backup controlfile to trace) inserts a blank line ... then sqlplus chokes on it when executing ..

  • Bad version number on Mac, but not PC

    I have a java applet that works fine in Windows. It works fine on Macs as long as I compile it with JDK 1.5. However, once I compile it with JDK 1.6 it loads in Windows, but it doesn't load at all in Mac OSX. I've tried compiling it with javac using -target 1.5 -source 1.5 and -target 1.4 -source 1.4 but no luck.
    None of the computers I have tested on have JRE version lower than 1.5. The Mac I tested it on has JRE 1.5.16. I've also tested it on Ubuntu with JRE 1.5, which didn't work, and 1.6, which did work.
    Here is the error from appletviewer in Mac:
    appletviewer testprogram2.html
    2008-10-16 16:17:22.269 appletviewer[436:10b] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
    2008-10-16 16:17:22.546 appletviewer[436:e13] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
    2008-10-16 16:17:22.812 appletviewer[436:613] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
    Warning: Can't read AppletViewer properties file: /Users/miahx/.hotjava/properties Using defaults.
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:177)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:605)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:723)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:652)
    at sun.applet.AppletPanel.run(AppletPanel.java:326)
    at java.lang.Thread.run(Thread.java:613)
    It looks like there is still a version compatibility problem, but from researching this error, just adding the -target and -source java versions when compiling should fix it. Maybe I'm going about this all wrong?
    Any ideas?
    Edited by: nikkorizz on Oct 16, 2008 2:23 PM
    Edited by: nikkorizz on Oct 16, 2008 2:52 PM

    The above workarounds don't work for me on Windows, the only thing that has worked for me is to set the prefs to tabbed whilst the script is running.
    function tabInterface(onOff) {
    if(onOff == undefined) onOff=true;
        var desc19 = new ActionDescriptor();
            var ref8 = new ActionReference();
            ref8.putProperty( charIDToTypeID('Prpr'), stringIDToTypeID('interfacePrefs') );
            ref8.putEnumerated( charIDToTypeID('capp'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc19.putReference( charIDToTypeID('null'), ref8 );
            var desc20 = new ActionDescriptor();
            desc20.putBoolean( charIDToTypeID('EGst'), true );
            desc20.putBoolean( stringIDToTypeID('openNewDocsAsTabs'), onOff );
        desc19.putObject( charIDToTypeID('T   '), stringIDToTypeID('interfacePrefs'), desc20 );
        executeAction( charIDToTypeID('setd'), desc19, DialogModes.NO );
    function isTabInterface(){
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    return executeActionGet(ref).getObjectValue(stringIDToTypeID('interfacePrefs')).getBoolean(stringIDToTypeID( 'openNewDocsAsTabs'));

  • How to manage sequence number in PLD but not use LineNum()?

    Hi,All
    I want to show number in PLD.
    Probem, I can't use LineNum() because in some row in matrix that no price i will not show data.
    Now,if i use LineNum() when i print preview in column system will skip record that no have price.
    How to manage for get number order ascending sequence ?
    thank you
    Message was edited by: Frank Moebius

    Hi,
    Unfortunately I am not an expert in this area.
    I hope someone else can help you out though!
    However, I would like to draw your attention to the fact that the main purpose of this forum is around the SAP Business One SDK - and so appears to be the main expertise of the people participating here...
    ...this might be one of the reasons why it happens that you don't get an answer top your posts sometimes...
    Therefore I would like to advise you to use the "Implementation" Forum in the CPSN (Channel Partners Solution Network) to ask your questions.
    I hope you get more answers there + quicker.
    Sorry & Thanks for understanding,
    Frank

Maybe you are looking for

  • Windows 7 installation

    Hi  new to the forums so apologies in advance if I am posting to the wrong thread. Basically I have a Thinkpad T60 running on XP Pro and I'm looking to upgrade to Windows 7 after reading the mostly good reports of improvements, etc. From what I under

  • Freeze a scene?

    This is my first shot at using "Play" and "Replay" buttons in Flash that are commonly seen online. I can get the button ActionScript to work, but I don't know how to make Flash permanently remain on the scene with the button until the user clicks on

  • Problem using Acrobat Pro with Chrome 41.0.2272.118

    This works in IE and Firefox but not in Chrome; When I double click on an attachment on my dashbord, only while in Chrome, It tries to open in it's own pdf viewer or Acrobat Reader depending on what plug-in is enabled..  I want to open pdf's in Acrob

  • How can I use "IN" in evaluete variable?

    Hello! I'm trying to use the evaluete variable in a ODI package. I choice IN in the evaluete but what his the syntaxt for put a list of parameter? I tryed IN then I write ('A','B') or (A,B). what can I do? Thanks in advance Bye

  • Trex queue return error: code 6002, QS error: queue not found

    Hi all,    in TREX Administrator tool, in the queue area I see "index01". When I try to perform some operation I receive the error QS error: queue not found. I check services status and I see that queueserver isn't running. I stop the TREX server, de