RESOLVED: Get the value of expense_header_id to FinalReviewPG class controller.

Hello

A requirement of the user, I need to get the value of the expense_header_id to the final review page controller in the Iexpenses module called FinalReviewPG.xml

I tried viewing the your attached to the page there seem to be none. How can I reference an existing VO, said AllocationsLinesVO, from the screens initials to store the value in the final page?

Pointers please.

Kind regards
Archie

Published by: OAFNewbie on 23/06/2011 20:01

Hello

To get the report header id, follow the steps below

1.) extend the controller EntryFlowPageCO cash and other details page and in the method of Construction of this scope capture controller the VO

OAApplicationModule am = (OAApplicationModule) pageContext.getRootApplicationModule ();
OAViewObject FVO = (OAViewObject) am.findViewObject ("CashAndOtherLinesVO"); / / CashAndOtherLinesVO will give the report header id
nReportHdrID = (Number) row.getAttribute ("ReportHeaderId");

cast number vale for string and then put that into session using
pageContext.putSessionValue ("ReportHdrID", sReportHdrID); / / store the id of the header in the session to put the question on the examination final page.

2.) extend the FinalReviewPageCO of the final review page

and get the report to help id
String sReportHdrID = (String) pageContext.getSessionValue ("ReportHdrID");

Thank you
Pratap

Tags: Oracle Applications

