Variable not always getting a value

I have a PL/SQL procedure (Oracle 10gR2 database ) that runs daily, here is a portion of it:-
create or replace
PROCEDURE         "GLCONV_PREP" IS
BEGIN
  DECLARE
    PROC_DT DATE := NULL;
     BEGIN
    SELECT (MAX(GL_CONV_SENT)+1) INTO PROC_DT FROM GLIF_ARCH;
    dbms_output.put_line ('PROC_DATE=' || TO_CHAR(PROC_DT, 'yyyy-mm-dd'));
  EXCEPTION
  WHEN OTHERS THEN
    -- LOG - Record the ERROR and RAISE it
    RAISE;
  END;
END;
The column in the Table is defined as
COLUMN_NAME     DATA_TYPE     NULLABLE     DATA_DEFAULT     COLUMN_ID     COMMENTS
GL_CONV_SENT     DATE               Yes                                             36
Some sample data
KEY_1_POSTING_DATE TRANS_DATE ODS_LOAD_DATE CMP        GL_CONV_SENT   COUNT(*)
2014-01-26         2014-01-26 2014-01-27    2014-01-26 2014-01-26        53970 
2014-01-26         2014-01-27 2014-01-27    2014-01-27 2014-01-27        39780 
2014-01-27         2014-01-16 2014-01-28    2014-01-27 2014-01-27            6 
2014-01-27         2014-01-17 2014-01-28    2014-01-27 2014-01-27            6 
2014-01-27         2014-01-23 2014-01-28    2014-01-27 2014-01-27            2 
2014-01-27         2014-01-24 2014-01-28    2014-01-27 2014-01-27           48 
2014-01-27         2014-01-25 2014-01-28    2014-01-27 2014-01-27           20 
2014-01-27         2014-01-26 2014-01-27    2014-01-27 2014-01-27         1590 
2014-01-27         2014-01-27 2014-01-27    2014-01-27 2014-01-27         7432 
2014-01-27         2014-01-27 2014-01-28    2014-01-27 2014-01-27       138022 
2014-01-27         2014-01-28 2014-01-28    2014-01-28 2014-01-28        39882 
2014-01-28         2014-01-02 2014-01-29    2014-01-28 2014-01-28            2 
2014-01-28         2014-01-22 2014-01-29    2014-01-28 2014-01-28            2 
2014-01-28         2014-01-24 2014-01-29    2014-01-28 2014-01-28           16 
2014-01-28         2014-01-25 2014-01-29    2014-01-28 2014-01-28            2 
2014-01-28         2014-01-27 2014-01-28    2014-01-28 2014-01-28         2422 
2014-01-28         2014-01-27 2014-01-29    2014-01-28 2014-01-28           62 
2014-01-28         2014-01-28 2014-01-28    2014-01-28 2014-01-28         6344 
2014-01-28         2014-01-28 2014-01-29    2014-01-28 2014-01-28       143416 
2014-01-28         2014-01-29 2014-01-29    2014-01-29 2014-01-29        39962 
2014-01-29         2014-01-21 2014-01-30    2014-01-29 2014-01-29            4 
2014-01-29         2014-01-22 2014-01-30    2014-01-29 2014-01-29            4 
2014-01-29         2014-01-24 2014-01-30    2014-01-29 2014-01-29            4 
2014-01-29         2014-01-25 2014-01-30    2014-01-29 2014-01-29            4 
2014-01-29         2014-01-27 2014-01-30    2014-01-29 2014-01-29           16 
2014-01-29         2014-01-28 2014-01-29    2014-01-29 2014-01-29         4720 
2014-01-29         2014-01-28 2014-01-30    2014-01-29 2014-01-29           62 
2014-01-29         2014-01-29 2014-01-29    2014-01-29 2014-01-29         2712 
2014-01-29         2014-01-29 2014-01-30    2014-01-29 2014-01-29       149838 
2014-01-29         2014-01-30 2014-01-30    2014-01-30                   40006 
2014-01-30         2014-01-23 2014-01-31    2014-01-30                       4 
2014-01-30         2014-01-27 2014-01-31    2014-01-30                       2 
2014-01-30         2014-01-29 2014-01-30    2014-01-30                    2500 
2014-01-30         2014-01-29 2014-01-31    2014-01-30                      22 
2014-01-30         2014-01-30 2014-01-30    2014-01-30                    7032 
2014-01-30         2014-01-30 2014-01-31    2014-01-30                  214346 
2014-01-30         2014-01-31 2014-01-31    2014-01-31                   39944 
2014-01-31         2014-01-30 2014-01-31    2014-01-31                    2466 
2014-01-31         2014-01-31 2014-01-31    2014-01-31                   48340 
Every day when the procedure runs the previous days date is set in the GL_CONV_SENT column for that days data.
So the column basically has records with GL_CONV_SENT date set for the data for the day.
The new data that has not been processed has a GL_CONV_SENT of NULL..
So for this mornings run the PROC_DATE should have been (MAX(GL_CONV_SENT)+1) = 2014-01-30
On 6 days out of 7 it runs perfectly, the PROC_DATE has the correct date in it and the extracts are produced.
On the one random day the PROC_DT variable is not set, probably NULL and the procedure fails, even though the date is already set for previous days in GL_CONV_SENT.
So there at least should always be a date in PROC_DT.
This procedure has been running for almost 4 years with no issue.
Only recently is this happening.
Does anyone have an idea of what could be causing this?

