% ROWCOUNT SQL return null after Forms_DDL on a dynamic SQL

Hello

I'm new to PL/SQL coding and is currently working on the development of some application in Oracle Forms as a result of the 10 g developer.

I'm having a problem getting a number of lines (number of rows affected by the last command dml) to register after using forms_ddl
PROCEDURE P_SQL_UPDATE IS

  L_string1                VARCHAR2(250);
  L_string2                VARCHAR2(250);
  L_string3                VARCHAR2(250);
  L_string4                VARCHAR2(250);
  L_rowcount                Pls_integer;
  L_count                  NUMBER;
  L_alert                       NUMBER;

BEGIN

  L_string1 := 'UPDATE ' || :global.G_table_nam || ' SET ';
  L_string2 := NULL;
  L_string3 := ' WHERE ';
  L_string4 := NULL;

...
... building strings 2 and 3
...

:global.final_sql := L_string1 || L_string2 || L_string3 || L_string4;

  FORMS_DDL(:global.final_sql);
  L_rowcount := SQL%ROWCOUNT;

  if FORM_SUCCESS then
    set_alert_property('ALT_COMMIT_ROLLBACK',ALERT_MESSAGE_TEXT, 'The # of rows affected: ' || L_rowcount || CHR(10) || 'Commit or Rollback?');
    L_alert := show_alert('ALT_COMMIT_ROLLBACK');
    if L_alert = ALERT_BUTTON1 then
      commit;
    else
         rollback;
    end if;
  else
    set_alert_property('ALT_INFO',ALERT_MESSAGE_TEXT, 'Error: ' || DBMS_ERROR_CODE  || ' - ' ||DBMS_ERROR_TEXT);
    L_alert := show_alert('ALT_INFO');
  end if;
   
END;
I tried to replace the global variable with a string 1 potential SQL hard coded, I changed L_rowcount to digital, attempted to directly display rowcount % SQL via dbms_output.put_line... L_rowcount is just empty during the pop-up alert.

Another solution has been L_rowcount: = DBMS_SQL. LAST_ROW_COUNT; ... This gives a slightly different result in the alert window, instead of being white, it returns 0. If something is definitely not right. Another is that in doing so, he always returned null/one field blank on the alert popup.

I have run tests on SQL % number of lines in the editor of TOAD and got results, but during the actual shape that l_rowcount is always null after the execution of the procedure (with the exception of being 0 using the dbms_sql.last_row_count).


I want to emphasize that change is not introduced without the additional validation in the FORM_SUCCESS at the end... I had read that the Forms_DDL is an implicit validation and committing the SQL without anything else happening... This seemed a little odd as well.

Before forms_ddl, I tried to use execute, exec, or run immediately on the SQL, but nothing helped. I think of one other option would be to pass this SQL to a datablock again together and use to execute query on this block? Don't know how to go about it.



The purpose of this form is intended for users to enter values in a generic form and when he meets the validation in the field triggers, they will support on submit and ideally before the update is committed I want users to be notified of the # of lines that would be affected by their proposed... change so if the # is huge they will know that they did something wrong before they affect the entire database.


Any input would be appreciated,
Travis

Travis,
The built-in function Forms_DDL() emits an implicit VALIDATION because the transaction is issued as DDL no DML. Therefore, given that the VALIDATION is the last command issued by the call of Forms_DDL, the attributes of the cursor of the implicit cursor (SQL) will all be set to NULL. If you absolutely must have the number of LINES of the documents concerned, you can create a database program unit that you can spend your dynamic statement too and have it return zero (failure) or the number of affected records (success).

In addition, since Forms_DDL() emits an implicit VALIDATION, you must create a BACKUP point before calling Forms_DDL() If you want the ability to RESTORE any changes made in the call to Forms_DDL().

Hope this helps,
Craig B-)

If someone useful or appropriate, please mark accordingly.

Published by: Silvere July 26, 2011 09:29