Similar Questions

  • Is it possible to get the value of the resistance of a circuit with NI USB-4065 USB without using studio measure?

    Hi, I'm working on a project where there partly to measure resistance values in different parts of the circuit. Now, the company where I work currently at wants to get the NI USB-4065 USB. I use visual studio 2005 c# to develop applications and I need to know if I needed measurement studio or are there drivers (dll) just to get the values of resistance and General measures of circuit. I have need the controls or anything, just to programatically read the NI USB-4065 USB key values when I need the application.

    Any help would be appreciated. Thank you.

    Yes, you can have several NI 4065 DMM in your system. When you use the API OR-DMM, you open the handles separately for each DMM by using its name. His name can be configured inside the measurement and Automation Explorer (MAX).

    In addition, you can go ahead and install OR DMM today. It is downloadable for free on ni.com. NOR-DMM (and most of the pilots NOR) supports the simulation. You go to MAX and create your simulated three 4065 s. Then you can start writing your program now. Since these devices are simulated, they will not return the real tensions (obviously) and that it won't react realistic hardware triggers if you use (obviously), but they are pretty close to the real deal to allow you to write a lot of code and become familiar with the API. No need to wait until you get the material - you can be really ready for it by using the simulation.

  • Scatter chart: get the value of the label XYcursor

    Measurement Studio Visual Studio Professional 2012 2013 using,.

    On a scatter chart, it is possible to get the value of the actual label for a xycursor?

    For example, my label displays a date-time on the X axis format, it looks like: [04: 35:49; 0,27101]

    It is possible to get this value? For example, if I want to display in a TextBox?

    I am able to get the xycursor. Which and xycursorYposition but not what I want.

    Thanks for any help!

    Here is a solution to my question:

    {

    Get xy cursor index of the point in plot
    int index = xyCursor1.GetCurrentIndex ();

    Get values at that time (in the plot)
    Double x;
    Double y;
    scatterGraph.Plots [0]. GetDataPoint (index, ByRef x, y);

    X value to the DateTime format & convert to the format of the time
    DateTime t = (DateTime) NationalInstruments.DataConverter.Convert (x, typeof (DateTime));

    string time = t.ToString("hh:mm:ss");

    }

    It is also possible for which xycursor and convert it in the same way.

  • [.ini files] Get the value of multiple labels with the same name

    Hello!

    In an ini.files, I need to get the value of each tag named in a certain way in a section, but unfortunately, I have 3 or 4 tags with the same name in several sections. I don't know how to retrieve these values, the program always consider that the first tag and not others, I tried to remove each tag after obtaining its values, that he did not.

    Does anyone have an idea to solve the problem?

    Thank you!

    As you can read in my last post, you must read and throw 'x' lines:

    OpenFile)

    Skip lines

    for (i = 0; i< x;="" i++)="" readline="">

    Start reading the useful lines

    ReadLine () / / read a line

    ... / / Interpret the line

    Don't forget to add a control during i/o operations of robust error and to check the end of the file.

  • How to get the value of DST?

    Hello

    Is there a shortcut to get the value of DST? For example, if the device is in London (for example), while I get back to London DST (+ 2, for example). And if the time zone is not DST, it returns 0 or null.

    I use it now

        int DST = TimeZone.getDefault().getOffset(1, rightnow.get(Calendar.YEAR), rightnow.get(Calendar.MONTH), rightnow.get(Calendar.DAY_OF_MONTH), rightnow.get(Calendar.DAY_OF_WEEK), rightnow.get(Calendar.MILLISECOND));
    

    It does not return the correct value. Thank you!

  • How to get the value of an editField on onUnfocus()

    I want to check the value of an editfield on focusout/focusouthandler(), how to get the value in the onUnfocus() method?

    getText

  • How to get the value of the TextField on Buton FieldChangeListener

    friends I am new on the development of blackberry applications could you please help me how to get the value of text I typed in the textField when I click the button?

    constructor

    public Dialogs()
    {
      
    using design in the same screen
      
    Display display = new MainScreen();
      
    ButtonField btnPress = new ButtonField();
    btnPress.setLabel ("press me");
    btnPress.setChangeListener (ButtonPressListener);
      
    TxtValue TextField = new TextField();
    txtvalue.setLabel ("enter something :");
      
    HFM VerticalFieldManager = new VerticalFieldManager (VerticalFieldManager.FIELD_VCENTER);
    HFM. Add (txtValue);
    HFM. Add (btnPress);
      
    mainScreen.add (hfm);
    pushScreen (mainScreen);
      
      
    }

    FieldChangeListener ButtonPressListener = new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
        
           
    Dialog.Alert (t.GetText ());
         
         
         
    }
    };

    any help would be appreciated.

    You must ensure that your FieldChangeListener has access to the object of txtvalue, while it can make a

    String inputString = txtvalue.getText ();

  • How to get the value of a column in sql query?

    Hi, anyone knows how to get the value of a column in sql query?

    Here is my code, the value must be 1350079224397 in my PB, but I get 0

    QString query ("SELECT version FROM db_version");

    QVariant result = sda.execute (query);
    QVariantMap versionMap = result.toList () such () .toMap ();
    If (! versionMap.IsEmpty ())
    {
    qDebug()<"Version: "=""><>
    }

    OK, I have the solution

    QString query ("SELECT version as version FROM db_version");

  • get the value of entry to screen addresscontact

    Now, I get a request, that need to get the input value, when the user types in the contactscreen.

    I made this function in the form of dia. But in touch sreen, when I debug, I see that this only suply only a default manager, who have that one field which is a subclass of ListField, but it didn't provide any method to get the value of line or data.

    someone at - it a good idea, it's really confused me.

    Thank you

    Thanks for your reply stone.

    Now, I have solved this problem, there is a delegated manager which can to be obtained by the getDelegate() method. She take the field, I really want to. The BB help document is not convenient that the google android platform.

  • Get the value of point of contact OFA

    Hi guys,.

    I am new to oaf, so this may seem like a very novice question. I tried several things, but could not solve it.

    There is an advancedtable region in my page. The first column of the advanced table has been put to contain elements of binding while the rest of the columns are messagestyledtext. The advancedtable would be filled with a few details of the item with the first column is the item number. The requirement is to fill in the details of article on click in the item number which essentially appear as hyperlinks.

    I try to get the number of the first column.

    pageContext.getParameter ("itemnumber");    ['itemnumber' is the ID of the binding inside the column inside the advancedtable element]

    This returns null, so I can't get the item number. Can someone please help me solve this?

    Thank you

    Sasmas

    You can see the bottom of thread for "the line being returned as null Reference".

    https://community.Oracle.com/thread/581600

    As an alternative, you can add parameters, p_item_num to the PPR method with value in the form ${oa.current.ItemNumber} (if the number represents the VO attribute name)

    In the processFormRequest, get the value using "pageContext.getParameter ("p_item_num")"

    Therefore, the code will be

     public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            super.processFormRequest(pageContext, webBean);
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            String event = pageContext.getParameter("event");
            if ("itemLinkClicked").equals(event)) {
            {
                   String itemNumber = pageContext.getParameter("p_item_num");
    
                    Serializable[] parameters = { itemNumber };
                    am.invokeMethod("fetchItemDetails", parameters);  
    
            }
        }
    

    Thank you

  • How to get the value of the property and the hierarchy specified in a global property, by javascripts

    Hi DRM team:

    I want to get a property value and precise when the hierarchy from. So, I thought that LocalNodeObjects method GetReferenceInHier (hierAbbrev), but the question is coming, I'm working on a global property, node. GetReferenceInHier (hierAbbrev) is not available. How can I get the value of the specified node hierarchy?

    Thanks for any response.

    Jim

    Hi Jim.cyciopes

    Try this-

    var worm is node. Version;

    var hier_ref = worm. HierByAbbrev ("name of your hierarchy");

    var node_ref is hier_ref. NodeByAbbrev (node. ABBREV);

    {if(node_ref!=null)}

    var propval is node_ref. VarValeurProp ("YourPropertyName");

    }

    Return propval;

    Thank you

    Denzz

  • Cannot get the value of the session variable (using row wise initialization).

    Hi all

    I have a scenario where I'm trying to get the value of the variable session of two columns.

    Table of database consists of the name of USER, Country_Region, columns Country_SubRegion.

    For example: ChadraKanth, Americas, America West is the data.

    I wrote a Sql query in the block of session initialization:

    Select "CR", Country_Region, Country_SubRegion

    of row_wise_init

    where USERID = ": the USER"

    When I test the RPD code gives the result like this:

    CR WesternAmerica of Americas.

    In my report I have two columns, a region and an another subregion.

    When I try to filter with the session variable "CR" for the column region his error giving: session variable is not initialized with

    This is the default.

    Question:

    1. session variable is contains several values in the column?

    2. how to filter the report on columns of region and sub region?

    Please suggest me.

    Kind regards

    Chandra Khalil.

    Hello

    A session variable cannot store more than one column, 1 variable = 1 value (column 1), horizontal initialization allows to store several lines, multiple values in the same variable.

    If to a user, you have several lines with multiple values, you need horizontal initialization, but it cannot store in the variable the value of the region and subregion.

  • How to get the value of the interactive report into apex 5 column

    Hello

    I want to create the master detail report with ajax.

    If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.

    Then use the elements of value to refresh the details report.

    You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?

    Hi SYSMAN2007,

    SYSMAN2007 wrote:

    I want to create the master detail report with ajax.

    If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.

    Then use the elements of value to refresh the details report.

    You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?

    You can do this with the help of dynamic action. You need to get the value of the column of a line click in IR (using jQuery) and set the value to the elements which, in turn, can be used as a filter to other reports on the same page.

    See: How to use the values in the columns of an interactive report (Apex 5)

    Can you reproduce your problem on apex.oracle.com and share the credentials of the workspace, so that I can demonstrate how this can be achieved.

    See an example of how it can be done with dynamic actions: https://apex.oracle.com/pls/apex/f?p=35467:5

    Kind regards

    Kiran

  • Get the value of ElectronicShippingGroup

    Hi all

    The email value in the electronic shipping in handleAddSoftGoodToOrder group. code like this.

    ESG ElectronicShippingGroup = (ElectronicShippingGroup) this.getShippingGroup ();

    esg.setShipOnDate (sdformat.parse (deliveryDate));

    esg.setSpecialInstructions (giftmsgData);

    esg.setEmailAddress (getSoftGoodRecipientEmailAddress ());

    How can I get the value of this email in another class (CyberSourceBillingInfoFormHandler.java). or I can get it to Order object?

    what I tried,

    Research ElectronicShippingGroup component in dyn/admin. but isn't there. so I can't inject and get that.



    Thank you

    KKM.


    -you need to get ShippingGroups of command

    -iterate over shippingGroups

    -Si ShippingGroup is instanceof ElectronicShippingGroup

    -then getEmailAddress()

  • Get the value in the selection of message

    I need to read a value from a choice of message and when a button is clicked an event is triggered.

    I've coded this way but I can't get the value of the choice of the message.

    If (("ApplyBTN".equals (source)) & & (!)) » ». {Equals (source)))}

    OAMessageChoiceBean = dropDownAction

    WebBean.findChildRecursive ("DropDownList") (OAMessageChoiceBean);

    String valueSelected = dropDownAction.getSelectionText (pageContext);

    String valueSelected1 = (String) dropDownAction.getValue (pageContext);

    System.out.println ("valueSelected" + valueSelected);

    System.out.println ("valueSelected1" + valueSelected1);

    }

    Varun,

    In addition, for the choice of message, you can try the options below:

    1 try this code:

    String selValue = (String)pageContext.getParameter("DropDownList");
    

    2. for a choice of message, you need not specify pickListViewDef and pickListViewName. So just delete the pickListViewName.

    
    

    3. is there a particular reason that you have associated with the View object for this? If you do not need this to eliminate viewName and viewAttr also.

    
    

    See you soon

    AJ

Maybe you are looking for