The procedure is basically as laid out in the sample script.
The first 7 lines are from the procedure and the line
     SELECT (MAX(GL_CONV_SENT)+1) INTO PROC_DT FROM GLIF_ARCH;
works most days, except today again the PROC_DT was NULL so the rest of the procedure did nothing as it uses this date to determine the data to process.
The Table is defined as below:-
  CREATE TABLE "P_ARC"."GLIF_ARCH"
   ( "KEY_1" CHAR(39 CHAR),
  "KEY_1_POSTING_DATE" DATE,
  "KEY_1_SYSTEM_DATE" DATE,
  "KEY_1_POSTING_TIME" CHAR(8 CHAR),
  "KEY_1_SOURCE" CHAR(1 CHAR),
  "KEY_1_JOURNAL_NBR" NUMBER(9,0),
  "KEY_1_JOURNAL_SEQ" NUMBER(2,0),
  "SOC" CHAR(3 CHAR) DEFAULT (LPAD(CHR(0),003,CHR(0))),
  "BRCH" CHAR(5 CHAR) DEFAULT (LPAD(CHR(0),005,CHR(0))),
  "FCY_CODE" CHAR(3 CHAR) DEFAULT (LPAD(CHR(0),003,CHR(0))),
  "GL_CLASS_CODE" VARCHAR2(40 CHAR) DEFAULT (LPAD(CHR(0),040,CHR(0))),
  "GLCC_CURRENCY" CHAR(3 CHAR) DEFAULT (LPAD(CHR(0),003,CHR(0))),
  "GLCC_BRANCH" CHAR(5 CHAR) DEFAULT (LPAD(CHR(0),005,CHR(0))),
  "GLCC_ACCOUNT_NR" CHAR(6 CHAR),
  "DESCRIPTION" VARCHAR2(30 CHAR) DEFAULT (LPAD(CHR(0),030,CHR(0))),
  "POSTING_IND" CHAR(1 CHAR) DEFAULT (LPAD(CHR(0),001,CHR(0))),
  "TRANS_DATE" DATE DEFAULT NULL,
  "LCY_AMT" NUMBER(17,3) DEFAULT (0),
  "FCY_AMT" NUMBER(17,3) DEFAULT (0),
  "REVERSAL_CODE" CHAR(1 CHAR) DEFAULT (LPAD(CHR(0),001,CHR(0))),
  "REVERSAL_DATE" DATE DEFAULT NULL,
  "GLIF_REFERENCES" CHAR(16 CHAR) DEFAULT (LPAD(CHR(0),016,CHR(0))),
  "SOURCE_APPLN" CHAR(3 CHAR) DEFAULT (LPAD(CHR(0),003,CHR(0))),
  "PS_JOURNAL_ID" CHAR(10 CHAR) DEFAULT (LPAD(CHR(0),010,CHR(0))),
  "PS_JOURNAL_NBR" NUMBER(9,0) DEFAULT (0),
  "CNTL_CENTRE" CHAR(5 CHAR) DEFAULT (LPAD(CHR(0),005,CHR(0))),
  "LCY_NPV_AMT" NUMBER(17,3) DEFAULT (0),
  "FCY_NPV_AMT" NUMBER(17,3) DEFAULT (0),
  "PROMO_NO" CHAR(2 CHAR) DEFAULT (LPAD(CHR(0),002,CHR(0))),
  "ISLAMIC_BANK" CHAR(1 CHAR) DEFAULT (LPAD(CHR(0),001,CHR(0))),
  "HOME_BRCH" CHAR(5 CHAR) DEFAULT (0),
  "ACCT_TYPE" CHAR(4 CHAR) DEFAULT (0),
  "TELLER_NO" CHAR(8 CHAR) DEFAULT (0),
  "MISC_REFERENCE" CHAR(8 CHAR) DEFAULT (LPAD(CHR(0),008,CHR(0))),
  "ODS_LOAD_DATE" DATE DEFAULT (SYSDATE),
  "GL_CONV_SENT" DATE,
  CHECK ("KEY_1" IS NOT NULL) ENABLE,
  CHECK ("ODS_LOAD_DATE" IS NOT NULL) ENABLE
   ) PCTFREE 10 PCTUSED 0 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
  TABLESPACE "ODS01"
  PARALLEL  ENABLE ROW MOVEMENT ;
