Update EO attributes when the corresponding VO atttibutes are calculated

Hi All,
An existing VO on an existing PLSQL EO when opened in Editor displays the EO table attribute fields (attribute1 - 15) as calculated. The corresponding ViewAttribute(s) in VO XML definition do not refer to the EO Attributes.
We need to pass table attribute fields to the PLSQL API (setting the EO attributes will suffice since EO attributes are input to PLSQL API) so that they also get updated in the DB call. Setting the VO attributes does not help (probably because no mapping between VO and EO attributes). If we set these table attributes directly in the DB (via a seperate DB call), the EO PLSQL API execution resets these attributes to the old values.
Please let me know if a solution exists.
Thanks and Regards
Harjan

Hi Steve
Thanks for the reply and apologies for my tardy follow-up.
2 comments following your post:
1) In the returnListener backing method I added your EL helper to set the binding directly:
public void returnDialog(ReturnEvent returnEvent) {
  String eventNoStr = (String)returnEvent.getReturnValue();
  // eventNo.setSubmittedValue(null);
  // eventNo.setValue(eventNoStr);
  EL.set("#{bindings.EventNo.inputValue}", eventNoStr);
  // AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
  // adfContext.addPartialTarget(eventNo);
  // adfContext.partialUpdateNotify(eventNo);
}If I don't include the commented out lines, the fk field is not updated on the screen, nor after a submit. I understand where you're coming from with your EL helper routine here and would have expected this to update the binding at minimum (visible after a submit). Obviously as this isn't updated, the other fk fields aren't either.
2) I've seen the ADF SRDemo approach and not a big fan as the LOV screen and pageDef through the inclusion of the calling page's iterator is not generic. This implies a LOV screen cannot be re-used across several locations in your app as it needs the hardcoded iterator from the previous screen.
Ideally the launchListener on the calling page could pass in the EL binding string to update, and the closeDialog call on the LOV could update this setting. The other fk fields would then automagically be updated in the calling screen. I tried getting your EL helper routine to set the binding directly via EL.set("#{data.editEventBookingsPageDef.EventNo.inputValue", value); in the closeDialog routine, but no luck.
Any suggestions?
Thanks for your assistance,
CM.