Tags: Oracle Development

Similar Questions

  • PersistentObject.getContents () returns null after app update

    Hello

    I'm trying to track down a bug with PersistentStore.
    Usually when I update the app I get the getContents() stored content.
    However, something in the code has changed from one version to the other and now getContents() returns null.

    I made sure the id has never changed for PersistentStore.getPersistentObject (id);
    I made sure that we use the same basic sdk (4.3.0)
    I made sure that there are the data stored in the stored hash table

    Currently, it's a hash table - no subclass (even though I know that I should change it to a subclass when it's fixed);

    I wonder if there are any suggestions on what might cause the getContents() return null - or which could result in the PersistentStore have cleared.

    What information is needed, please let me know and I'll paste.

    I found the problem after.

    Classes have begun to obscure differently. If the hash table was still readable, but because he could not read the content of the hash table, he would return null.

    It was unexpected, because if you have a custom class persisted and you try to read it, you will get the content, but you can't cast. But with the hash table, it does not return the content (uncastable) and it throws no exceptions...

    I hope this helps someone else who has a similar problem.

  • VimClient.FindViewEntities returns null after a period of time

    Hi all

    I'm hosting a c# webservice in IIS that makes calls against our instance of vsphere to carry out certain functions.  A basic call is to get a list of all virtual machines.  Every so often, the webservice will get in a State in which the call returns a null value (we always have lots of virtual machines to the top):

    List<EntityViewBase> views = c.FindEntityViews(typeof(VirtualMachine), null, null, null);
    if (views== null) throw new Exception("List of VMs from VimClient.FindEntityViews is null!");
    

    At this point, I believe that this occurs if the Web service has not been restarted or recycled in some time.  Most likely, I'm storing the VimClient incorrectly.

    I'm caching of connection of VimClient in the following way.  My reason for doing this is so save time on calls (it takes about 20 seconds to call VimClient.Connect () to each webservice call, if I don't do this).

    (1) for Web service starts, I give the floor

    private static VimClient _vsphereClientConnection = null;
    _vsphereClientConnection = new VimClient();
    ServiceContent sc = _vsphereClientConnection.Connect(vsphereServerURL);
    UserSession us = _vsphereClientConnection.Login(vsphereUsername, vspherePassword);
    

    (2) I can enter this instance of the VimClient every time I need to perform a function at the instance of vSphere

    public static VimClient VSphereClientConnection
    {
     get 
    {
     Initialize.waitForInitialization(0);
     return _vsphereClientConnection; 
    }
    }
    

    where Initialize.waitForInitialization () checks if VimClient has completed the connection to vSphere.

    I cache this connection wrong?  Is there a better way to do this / a how to do it at all?  Or maybe I make a wrong assumption about why FindEntityViews returns null.

    I thought I could detect in the VSphereClientConnection property if the connection has expired in any way and re - connect, but it's not ideal because then the user must wait until the initialization again.  I'm also not sure how to check if the service is in bad shape without making a call that I know does not work in these States 'bad '.

    Thank you

    Jason

    You can call SessionManager.sessionIsActive () to validate a session.  You could also do some other data requests.  Firewall between you and vCenter can sometimes drop idle connections (vCenter has a vpxd.httpClientIdleTimeout configuration value to increase or decrease and it should be higher that your firewall connection inactive drops).

    You can also simply cache the session ID (which is essentially in the cookie).  I don't know if the c# Toolbox has hooks to do this easily, however.  Perl, and it works very well in web servers.  The logic is get sessionID, attempting to load the existing session, in case of failure, try the new name of connection with the stored credentials.

  • orgVdcNetwork.configuration.ipScope return null after upgrade to 5.1

    I'm currently testing my workflow because I upgraded my environment at 5.1.  It seems that orgVdcNetwork.configuration.ipScope now returns a null value for all of my orgVdcNetwork.  I was recovering information gateway and dns for use in my workflow of the ipScope.  I can't understand where that information went.  I tried it tears of the ExternalNetwork as well, and it's also coming back as null there.  I've rechecked in vCD and everything seems seems correct through the web administration tools.

    Paul

    Hello Paul,

    orgVdcNetwork and Exnternal networks are containing a list of ipScopes in vCD 5.1. In vCD to 1.5 was only a single ipScope.

    In order to get the ipScopes of orgVdcNetwork as a table, you can do:

    var ipScopes = orgVdcNetwork.configuration.ipScopes.ipScope.enumerate ();

    Enumerate() funtion replaces list table. If you have a single ipScope in the list, you can use it as
    ipScopes [0];
    Same thing can be applied to external networks.
    I hope this helps!
  • PL/SQL V() function returns null

    Hello

    I just updated one of my instance of APEX of 3.0 to 3.2.1 version. After update I can't read session values using the function v (VARIABLE_NAME) of pl/sql. Always returns null (I tried v('session'), v ('app_id'), v ('app_user')).

    : Reference VARIABLE works fine, but I can't use it in my own packages.

    No idea how to solve this problem?

    Kind regards
    Przemek

    Hello

    Are you by chance using old drop-in replacement for Patrick Wolf for the function of V?

    http://www.inside-Oracle-apex.com/attention-are-you-using-drop-in-replacement-for-v-and-NV-function-2/

    John.
    --------------------------------------------
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.sumneva.com (formerly http://www.apex-evangelists.com)
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!

  • Need help with ics. SQL return null

    Hi experts WCS.

    I have this ics. SQL statement that returns an IList as null and nothing in the errStr in debugging print.

    IList rsATypes is ics. SQL (, sqlATypes, listName, limit, bCache errStr);

    The code is in one of my jsp. He ran very well in my local JSK (HyperSQL Db), but returns NULL in the case of Test (Oracle DB, if this is another).

    I got the sql statement println during execution and run it directly in Oracle DB (same instance) it returns the expected result set.

    The code snippet:

      System.out.println("## ics.GetSSVar(\"pubid\")          : " + ics.GetSSVar("pubid"));
    
        // Get Attribute Types
        String sqlATypes = "SELECT DISTINCT assetpublication.assettype "
                         + "FROM assetpublication "
                         + "LEFT JOIN approvedassets "
                         + "    ON assetpublication.assetid = approvedassets.assetid "
                         + "WHERE pubid = '" + ics.GetSSVar("pubid") + "' "
                         + "AND (tstate is null OR tstate <> 'A') "
                         + "AND (voided is null OR voided <> 'T') "
                         + "ORDER BY assettype; ";
        System.out.println("##0126 sqlATypes : " + sqlATypes);
        String from = "AssetPublication, ApprovedAssets";
        // String listName = null;
        String listName = "ATypesList";
        int limit = -1;
        // boolean bCache = true;
        boolean bCache = false;
        StringBuffer errStr = new StringBuffer("");
        ics.ClearErrno();
        IList rsATypes = ics.SQL(from, sqlATypes, listName, limit, bCache, errStr);
    
        System.out.println("## rsATypes : " + rsATypes);
        if (rsATypes == null) {
            System.out.println("## NO DATA in rsATypes! errStr : " + errStr.toString());
    

    }

    The journal:

    ## ics.GetSSVar("pubid")          : 1374097570685
    ## sqlATypes : SELECT DISTINCT assetpublication.assettype FROM assetpublication LEFT JOIN approvedassets     ON assetpublication.assetid = approvedassets.assetid WHERE pubid = '1374097570685' AND (tstate is null OR tstate <> 'A') AND (voided is null OR voided <> 'T') ORDER BY assettype;
    ## rsATypes : null
    ## NO DATA in rsATypes! errStr :
    


    I got enclosing try catch block, who did not take any exception.


    The funny thing is, in the same piece of code, an ics. Casea used already worked (which I noticed outside because there was not enough for what I want to do):

            StringBuffer errSB = new StringBuffer("");
            ics.SetVar("assetid", id);
            IList approvedAsset = ics.SelectTo("ApprovedAssets", "state,voided,tstate,locked,reason,treason", "assetid", null, -1, null, true, errSB);
    

    Any help/ideas from anyone would be really appreciated.

    Thanks Guddu1223, I discovered why.

    The SQL statement cannot end with a semicolon (see line 11 of my original above codes). Delete who had back all the records provided for in my resultset in the IList.

    The reason why it works in my local, but not stable instance that I guess is my local JSK + HyperSQL, in WCS + Oracle DB instance trying...

  • % ROWCOUNT SQL must return 0 No 1

    All,
    We are running 10.2.0.1.0 Oracle. I have problems with the result of SQL % ROWCOUNT. It should return 0 when
    Select does not find a match, but returns a 1. With deletions, SQL % ROWCOUNT works very well and returns 0.
    SQL> l
      1  declare
      2     v_count          NUMBER;
      3  BEGIN
      4     v_count := 0;
      5     select count(*) into v_count
      6     FROM employee
      7     WHERE id = 5000;
      8     v_count := sql%rowcount;
      9     DBMS_OUTPUT.put_line ('Rows Read = ' || v_count);
     10* end;
    SQL> /
    Rows Read = 1
    
    PL/SQL procedure successfully completed.
    SQL ROWCOUNT % works fine with delete.
    SQL> ed
    Wrote file afiedt.buf
    
      1  declare
      2     v_delete_count          NUMBER;
      3  BEGIN
      4     v_delete_count := 0;
      5     DELETE
      6     FROM employee
      7     WHERE id = 5000;
      8     v_delete_count := sql%rowcount;
      9     DBMS_OUTPUT.put_line ('Rows deleted = ' || v_delete_count);
     10* end;
    SQL> /
    Rows deleted = 0
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    Thanks for your comments,

    Seyed

    user11117178 wrote:
    All,
    We are running 10.2.0.1.0 Oracle. I have problems with the result of SQL % ROWCOUNT. It should return 0 when
    Select does not find a match, but returns a 1. With deletions, SQL % ROWCOUNT works very well and returns 0.

    SQL> l
    1  declare
    2     v_count          NUMBER;
    3  BEGIN
    4     v_count := 0;
    5     select count(*) into v_count
    6     FROM employee
    7     WHERE id = 5000;
    8     v_count := sql%rowcount;
    9     DBMS_OUTPUT.put_line ('Rows Read = ' || v_count);
    10* end;
    SQL> /
    Rows Read = 1
    
    PL/SQL procedure successfully completed.
    

    Hello

    % ROWCOUNT SQL would return always 1 be the corresponding number of records would be 0 or infinite. This is because you do count (*), and she always get selected as a line. Let me know your condition of bussiness.

    In addition, you can try this it will give you the result you expect

      declare
         v_count          NUMBER;
      BEGIN
         v_count := 0;
         select count(*) into v_count
         FROM employee
         WHERE id = 5000;
         DBMS_OUTPUT.put_line ('Rows Read = ' || v_count);
     end;
    

    Concerning
    Anurag

  • ViewObject getCurrentRow() returns null for a particular VO

    1. I use JDeveloper 12.1.2 and see that one of the VO does not return a current line in the module of the application.

    Table of this VO has an another table foreign key relationship and corresponding EO mapping to a database table is defined.

    I defined the Association and link display to be able to make the key relationship foreign mapping.

    And moved VO belong to the corresponding data model of the parent object.

    However, getCurrentRow running on this instance of VO returns null.

    Runs the code SQL of VO same results as expected in the preview of the VO Editor.

    Can someone further comment on what might cause some getCurrentRow() which returns null despite the lines for VO that corresponds to its definition of SQL or Timo.

    2. one of the posts mentioned earlier setting the following will print the SQL used by VO in the console.

    AddVMOption - Djbo.deguboutput = console

    AddVMOption - Djbo.jdbc.trace = true

    However, my console does not show the SQL code as such to run executeQuery on VO.

    Can someone share your opinion on if these settings are changed in Jdev 12.1.2 charges.

    Thank you

    Rama

    GetCurrentRow() may return null if the vo is not used in the user interface. In this case, the pointer of the current line is set before the first row so that you can browse all lines.

    After execution of the vo, you must call premier() to get the first row, then next() to get the next line.

    Timo

  • ConnectionFactory.getConnection () returns null.

    ConnectionFactory connFact = new ConnectionFactory();
            ConnectionDescriptor connDesc = null;
            connDesc = connFact.getConnection(----here goes my url String----);
    

    Hi all

    In the code posted above, number In Line 3, reason for which the null value is returned by the statement "connFact.getConnection (- this is my String url-);"   and he is assigned to the variable 'connDesc '.  Although I was able to login successfully before 2 to 3 hours. but it is now return null...

    Could you please help me?

    Best regards,

    Hi Sir,

    After going through the link provided by you (and a few other sup on internet links), I was able to resolve the issue for now... I write the code for other users help here...

    Thank you for your support...

    Best regards.

    // make a list of transport types ordered according to preference (they will be tried in succession)
    int[] preferredTransportTypes = {TransportInfo.TRANSPORT_MDS, TransportInfo.TRANSPORT_WAP2};
    
    // Create ConnectionFactory
    ConnectionFactory factory = new ConnectionFactory();
    
    // Configure the factory
    factory.setPreferredTransportTypes( preferredTransportTypes );
    
    // use the factory to get a connection
    ConnectionDescriptor conDescriptor = factory.getConnection("http://www.blackberry.com");
    
    if ( conDescriptor != null ) {
    
       // connection suceeded
       int transportUsed = conDescriptor.getTransportDescriptor().getTransportType();
    
       // using the connection
       HttpConnection  httpCon = (HttpConnection) conDescriptor.getConnection();
       ...
    }
    
  • Hash table returns null

    It's the stumping me. I add a key and a value in a hash table, pass in the key and retrieve the value. Basic enough, but when I go to retrieve the value a second time (after the restart of the application), it returns null.

    If it isn't exactly the code that would be the basic scheme:

    class A
    {
         private static Hashtable table = new Hashtable();
    
         public static Object getObject(Class clazz)
         }
              return A.table.get(clazz);
         }
    
         public static void setObject(Class clazz, Object obj)
         }
              A.table.put(clazz, obj);
         }
    
         //Code stuff...
    }
    
    class B
    {
         public static void main(String[] args)
         {
              A.setObject(C.class, new C());
              Object obj = A.getObject(C.class); //This works
         }
    
         //Code stuff...
    }
    
    class C
    {
         //Code stuff...
    }
    

    What happens on the 9550 Simulator and is fixed after restarting the Simulator but work always and only the first time through. If the app is closed, then reopened, then it returns null, even if the hash table was always the same items.

    Ah. When you run the application a second time, he rebuilt serializers to persistent store. Unfortunately, your objects of the class are new instances, so that they cannot be used as persistent hash keys. I suggest you use class names as keys rather than objects of class themselves.

  • APEX_ITEM. DATE_POPUP returns NULL Version 4.2.6

    I apologize in advance if I'm misunderstanding here, but should not return the following query a few HTML, etc. ?

    SELECT APEX_ITEM. DATE_POPUP (1, rowNum, to_date(sysdate,'DD-mm-YYYY'), 'DD-mm-YYYY') date_html

    OF the double

    I am confirming my queries through SQL Developer first and then plan to add to a report of the APEX for a manual form.  APEX_ITEM. TEXT Returns HTML can be used in SQL Developer, but I can't understand why APEX_ITEM. DATE_POPUP returns NULL regardless of any parameter combinations I try.  Thanks in advance for the answers.

    user10730448 wrote:

    Please update your forum profile with a recognizable username instead of "user10730448": Video tutorial how to change username available

    I apologize in advance if I'm misunderstanding here, but should not return the following query a few HTML, etc. ?

    SELECT APEX_ITEM. DATE_POPUP (1, rowNum, to_date(sysdate,'DD-mm-YYYY'), 'DD-mm-YYYY') date_html

    OF the double

    Do not apply to_date conversion sysdate . It's already a DATE value.

    I am confirming my queries through SQL Developer first and then plan to add to a report of the APEX for a manual form.  APEX_ITEM. TEXT Returns HTML can be used in SQL Developer, but I can't understand why APEX_ITEM. DATE_POPUP returns NULL regardless of any parameter combinations I try.

    It is the expected behavior. Some API calls can be used successfully since in a valid session of APEX. You can validate apex_item.date_popup query in the APEX SQL Workshop. Note that apex_item.date_popup2 is the recommended method because it shows a more modern jQuery calendar.

  • Debugging inaccessible FacesException:Target, 'bean' returned null

    Hi all

    Jdev: 11.1.1.7.1

    We have a living ADF application that worked very well until installing a recent where a flow is the break with the message "inaccessible FacesException:Target, 'bean' returned null. It works very well in our UAT and our production environment is clustered.

    StackTrace

    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: javax.faces.FacesException, msg=#{pageFlowScope.xyzBean.showCaseDetails}: Target Unreachable, 'xyzBean' returned null
    Supplemental Detail    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:417)
    at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:479)
    at com.wellsfargo.common.view.WFExceptionHandler.handleException(WFExceptionHandler.java:57)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._handleException(LifecycleImpl.java:1380)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:211)
    .....
    ..
    ## Detail 0 ##
    javax.faces.FacesException: #{pageFlowScope.xyzBean.showCaseDetails}: Target Unreachable, 'xyzBean' returned null
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
    at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
    at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:280)
    

    Guidance on how to debug what appears not a problem with scope as our UAT works very well.

    We were finally able to reproduce the problem in our local instance.

    Regarding the cause, the view behind the UI object, the research doesn't have the right keys. As a result, selection on the table was selecting two rows on the search results. By clicking on the commandlink, it seems that two events of Action are put in queue and after that the first action event navigates successfully, the second is pulled and fails.

  • Java 7 u45 System.getProperty returns null

    After the upgrade to u45, our web launch application has stopped working. He failed System.getProperty ("myproperty").

    "myproperty" is defined as an

    < resources >

    < j2se version = "+ 1.6" initial-heap-size = "64 m" max-heap-size = "256 m" / >

    < jar href = "nms_wsclient.jar" Download = hand "impatient" = "true" / > "

    < href = tΘlΘchargement jar "commons - httpclient.jar" = "forward" / >

    < href = tΘlΘchargement jar "commons - codec.jar" = "forward" / >

    < href = tΘlΘchargement jar "commons - logging.jar" = "forward" / >

    < jar href = "log4j.jar" Download = "forward" / > "

    "< property name ="myproperty"" value = "http://138.120.128.94:8085 /" / > ""

    < / resource >

    with old java version, System.getProperty ("myproperty") works very well to return the value, but with u45 it returns null.

    Does anyone have the same problem? no idea how to fix or work around it?

    Thank you

    Zhongyao

    7u45 made a change that is not documented in the release notes. You must precede the properties with jnlp.myproperty in your JNLP file, unless your jnlp file is signed.

    But like me, since you can have different values in multiple deployments, signing the JNLP is impossible.

    I tried to submit a bug on this issue report, but their bug report process works as well as 7u45...

  • apex_util.get_email returns null values

    Request Express 4.1.0.00.32

    I created a calculation for a page element to get the email of the user.

    The page is P16_EMAIL_ADDRESS.

    The calculation is a type of PL/sql. The code is:

    DECLARE
    L_EMAIL_RTN VARCHAR2 (240);
    BEGIN
    L_EMAIL_RTN: = APEX_UTIL. GET_EMAIL (p_username = > 'APP_USER');
    END;

    When I check the session information and debugging logs it indicates that the function is to return null.

    I figured I was doing something wrong in the APEX while I created a procedure in the database called the APEX_UTIL. GET_EMAIL. I've run in debug mode and saw that he too returned null. I get the same results with the GET_FIRST_NAME and GET_LAST_NAME functions.

    Can you see what I'm doing wrong? Or give an example of using these functions correctly?

    Thank you

    Steve

    Published by: cranestar on February 28, 2012 09:28

    So if you know, APEX forums supports the use of the [code] and [code /] intended to set aside code segments for ease of reading.

    One thing I noticed in your sample service is this unconditional statement: RETURN NULL;

    Your function can do all sorts of things, but this indicates the function always return explicitly NULL - your behavior. You must declare a variable to store the results of the function call to APEX_UTIL. GET_EMAIL() and return this variable:

    create or replace function L_EMAIL_RTN
      return varchar2
     is
    declare
      v_email   VARCHAR2(240);
    begin
      v_email  := APEX_UTIL.GET_EMAIL(p_username => :APP_USER);
      return v_email;
    end;
    
  • FND_PROFILE. VALUE('ORG_ID') returns null

    Hello world.
    FND_PROFILE . VALUE ('ORG_ID') always returns Null when I select double as follows

    SELECT FND_PROFILE. VALUE('ORG_ID')
    FROM DUAL;

    OR if I'm doing assignment as follows

    *: V_ORG_ID: = FND_PROFILE. VALUE ('ORG_ID'); *

    What is causing the problem, it's a configuration problem or what?

    What is your version of the application?

    Please see these documents.

    After the Patch 8222387 why Fnd_profile. Value('Org_id') return no value [ID 784279.1]
    Conc programs using the Fnd_profile parameter. Value (Org_id) Get Apps-Fnd-01436 [ID 784489.1]
    FND_PROFILE. VALUE('ORG_ID') returns-1 [1235274.1 ID]
    Package Fnd_Global - Fnd_Global.Resp_Id, Fnd_Global.Form_Id, Resp_Id, $form_id, Form_Appl_Id are equal to-1 [960111.1 ID]
    An incorrect value in the block: field $ $ $Profiles: Org_id [876402.1 ID]

    Thank you
    Hussein