The insert statement is in a procedure called prior to the GLCONV_PREP proc
The procedure that inserts the data from GLIF_TMP to GLIF_ARCH is always successful and the GLCONV_SENT is always NULL in GLIF_ARCH table
The Insert statement is as below:-
  BEGIN --LOAD_ARCH
     INSERT
       INTO  GLIF_ARCH
        KEY_1             ,
        KEY_1_POSTING_DATE,
        KEY_1_SYSTEM_DATE ,
        KEY_1_POSTING_TIME,
        KEY_1_SOURCE      ,
        KEY_1_JOURNAL_NBR ,
        KEY_1_JOURNAL_SEQ ,
        SOC               ,
        BRCH              ,
        FCY_CODE          ,
        GL_CLASS_CODE     ,
        GLCC_CURRENCY     ,
        GLCC_BRANCH       ,
        GLCC_ACCOUNT_NR   ,
        DESCRIPTION       ,
        POSTING_IND       ,
        TRANS_DATE        ,
        LCY_AMT           ,
        FCY_AMT           ,
        REVERSAL_CODE     ,
        REVERSAL_DATE     ,
        GLIF_REFERENCES   ,
        SOURCE_APPLN      ,
        PS_JOURNAL_ID     ,
        PS_JOURNAL_NBR    ,
        CNTL_CENTRE       ,
        LCY_NPV_AMT       ,
        FCY_NPV_AMT       ,
        PROMO_NO          ,
        ISLAMIC_BANK      ,
        HOME_BRCH         ,
        ACCT_TYPE         ,
        TELLER_NO         ,
        MISC_REFERENCE
         SELECT
          KEY_1_NEW         ,
          KEY_1_POSTING_DATE,
          KEY_1_SYSTEM_DATE ,
          KEY_1_POSTING_TIME,
          KEY_1_SOURCE      ,
          KEY_1_JOURNAL_NBR ,
          KEY_1_JOURNAL_SEQ ,
          SOC               ,
          BRCH              ,
          FCY_CODE          ,
          GL_CLASS_CODE     ,
          GLCC_CURRENCY     ,
          GLCC_BRANCH       ,
          GLCC_ACCOUNT_NR   ,
          DESCRIPTION       ,
          POSTING_IND       ,
          TRANS_DATE        ,
          LCY_AMT           ,
          FCY_AMT           ,
          REVERSAL_CODE     ,
          REVERSAL_DATE     ,
          GLIF_REFERENCES   ,
          SOURCE_APPLN      ,
          PS_JOURNAL_ID     ,
          PS_JOURNAL_NBR    ,
          CNTL_CENTRE       ,
          LCY_NPV_AMT       ,
          FCY_NPV_AMT       ,
          PROMO_NO          ,
          ISLAMIC_BANK      ,
          HOME_BRCH         ,
          ACCT_TYPE         ,
          TELLER_NO         ,
          MISC_REFERENCE
           FROM       GLIF_TMP
          WHERE
          KEY_1_OLD IS NULL
    COMMIT;
The source table GLIF_TMP does not have a GL_CONV_SENT column.
So as the GL_CONV_SENT in GLIF ARCH is nullable when the above insert is performed the GL_CONV_SENT value will be NULL as there is no value set for it in the insert statement... or have I got that wrong?
By the way there is no EXCEPTION raised, basically the PROC_DT is null so no processing occurs.