Similar Messages

  • HT1414 hi everyone , having trouble with restoring my iphone, i did follow the step untul extracting the update software but when the iphone start to restoring my iPhone always turn off and it say Error 21 on my PC monitor ...please help me icannot get my

    hi everyone , having trouble with restoring my iphone, i did follow the step untul extracting the update software but when the iphone start to restoring my iPhone always turn off and it say Error 21 on my PC monitor ...please help me i cannot get my iPhone turn on

    Error 20, 21, 23, 26, 28, 29, 34, 36, 37, 40
    These errors typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.

  • Microsoft Office 2011 no longer opens because "there is a problem" after updating mountain lion when the app store said there was an update available this morning. Reinstalling did not work. What's the problem?

    Microsoft Office 2011 no longer opens because "there is a problem" after updating mountain lion when the app store said there was an update available this morning. Reinstalling did not work. What's the problem?

    Has your problem been solved by the updates??
    Have a similar problem. This MacBook opened all MS Office programs in Dec2012 but no longer does in Feb2013. Went to Microsoft/mac/downloads but none of the three updates would run citing a problem "version of software needed to run this update was not found on this volume".
    MacBook: 7.1, Intel Core 2 Duo, 2.4 GHz
    Microsoft Office 2011:  version 14.2.3
    Mountain Lion: 10.8.2 (12C60)

  • I want the system automatic update my UDFs when the OnHand was changed.

    I added two UDFs in table OITW to count the warehouse OnHand by CASES and Bottles. I want the system automatic update my UDFs when the OnHand was changed.  Is there any way I can do it in database level instead in the application (too much places involved).

    There is few ways how to do this:
    - triger as David said, but I dont recomend it through SAP policy
    - in stored procedure transaction notification  by adding or updating document update your user field
    - create job in SQL server which in specific interval recalculate the changes of onhand and update your user defined field
    - create addon which will be over functiuonalities which may change the onhand value
    I think that from SAP is possible only Addon, but the easist way is trigger and if you dont need it just in time but for example every 10 seccond, the better is job which cannot fail the standard SBO transaction (triger may and may be unsafe).
    Hope it helps
    Petr

  • Make a JScrollBar only update its JScrollPane when the user releases it?

    Hi
    I have a JTable inside a JScrollpane. The JTable gets its data from my TableModel using the getValueAt method in the normal way. It is almost working fine. The one thing left to improve is that I don�t want the JTable to keep trying to get its data while the scrollbar is still being dragged. This is primarily because the latency in fetching the data makes the UI unresponsive - the table model does not keep all rows in memory at one time, but keeps a page of data in memory.
    So, just to clarify, I want the behaviour to be that when the user is still adjusting the value of the scroll bar, the thumb position of the scroll bar moves, but the rows displayed in the JTable do not update. When the user releases the scrollbar, the rows should then update.
    I have almost acheived this by having a second, independent scroll bar on the frame, and an adjustment listener listening for events, like this
    public void adjustmentValueChanged(AdjustmentEvent e){
    if (e.getSource() == scrManual){
    if (!scrManual.getValueIsAdjusting()){
      JScrollBar scrTable = scrPaneResults.getVerticalScrollBar();
    int iManValue = scrManual.getValue();
    int iManMax = scrManual.getMaximum();
    float fManWhere = (float)iManValue / (float)iManMax;
    int iTblMax = scrTable.getMaximum();
    int iTblNewValue = (int)(iTblMax * fManWhere);
      scrTable.setValue(iTblNewValue);
    else
    throw new IllegalArgumentException("I don't know how to handle the adjustment event for " + e.getSource());
    }This is actually working fine, except that I don't want there to be two scrollbars - one in the scroll pane and one extra one. But when I try to make the scrollpane's scrollbar invisible, it remains visible.
    Can anyone tell me either
    (a) how to just have a normal JScrollPane scrollbar, but have it only update its viewport when the value is no longer adjusting (ie scrollbar has been released)
    (b) how to make the JScrollPane's scrollbar still effective, but invisible.
    (c) if the JScrollPane has a no scrollbars policy, how to instead in the code I posted above, set the ScrollPane's position directly.
    Whichever is easiest.
    Thanks for your help
    Mark

    Oh how embarassing! I already asked this question before, and answered it myself! Sorry - I think I am losing the plot
    I�ve hacked it. Turns out that the jScrollPane has a getXXXScrollBar method, which even when you�ve hidden the scrollbars, still works. You just use another scroll bar, register a listener for the mouse released event, and update the jScrollPane�s scroll bar to match the value.

  • How can i fix a clip when the video and audio are not matching up?

    How can i fix a clip when the video and audio are not matching up? I imported the video from a junkdrive in a .VOB format and concerted to a .mov the videos were filmed on a miniDVD recorder.

    I would try detaching the audio and the dragging the audio to the left or right until it lines up.

  • Just updated to iPhoto 2011; the source list icons are NOT in colour as shown - Should they be? (bit boring in grey!)

    Just updated to iPhoto 2011; the source list icons are NOT in colour as shown - Should they be? (grey icons very boring!)

    That is one of the changes to iPhoto '11
    It is not an option - suggest to Apple - iPhoto menu ==> provide iPhoto feedback
    LN

  • How to update a chart when the array is updated

    Hi I am using an array to populate a chart in FB3 and having trouble updating the chart when the array is updated.
    Chart
             <mx:Label id="archiveTitle" x="10" y="10" text="Current Archive " fontSize="14" fontWeight="bold"/>
             <mx:PieChart id="chart" height="130" width="300" color="0x323232"
                showDataTips="false" dataProvider="{ratingAC}"  y="22">
                 <mx:series>
                    <mx:PieSeries field="Rating"/>
                </mx:series>
            </mx:PieChart>
    Array + Vars
             [Bindable]
             public var newsDB:ArrayCollection = mx.core.Application.application.newsDB as ArrayCollection;
             [Bindable]
             private var positive:int = 1;
             [Bindable]
             private var neutral:int = 0;
             [Bindable]
             private var negative:int = 0;
             [Bindable]
             private var ratingAC:ArrayCollection = new ArrayCollection([
             { Rating: 1 },  // no data
             { Rating: positive }, // [0] positive
             { Rating: neutral }, // [1] neutral
             { Rating: negative }  // [2] negative
            private function init():void{
                   buildChart();
                   newsDB.addEventListener(CollectionEvent.COLLECTION_CHANGE, test);
                   newsDB.addEventListener(CollectionEvent.COLLECTION_CHANGE, buildChart);
            private function test(e:CollectionEvent):void{
                 trace("array changed");
                 positive = 20
            private function buildChart(e:CollectionEvent=null):void{
                 for(var i:int; i<newsDB.length; i++){
                      if(newsDB[i].rateItem == 0){
                           trace(positive);
                           positive += 1;
                           //ratingAC.setItemAt(positive,0);
                           trace(positive);
                      if(newsDB[i].rateItem == 1){
                           neutral += 1;
                      if(newsDB[i].rateItem == 2){
                           negative += 1;

    Sorry, in my app I have an ArrayCollection of items from a news feed that the user has deemed important, and given each item a rating. The For loop will loop through the "newsDB" array and set the var accordingly (positive, negative, neutral). The variables are what is populating the arrayCollection (ratingAC). How would I either a) bind the variables to the ArrayCollection so that it updates when one has changed, or b) update the specific index in the array collection. When debugging, i notice that the variables are updating, but the arrayCollection is not.
    Thanks in advance!

  • How to Update Extended Attributes For the Users in SRM Organization?

    Hi,
    I am using 'BBP_UPDATE_ATTRIBUTES' function module to load the Default Attributes for the users in a custom program. I am able to update many attributes like company code, Movement type, catalog id, material usage, shop on behalf of and address ship to. But I am having problem updating extended attributes Plants(Attribute ID 'WRK') and Storage Locations (Attribute ID 'LAG').
    Storage location and Plants has many values. Can anyone have experienced this problem before. I appreciate any help I get. I debugged enough and not able to find any other function module to do this.
    Thanks and Regards,
    Sreeni..

    Hi Sreeni,
    I'm stuck up in the same problem. Did you get any solution for this? If yes please provide the same.
    Regards,
    Gajendra
    Message was edited by: Gajendra Bhatt

  • Problem Updating  partner details when the confirmation is created.

    I want to update the partner details when the confirmation is created
    In SRM (non -sus ), Confirmation is created using the function module : bbp_pd_conf_create .
    While creating confirmation, only item wise confirmation details are updated.
    But the partner details of that confirmation is not updated.
    bbp_pd_po_Getdetail is used to get the purchaser order details .
    the same partner details are used in the confirmation create function module .
    the following are the fm  used for the above purpose ,
    BBP_pd_conf_create
    bbp_pd_conf_update
    bbp_pd_conf_save
    What are the details i should change in partner details to get updated. like guid information..
    Please provide some suggestions ...
    Thanks,
    Uma

    In BBP_PD messages
    i can see the header , item  and Stats details .
    What ever value i retreive from PO getdetail fm , i pass it to the partner details while creating confirmation. only item details get updated but not partner details ,
    I think its missing with  the p_guid details. i dont know how to pass value consistently the p_guid value in hte partner when the item details are confirmed.

  • How can I update my Iphone when the update is over 20mb, can this be done in Itune ?

    How can I update an app if the update is over 20 mb. Can this update be done in Itune ?
    An update on Iphone is not possible when it is over 20 mb. and I can't find an update tool in Itune.
    Thanks

    Yes for itunes, or you can update when you on wifi.
    On the left side bar where you see apps click on it then on the bottom you will see check for updates.

  • IOS software update was frozen when the electricity went off and it was disconnected from the wifi connection... my phone is froze into a black page with the apple logo in the center

    IOS software was froze when the electricity went off and it was disconnected from the wifi

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.

  • Update model, even when required field(s) is/are empty

    Hello,
    A rather exotic question. :-) EDIT: using JDEV 11.1.1.4
    Suppose you have a form that consists of inputTexts and some of them are required (required = true). These come from a data control that is based on a BPM Human Task.
    What my customer wants is two buttons: one submit button, and one save button.
    The submit button behaves normally: when a required field is not entered, a validation error is shown.
    The save button on the other hand, will perform a model update without complaining, even though some required fields could be empty. This would be the Save operation on the BPM Data Control: the values that the user entered are saved (in the BPM engine), but the process does not continue. It's like saving a draft version of the fields you entered, so you can continue filling in the form for example the next day.
    How can I achieve this? Where I have gotten so far:
    *) If I do not make the "Save" button "immediate", then the client side validation will keep on complaining about the empty required fields.
    *) If I make the "Save" button "immediate", then the client side validation is skipped. But the Update Model Values phase is also not executed, so values that the user entered are not stored in BPM. Too bad.
    My plan now is making the button immediate, and then overriding page life cycle in case the Save button is pressed. I already created my own implementation of oracle.adf.controller.v2.lifecycle.PagePhaseListener. In the afterPhase() method, I then wanted to check if the current phase is the "Apply request Values" phase (if the button is immediate, then this is the last phase before the "Render Response" phase), and if so, manually call the updateModelValues phase, like this:
        public void afterPhase(PagePhaseEvent pagePhaseEvent) {
            int id = pagePhaseEvent.getPhaseId();
            if(pagePhaseEvent.getPhaseId() == 10 && <user has clicked the SAVE button, not the Submit button>){ // APPLY REQ VALUES
              LifecycleContext ctx = pagePhaseEvent.getLifecycleContext().getCurrentInstance();
              ctx.getPageController().processUpdateModel(ctx);
        }The <user has clicked the SAVE button, not the Submit button> condition will be done through a variable on session scope that is set to true/false depending on the button (save or submit) that was pressed, by using a setActionListener on that button.
    Unfortunately, the model is still not updated and I'm kind of stuck... Can anyone help me?
    Am I barking up the wrong tree and can this be done a lot easier, or what am I missing?
    Thanks a lot!
    Edited by: user13805808 on Jan 31, 2011 6:29 AM

    Hello Frank,
    Thanks for your quick reply.
    The application is actually a bounded task flow that is based on a human task. So after selecting the human task, JDev automatically creates a task flow, and the Data Controls required to show, update, reject, approve, ... the task.
    What I do next is drag & drop the payload of the task from the Data Control Palette to my page, and I create buttons for all the necessary operations (such as approve, reject, ...), also from the Data Control Palette. If you then deploy the application, it is automatically associated with the human task, and the page is shown in the Worklist application after selecting an instance of the task.
    The operation that I am interested in is called "update", which basically, through the ADF Data Control and ADF model, sends the updated fields back to the BPM engine and saves the updated fields there (in memory, or in the DB, I don't know, but this doesn't matter). This operation is provided by default when creating a task flow based on a human task, and works perfectly if there are no required fields, or if all required fields are submitted. So "temporarily" saving the fields is not the issue.
    What I want to achieve now, is have some fields that are required when the user clicks "approve" (one of the basic operations on a task), but optional with the user clicks "update" (another basic operation of a task). Approve would make the process itself continue and the task would no longer be assigned to the user. Update on the other hand would just update the payload in the BPM engine, but the task remains assigned to the user and the process doesn't continue. So if the user logs in at some point later in time, this task (with updated fields) will still be available in his inbox.
    The first thing I noticed is that client side validation cannot be disabled anymore in ADF 11g, so the "update" button has to be set to immediate to avoid the validation of the required fields at client side. But if the "update" button is immedate, then the update model values phase in the page life cycle is skipped, so the data that the user entered is never submitted to BPM. Whereas if I set the "update" button to immedate="false", this works just fine. If all required fields are entered, that is. :-)
    So - in my opinion - there would be 2 possible approaches if there are fields that should be required for the "approve" operation and optional for the "update" operation.
    - Disable the client side validation and don't set the update button to immediate
    - Make the "update" button immediate, but force the lifecycle to still perform Update Model Values, if the "update" button is used
    The second approach would be the cleanest, but I'm unable to figure out how to do this... I'm a little bit lost in all the classes that are available. :-)
    I hope this clarifies my problem...
    Regards,
    Chris
    Edited by: ChrisSchryvers on Feb 1, 2011 4:21 AM

  • What are the ports required for the Audio, Video and A/V conferencing when the following end points are enabled for QoS in Lync 2013 server?

    Hi All,
    What are the ports required for the Audio, Video and A/V conferencing when the following clients are enabled for QoS in Lync 2013 server?
    Client Type
    Port range  and Protocol required for Audio
    Port range and Protocol required for
    Video
    Port range and Protocol required for
    A/Vconferencing
    Windows Desktop   Client
    Windows mobile App
    Iphone
    Ipad
    Andriod phone
    Andriod Tablet
    MAC desktop client
    Please advise. Many Thanks.

    Out of the box, 1024-65535 for all of the client ports.  :) 
    https://technet.microsoft.com/en-us/library/gg398833.aspx
    You'll want to tune your client ports a bit
    https://technet.microsoft.com/en-us/library/jj204760.aspx as seen here, and then the client ports would use those ranges which is easier to set QoS markings.  I'm not sure the mobile clients respect that setting.
    Elan's got the best writeup for Windows clients here:
    http://www.shudnow.net/2013/02/16/enabling-qos-for-lync-server-2013-and-various-clients-part-1/
    However, the marking of the packets is the tricky part.  Windows can do it via Group Policy, but for the other clients you'll need to have the network specifically prioritize ports regardless of DSCP markings.  You have to do it based on ports
    as the traffic could be peer to peer.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Issue with web part connections : won't display data when the lookup field is a calculated field

    Hello,
    I have a list A with a calculated field named A.A. I have a list B that has a lookup field to list A, to field A.A, named B.A. I add the two lists in a wiki page and I try to connect them - I.E., select a row from A and the rows from B would be automatically
    filtered.
    The B\Connections\get filtered values from A and select Provider:A.A, Consumer B.A doesn't bring any results. If I do the exact opposite: A\Connections\get filtered values from B and select Provider:B.A, Consumer A.A  works fine. But, this is not what
    I want.
    If the A.A isn't calculated field, everything works fine. So, it looks like there's an issue with calculated fields acting as consumers.
    Is this a known issue and are there any know workarounds? A workaround is to abandon calculated field and  use sharepoint designer workflow.
    Thank you
    Christos

    Hi,
    According to your post, my understanding is that you had issues about connecting web parts.
    I try to reproduce the issue, however, everything works well.
    Create a custom list named List A, add a caculated column named A.A(Formula: =Title).
    Create a custom list named List B, add a lookup column named B.A(List A: A.A).
    Create a page and then insert the two list view web parts.
    Edit page, select List B->Connections->Get Filtered Values From List A.
    Then I can filter the List B.
    I recommend to create another caculated column and get filter value form it to check whether it works.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • K9n platinum memory

        I just purchased a k9n platinum  motherboard.Does anyone have any suggestions on memory for this board? I was considering corsair twin 2x1024-5400c4 or  kingston khx5400d2/1g.Also I am not sure if i should go with dual channel or single {does it

  • Is it possible to have different tabs print with different page setups.

    I would like to use specific page setup parameters (under the File menu) for printing from a particular web site, but those parameters do not work well for printing from other web sites. I would like to be able to specify different page setup paramet

  • Problem in Installing R12 on windows xp

    post installation checks failed at installing R12 on windows xp the details are Environment File Database ORACLE_HOME environment file passes instantiated variables test: File = D:\oracle\VIS\db\tech_st\10.2.0\VIS_mzq.env RW-50016: Error: - Apps ORAC

  • How to output the member UDA as a column in Report Script?

    I tagged my account dimension members according to its classification instead of using an attribute dimension. I wanted to use the assigned UDA for data loading purpose (select/reject records in rule file. Please let me know the syntax to show UDA as

  • Fromac ADC to DVI

    hi i bought a formac ADC to DVI adaptor the other day so I can make use of my two displays. I but my spare display has a VGA input so i bought a dvi to vga adaptor and connected this to the ADC to DVI one and thought this would be perfect But........