Maybe you are looking for

  • Apple financial (TDF Canada) access account?

    Anyone know of a way online to access those TDF account?  For now we can access by telephone old method via 1-866-508-6312. Of course payments can be made through banking online with Apple TDF (+ account number) as beneficiary, so one might think tha

  • Everytime I open an email or try to send a new message, following the pop box: DOWNLOAD of FILES you want to save this file?

    Everytime I open an email or try to send a new message, following the pop box: DOWNLOAD of FILES you want to save this file?  I have to click 'Cancel' twice in the order fdor the box go away. original title: DOWNLOAD the FILE you want to save this fi

  • HP Pavilion dv7 will not play audio via HDMI

    Hi I noticed recently that my laptop Pavilion dv7 entertainment will not play sound through the TV. The image is on the tv but its is running through the speakers of the laptop? I never had a problem with it until now. When I open the sound options,

  • Debugging of the Frustrations

    With the help of the Momentics IDE with the NDK is trying my patience.  I'm debugging on one the playbook on USB not the Simulator, my OS is Win7. 75% of the time when I run my application to debug, I get: launch X has encountered a problem. Error in

  • WTVD HD (QAM) is missing

    I have problems with WTVD HD (QAM) to Durham, NC does not appear in the guide to Windows Media Center. I get ALL the other channels of HD (QAM) in my market when I scan.  Also WTVD SD analog is listed, but no HD channel.  I'm on Time Warner Cable, Ca