Similar Messages

  • JSP : create variable dynamic variable name and get his value.

    //HI forums.sun.com !
    //What I want to do is above :
    //out.println("<td style=\"width: "+col_width_+h+" \">")
    //Variable Declaration
    String col_width_1 = "100px";
    String col_width_2 = "150px";
    //etc String col_width_N = "XXXpx";
    //loop
    for (int h = 0; h < hrecset.getRowCount(); h++)
    //some code
    //create the variable name (exemple : col_width_0 ) with the "loop counter name" to get the value
    out.println("<td style=\"width: "+col_width_+h+" \">")//Do you understand what i mean?
    //some code
    //Variable Declaration
    String col_width_1 = "100px";
    String col_width_2 = "150px";
    //etc String col_width_N = "XXXpx";
    //loop
    for (int h = 0; h < hrecset.getRowCount(); h++)
    //some code
    //create the variable name with a concat with the loop counter variable name to get the value of the concatened variable
    out.println("<td style=\"width: "+col_width_+h+" \">")//Do you understand what i mean?
    //some code

    I apologize
    1) Sure i understand it but i click on the "code" button after i inserted the text above but it doesn't worked now it do.
    2) Because the table element need to have the total width in the HTML table TAG equal to the addition of every HTML td TAG to be W3 conform
    because i have a lot of cell where i want to adjust the width.
    so here my solution
    <%
    //Variable für Breite
    String col_width_unit = "px"; // px, cm,
    Integer total_table_width = 0;
    String[] col_width=new String[3];
    col_width[0] =  "350";
    col_width[1] =  "75";
    col_width[2] =  "50";
    %>
    <table style="page-break-inside:avoid;width:<%=gesamt_table_width+col_width_unit%>;">
    <%
    for (int h = 0; h < hrecset.getRowCount(); h++)
    out.println("               <td id =\"cell"+h+"\" class=\"tdall\"  style=\"width:"+col_width[h]+col_width_unit+"\" >");               
    %>
    </table>thank you very much

  • Authorization variable not filled with authorization values

    Hello All
    I post a similar message earlier this week, I thought that my issue was solved, but it was not.
    I've got a workbook with 4 differents queries.
    There as an authorizations variable in each query. This variable properties is as follows :
    **General tab**
    Type of variable : characteristic value
    Processing type : authorization
    Characteristic : company code
    **Details**
    Variable represents : selection options
    Variable is : optional
    Variable is ready for input : yes
    I've followed recommandations from OSS notes 976680
    My issue is : if I run each query individually, variable is filled with authorized values
    If I run the workbook, variable is not filled with authorized value, so when end user run the workbook, BW consider that end user wants to see all data and get "No authorization".
    I don't understand why variable within the workbook doesn't show the authorized values and why the queries do.
    Any suggestion about this issue ????
    Thanks
    Catherine

    Hi
    thanks for replying
    I ran the query with UserID from RSECADMIN and I could open the query. But if I want to select 0profit_ctr I get this error No authorization to characteristic values.
    I  checked the log and this is the message.
    Value Authorization
    InfoProvider FIGL_MP1
    Value Authorization for Characteristic 0PROFIT_CTR
    Building the Buffer...
    Building the Buffer...
    No Authorization for Values
    thanks

  • Labview local variables not always renamed

    Hello,
    I might be missing something, but it seems that sometimes the local variables in my VIs are not always updated when I rename the Front Panel control associated with it.
    I have an example where I right click on the terminal of a control named "RxConfigTest", create local variable.  The local variable that gets created is named with the old name "RxConfig1".
    Have you ever seen that behavior?  I'm using LV 7.1.1.
    Thank you,
    Mathieu

    Hi,
    Thanks for the response, but I was actually displaying the label.  I know that this sounds like a newbie question, but I'm not.
    I noticed that by closing and re-openning my VI after the rename, the variables were updated.  It looks like a refresh that was not done.  Even the local variable in the block diagram was not resized to the new text of the variable name.
    I'll try to grab a screen shot if it happens again.

  • After migrating to a new MBP, when saving or opening documents, I sometimes (but not always) get a warning such as: "Word cannot save this document due to a naming or permissions error on the destination volume." Can someone please explain?

    I recently migrated from a MBP with OS 10.6 to a MCB with OS 10.8. Some glitches are popping up. Here's the one on my mind at the moment:
    When saving or opening documents, I get a warning such as: "Word cannot save this document due to a naming or permissions error on the destination volume." Can someone please explain?

    Since this is isolated to a single file, try exporting it to Interchange Format (.inx), then open and save the resulting file as a new InDesign file.
    Since the problem occurs during export, that may not be possible. Another option to try would be to copy all elements, page by page, and "paste in place" into a new document the same size. If you used layers, be sure to enable "paste remembers layers" in the layers panel menu.
    This kind of problem is often indicative of an underlying font issue. You said there are only three fonts, and you should verify that in Type > Find Font... Try replacing, at least temporarily the fonts in use with something else that you know to be reliable from other documents. You might want to do this before the other steps.
    Peter

  • HT5953 I am using MacBook Pro, After upgrading to OS X Mavericks, Mac is not always getting shutdown or restart

    Mac is not getting shut down after updating to new OS X 9.2

    9.2 isn't out yet.
    Try a SMC reset: Intel-based Macs: Resetting the System Management Controller (SMC)

  • Time & Labor: EARLIEST_CHGDT not always getting reset when timesheet is upd

    We recently installed Time & Labor version 9.0 and we're seeing intermittent problems with corrected timesheets. Most of the time when an employee submits a timesheet - new or updated - it resets the EARLIEST_CHGDT on TL_TR_STATUS back to the beginning of the week for which the change was made. That sets the timesheet so that it's picked up by Time Admin and new Payable Time is created.
    However, we have had some employees make changes and the EARLIEST_CHGDT does not get reset, so they do not go through Time Admin and their payable time does not match their reported time.
    Has anyone else experienced this problem with EARLIEST_CHGDT not getting reset? There doesn't seem to be any pattern - some are Elapsed reporters, some are Punch. Sometimes it's when a day is added, somethimes it's when a day is changed. But it doesn't happen every time.
    Any help would be appreciated!

    Update:
    I tried doing a Full Restore and Setting up as a New Phone instead of restoring from my backup incase there was a problem with my backups too.
    Unfortunately it still didn't work.
    The more I try to fix this, the more I think it's a problem with the iMessage servers. Seemingly with my iCloud account.

  • BI Query with Hierarchy in VC does not get correct values

    Hello Gurus,
    I am building a model in VC for Performance Score card using Query as data service.
    I have  the following problem.
    When I execute query in BEx with Hierachy_node variable , it is getting correct values, but the same is getting incorrect values in VC.
    The Hierarcynode variable I am using is a TOP node, then the values including child nodes are also should be displayed, which is working fine with BEx query but not in VC.
    When I execute the query with hierarchy node value as child node I am getting correct values both in VC and in BEx.
    The correct values are not shown only when I use top nodes.
    Please help me in this regard.
    Thanks in advance
    Ganesh

    Hi
    We are facing the same issue. Is this issue resolved? Pls let us know the solution
    Regards
    Aruna

  • Not able to get the value from type defined in other progarm

    Hi All,
    I have a create a type in one package spec(Globally), now i am using the same type in another package.Simply i am calling the first package and try to store the value in Type and use the same type in second package.
    But i am not able get the value
    Type declaration
    Declared in package Spec
    TYPE t_aa_derive_tbl_type IS TABLE OF xxxx%ROWTYPE;
       t_aa_derive t_aa_derive_tbl_type;
    Package 1
    Package1. PROCEDURE name(
    some parameters);
    is
    Cursor
    c1 is Select * from dual;
    begin
          OPEN c_aa_derive;
            FETCH c_aa_derive
            BULK COLLECT INTO t_aa_derive;
            CLOSE c_aa_derive;
         END get_aa_derive;
    In My second package
    I am calling
    Package1. PROCEDURE name(
    some parameters);
    and then i am trying to
    for i in 1 .. package1.t_aa_derive.COUNT
      LOOP
    end loop;
    I am not able entered the loop for some reason.
    Could some one guide me if anything i missed.
    Cheers,
    San

    I have a create a type in one package spec(Globally), now i am using the same type in another package.Simply i am calling the first package and try to store the value in Type and use the same type in second package.
    Why?
    1. Why aren't you just using SQL to do the work?
    2. Why don't you just open a CURSOR and pass that instead?
    BULK COLLECT INTO t_aa_derive; 
    3. Why aren't you using a LIMIT clause? Are you sure that only a very small number of rows will be queried?
    4. Why aren't you using a PIPELINED function instead of passing a collection?
    Using collections with potentially unlimited numbers of rows is not scalable. Also, using collections can be more difficult for 'data consumers' to work with than if you just use a CURSOR or PIPELINED function.
    Make sure you are using the proper architecture so that your code is both modular, scalable and easy to use.

  • Data Modelling - Complex issue need to get DATE values

    Gurus and Experts
    I have a situation where i have a infoobject-A which is char having value 10.
    I always get the values to this infoobject as 0001032008 from the source system
    means 0001 is constant
        and 032008 is month and year
    Now i want to use this as a dynamic query where user enters 0001032008 it should get values for T+23 months
    where T = 0001032008 and T+23 would be 0001022010 (or february 2010) in short.
    I get only make this work if i can use this infoobject to mapto  0calmonth and in query use variable for offsets with range as T to T+23.
    Steps would be
    1)Create infoobject -B ,reference it to 0CALMONTH
    2)In Transfer structure ,take always last 6 values ,so we get date as 032008
    Now the 0CALMONTH always work with value such as 200803 and not 032008 ,so how would this work ,so will this solution work ,how to achieve this complex logic.
    Or is there any other alternative best simple solution
    please help
    thanks

    Hi
    Sometimes what seems complex can be solved by going back to the root.
    Let me explain:
    Your source system sends you an information with a format 0001MMYYYY. If I catch you, you created an IO to get the information as a master data. That's fine.
    But your aim is to interpret your source data as 0CALMONTH. So I suggest that you add 0CALMONTH in you Transfer rule, feed 0CALMONTH by ABAP code in the transfer rule to extract the information from your source system.
    If you want, you can keep the original IO, but I do not know what you can do with it....
    If you took BW310 course, your problem looks like the first exercise where you play with the cost center comming from another source system.
    May be I did not catch everything but it is getting late for me
    Cheers
    PYG

  • How to get selected value from SelectOneChoice

    Hi,
    I'm facing a problem to get selected value from SelectOneChoice. I have valueChangeListener event on a (SelectOneChoice)item. After user makes a choice I want to store selected value in a bean property to pass it to a method.
    For example List item shows dname from dept table after user makes a choice I want to get deptno and populate into bean which I use to pass into my method.
    If I use valueChangeEvent.getNewValue() I always get negative value instead I want deptno selected. Sample code pasted below.
    public void setDeptno(ValueChangeEvent valueChangeEvent) {
    BindingContainer b = getBindings();
    OperationBinding oB = b.getOperationBinding("setDeptno");
    //Checking instance of because same method is called from another text inputText item.
    if (valueChangeEvent.getSource() instanceof CoreSelectOneChoice){
    CoreSelectOneChoice cN = (CoreSelectOneChoice)valueChangeEvent.getSource();
    if (columnName.getId().toString().equals("deptDname")){
    JSFUtils.setManagedBeanValue("dept.deptDeptno",valueChangeEvent.getNewValue());
    }

    if your selectOneChoice has value equal to #{bindings.deptno} bound to the iterator Dept1Iterator,
    then the backing code will look more like
                    public void setDeptno(ValueChangeEvent valueChangeEvent) {
                        BindingContainer b = getBindings();
                        OperationBinding oB = b.getOperationBinding("setDeptno");
                        //Checking instance of because same method is called from another text inputText item.
                        if (valueChangeEvent.getSource() instanceof CoreSelectOneChoice){
                            CoreSelectOneChoice cN = (CoreSelectOneChoice)valueChangeEvent.getSource();
                        if (columnName.getId().toString().equals("deptDname")){
                            FacesContext ctx = FacesContext.getCurrentInstance();
                            Application app = ctx.getApplication();
                            ValueBinding bind = app.createValueBinding("#{bindings.Dept1Iterator.currentRow}");
                            Row row = (Row)bind.getValue(ctx);
                            JSFUtils.setManagedBeanValue("dept.deptDeptno", row.getAttribute("deptno"));
                    } I haven't tested it, so it could perfectly not work at all

  • Get Profile values in apex

    I Have integrated apex application in EBS(11.5.10.2) and it is working fine.
    I would like to display the item desctiption in user language based on the profile "fnd_profile.value('ICX_LANGUAGE')".
    i am calling above profile in before header process, But i am not able to get that value in APEX in EBS( I am always getting site value from profiles).
    please help me in this regard.
    Thanks & Regards,
    Ramamuni.

    Thanks for your repllies Dan.
    - APEX and EBS installed the same database (Yes they are in same database)
    - APEX installed in a separate schema ( Yes correct)
    - Authenticating users through a cookie solution and wwv_flow_custom_auth_std.login ( We are using this in our app)
    A soultion could be to write the langauage value in your cookie and then read it when you are logged in. (do you have any documentation around this ?)
    Currently we are using the database login scheme for authentication purpose. We have added the APEX page to be called from a Responsibility menu. The user will be logging in oracle apps and selets the responsibility to be redirected to the APEX page. By default we are getting the username as 'APPS'(Database schema name ?) as against the logged-in user name. Also the problem with the profile values.
    You help is much appreciated.
    Thanks,
    Ramamuni

  • Can't always get to forums

    I am running windows XP.  I can not always get to these forums.  Sometimes when I go to forums, I get what looks like a programmers" page with just one long column with the titles of the different areas on it.  If I click on one of titles, It just takes me to the same page.   When I talked to a support person, he tried to get the forums on his computer and he got the same thing I am getting.  He was also running windows XP.  He sent me to E center where they told me that it would be fixed in 24 hours or they would call me.  Several days have passed and I haven't heard a thing.  Today after several attempts I was able to get to this forum.  Thought I would ask if anyone else is having same problem.

    topdog,
    I have seen that exact same issue, once for sure, maybe twice. Logging off and back on did not fix it. But I waited for maybe 30 minutes or an hour and the next time I tried it worked just fine. I have no idea what the problem is (my guess is website maintenance), but it is real, but also not very frequent, at least for me.
    spacedebris,
    Re: speed of the forums. I have at times had terrible performance issues with the Verizon forum, and gee whiz, I am on FiOS, supposedly the fastest internet around! But I found what for me at least was the issue - a couple of links on forum pages to what appear to be websites that monitor and measure your activity on the Verizon site. The links are to hitbox.com and webtrendslive.com. Sometimes (fairly frequently) it would take 30 seconds or more for a page to load completely. I eliminated that problem entirely in Firefox by blocking those sites using the Adblock Plus add-on. Pages from the forums now load in usually 1-3 seconds, rarely as long as 5. Since you said you use Firefox you might want to try blocking those two sites with Adblock Plus. As for IE, I don't know if there is any tool to acomplish the same thing, I pretty much never use IE any more.
    Justin
    Verizon FiOS TV, Internet, and phone
    QIP6416-P1, IMG 1.7.1, Build 09.97
    Keller, TX 76248

  • Why do my calendars not always update 9or update right away?)

    I am not sure i am following APPLE's instructions correctly as I don't get consistent results. Can someone help? Thanks.
    I have the newest IPOD TOUCH. And some things I have entered on my MACs and even work PCs (me.com calendars eventually showed up on my ipod touch. Vice versa too.) Problem is that this is not consistent. I occasionally find something does not make it, especially from internet (me.com) to the IPOD.
    I THINK my IPOD TOUCH settings may be the problem.
    They are
    PUSH--> ON
    FETCH --> MANUAL
    I have tried other ways, and the results are always unclear. I thought to save the battery PUSH should be off, or is it only FETCH?
    I have wifi on AT HOME. But only to get mail sent to my IPOD. Out on the street and at work there IS no wifi. But anyway, on or off, it seems like I need to have my usb connector plugged in to sync. So I do that too.
    SO, Calendar--> PUSH ON OR OFF? FETCH ON OR OFF? WIFI ON OR OFF?
    Now Push on, wifi on.
    MAC settings too are confusing. There is SYSTEM PREFERENCES and Itunes.
    Here they are for my PPC G5 running 10.5.5 and Intel Macbook Pro running 10.4.4)
    MOBILE ME (SYSTEM PREFERENCES)
    Sync (all items checked except, on the desktop, the mysteriously named "com.panic.transmit.favorites". So that includes calendars. And set for AUTOMATICALLY.
    NOTE!!
    ---> THIS ONE ---WAS-- SET FOR AUTO, BUT JUST NOW I SWITCHED TO MANUAL AND IT DID WORK!!
    -> DOES THIS MEAN I FOUND THE SOLUTION? OR A FLUKE???
    ADVANCED shows the two machines being synced
    ITUNES SETTING
    Contacts and Calendars are synced "OVER THE AIR" from Mobile ME. That implies wifi? But regardless, with or without, plugged in or not, I do not always get things synced.
    Mail account--only have me.com. before I had the other email I use, but it seemed to create multiple instances of Mobile me on my IPOD and also multiple calendars "On my Ipod" and UNTITLED Account" So now I leave only mobile,me checked. (see below ADVANCED)
    Advanced:
    REPLACE INFO ON THIS IPOD.... Or, THIS may have been the culprit, so now I leave this off
    So, now I am left wondering if any of my settings are less than desired. And is the syncing, when it happens, occurring over wifi or over the USB? So far, the one setting that seems to MAYBE make a difference is in SYSTEM preferences-->changing to SYCH WITH MOBILE ME MANUAL (whereas before it was AUTO).
    Thanks

    tokyoprogressive wrote:
    Thank very much for your answer. Let me see if I understand.
    I have Mobile Me (this mac account and a set of calendars: home and work)
    Fairly similar to my set up.
    Ok...I have PUSH ON and FETCH MANUAL. But then in ADVANCED it says MOBILE ME CONTACTS AND CALENDARS --> PUSH. And MAIL also PUSH.
    Though I am not sure what this actually means. So far, I seem to get things to happen
    Rule 555: if it ain't broke, don't fix it.
    Stuff from Mobile Me comes down automatically. That was supposed to be Push (instant), but Apple had to admit that in reality for now, there is going to be some delay. Even so, if I time it well, mail and calendar changes arrive elsewhere as soon as I make them on the computer or the touch or even the cloud.
    Some apps do not support Push, so that Manual (or the times) cover that situation.
    automatically IF I have wifi on at home and the calendar app is open. In other words, do PUSH And FETCH settings work if using USB and NO WIFI (on my home computer?)
    No. By selecting the Mobile Me method, the USB syncs are closed off.
    This works with wifi if you have Mobile Me (but then subscribed calendars do not sync).
    Ok.
    You mean other things sync but not calendars? I am not sure how I actually subscribe them. I just see the same info now on the web and on my TOUCH.
    Your ordinary calendars do, but those you subscribe to (for example I subscribe to a calendar that I found on a website that gives me Formula 1 schedule; and my boss at work gives me a calendar I subscribe to). My basic calendars are fine, but the subscribed calendars do not even appear in Mobile Me or on the touch.
    Hm. So far with that specific computer I can ONLY get wifi and not USB. You said I can turn it off??? You mean by turing PUSH to off? So PUSH off, no sync. Push on, sync.
    Right. The Sync would be via USB, but that only syncs the touch and the computer, the computer would also sync with the cloud. OK, if you only have one computer, I guess. Syncs from the touch wait until you come home and plug it in.
    So turning on MOBILE ME (PUSH???) makes SYNC via USB stop working?
    That is right. If you look in the information panel in iTunes when you have the touch connected, that is what is indicated.
    Thanks you. As you see, I am still very foggy about this all. It seems like the USB is good for charging and Itunes stuff, but that the calendar only syncs with PUSH on and FETCH set to, so far for me, MANUAL.
    You have that about right, Yes.
    And yet on some of its pages Apple says you should turn off PUSH and/or FETCH to save battery life.
    Right. If you are in a situation where Push is not going to work for a few hours (like on a plane, or in the middle of a desert) it makes no sense to discharge a battery unnecessarily. If you are in and out of Starbucks in the US, or somewhere that has wifi on that you can link to -- and you do update a lot, or read email -- then keep it on.
    Glad to have been of help.
    Graham

  • DAQmx and TDMS not always working

    Hello,
    I am new to the DAQmx and TDMS vi's and am hoping someone will be able to help me. The attached code contains several case structures, however only one of them has the DAQmx and TDMS vi's running through them. My intent is to record the voltage output from two photodetectors as I scan the current of a diode laser controller.  When I run this code it does not always record the values while I am scanning and when I quit the program the TDMS file viewer will show me no data. Sometimes, but rarely, it will show me some data. The stacked sequence within the case structure is the code that runs the laser controller and a couple of translational mounts. The DAQmx and TDMS vi's that should record the data are just next to that.
    Thank you!
    Alfredo
    Solved!
    Go to Solution.
    Attachments:
    LDC3714B_v9_test.vi ‏305 KB

    I just ran the code about 5 times and it only recorded the data I was expecting once even though I changed nothing. I am attaching the code with the subvi's.
    What I mean by "only one of them has the DAQmx and TDMS vi's running through them" is that the data is only recorded using these vi's once only one of the many case structures is activated. I'm simply pointing out that the vi's are not used anywhere else.
    Also in the DAQmxRead vi, should I have Analog 2D DBL or Analog 1D Waveform?
    I think the problem with the inconsistency in my code might be because I have a Stached Sequence Structure within the Case Structure where the vi's are.
    Thank you.
    Alfredo
    Attachments:
    Code.zip ‏252 KB

Maybe you are looking for

  • Drag and drop for UI5

    Hi everyone, Is it possible to drag and drop the UI elements in sap ui5? Because writting all the code is very lengthy. If it is possible then how we can do that? Regards, Soumya

  • Iweb blog comments

    Hi people, Could somebody help me? i have published my site at www.dubkasm.com and used a blog page as a comments book, only when i publish the site there is no section like 'add comment' or 'post message'. How can i do this? Any help much appreciate

  • Using blue tooth to send itunes audio to my car speakers

    I've heard this is possible, but I have no idea how to go about doing this. I've connected the phone to the car... no problem thru blue tooth. But when I want to play audio, either the ipod app or the npr app, it plays thru the internal speaker... Ho

  • Error Message "Cannot create semaphore, teanbeat.256"

    Hello On Proxy Server 3.6 SP1, I have this error message "info: Cannot create semaphore, teenbeat.256" before server crash with these errors messages [29/Jun/2004:14:40:15] info: Cannot create semaphore, teenbeat.256 [29/Jun/2004:14:40:15] info: Cann

  • Compress avi file to be placed on webpage

    I have a 50 mg avi movie taken from my canon still photo camera and it's in iphoto that I would like to compress to send to a webpage for family to view. Any ideas? Thanks Mike