UIX: flow of a record in other views

Hi,
I have a view called CustomerView1 with a subview ProjectView2:
-CustomerView1
|_ProjectView2
-ProjectView1
When I select a customer, all the projects that belongs this customer apears in a Master-detail (one to many). When I want to create a new project for this customer, I am using the input_form of ProjectView1 and I want that the customerID apears in the input_form. How do I get that?
I hope to hear from you.

try,
projectView2.setAssociationConsistent(true);

Similar Messages

  • Keep the record in the view object if deletion failed.

    I have a view object which is based on the entity object, when I am trying to delete a row it failed because it has a child record associate with. I know the row is not delete from the database, but the record is deleted fromt the view.
    How to keep the record in the View object if delete failed?

    Hi,
    the row is not delete from the database,refresh the view . re-execute query and the view show the row

  • Compare two records within a view

    Hi,
    I wonder if it is possible to compare two or more records within a view, and how to do it.
    Thanks in advance.

    M. Comi wrote:
    I wanted to compare two records of the view and see if they are the same or not...
    My data are as follows:
    Soglia Ingresso_CL_PF     10     10
    Downgrade MDP 3     2102     2101
    I want to check if the "downgrade" records have the same values for the second and the third column, and in this case replace the values on the second record.
    But I did it with a select on the same fields of the original tables, plus two fields obtained with lag function...
    I don't know if it is clear or not, the important is that I got what I wanted.Sorry, it's not clear.
    Are you still having a problem? If so:
    (1) Please describe the problem.
    (2) What results do you want to see from the sample data you posted?
    (3) Is the second column of
    Downgrade MDP 3 2102 2101'Downgrade', 'MDP', 3, 2102, 2101, some combination, or NULL? When posting data, the most helpful thing is to post INSERT (or CREATE TABLE AS ...) statements. The second-best thing is to post formatted data. Type {code} before and after sections where spacing is important, and post column headers.

  • Reg-Flow of delta records

    Hi gurus,
    Any one please explain the flow of delta records from r/3 to bw.I mean flow of records from *base tables(eg VBAK,VBAP) till BW.*
    Thanks.

    Hi,
    There is no specific list, it depends completely on the condition types that have been configured in your system.
    The answer you were given was a good one and gave you as much detail as you could expect.
    If you are having a particular problem or issue then let us know and we will do all that we can to help.
    The easiest way to find out the "list" is to simply click on the "possible entries" tab at the right of the field. !!!!!!!!!!!
    Steve B

  • ADF BC merge records of 2 view objects into third

    jdev 11.1.1.4
    Hi,
    1) how to merge records of 2 view objects into third view object?
    2) how to search inside view object whether the record already exists?
    I want to do this in AMImpl programmatically.

    hi I find that I can use something as below but it will check for each row at a time.
    String exp = "student_id=" + "'" + studentId.getValue() + "'" + " and " +
    "pass_word=" + "'" + password.getValue() + "'";
    vo.setWhereClause(exp);
    so if there are 10 records(to compare) i have to loop it 10 times(with company id and order id in exp) which i will be getting from some view.
    and have to execute query 10 times so i don't think this is a efficient approach.

  • When I click on a file to view in Finder in the view as columns, Finder stops responding.  If I use Finder in any of the other views, I don't have an issue.

    When I go to finder and view as columns so that the right column will open a preview of the file, I get the endless spinning graphic and when I go to Force Quit, it shows that Finder has stopped responding.  When I use Finder in any other view mode, I don't have that issue.  This just started today.  As far as I know, I haven't done any updates today that would cause the issue.  I've restarted a few times.  I'm running 10.10 on iMac (27-inch, Mid 2011).  I when to updates in the App Store and saw there was an update for 10.10.1 and tried to run it twice now.  It starts to install and says I have 7 minutes left and then at about 3 minutes, it just opens all my windows again and acts normally.  When I go to "About this mac", I'm still showing 10.10 as the OS.  Also, in the App Store, when I click on updates, it shows me 4 updates that I've already installed as ready to install.  Not really sure what's going on nor why all the sudden this is an issue, but I use the preview mode in Finder all the time so I would love a fix for this.  I've tried logging out and logging in as another user and the same issue with Finder happens with other users as well.  I've emptied my trash bin as well. 

    Step one is to log into a newly created admin user account and see if the problem persists.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • How to Restore deleted records in other table in oracle database 10g...

    Hi All,
    i want to restore deleted records of a particular table in other table
    suppose:
    i perform a query
    delete from emp
    where deptno =30;
    now i wont to restore deptno=30 records in other table, let say in emp1 table
    can any one let me know how to do it?
    Thanks..

    This is what flashback query is for:
    orclz> conn scott/tiger
    Connected.
    orclz> select count(*) from emp;
      COUNT(*)
            14
    orclz> delete from emp where deptno=30;
    6 rows deleted.
    orclz> commit;
    Commit complete.
    orclz> create table deleted30 as select * from emp as of timestamp(systimestamp - 5/1440) where deptno=30;
    Table created.
    orclz> select count(*) from deleted30;
      COUNT(*)
             6
    orclz>

  • ICal month view some events shown only as ..., they show correctly in other views.

    iCal month view some events shown only as ..., they show correctly in other views.

    This is so utterly annoying- I never had this issue with previous versions of iCal, and I can't even run those versions on tiger now that I've upgraded. The tiger upgrade in general has disrupted my workflow much more than I thought it would-
    Because of the way I use iCal, not seeing the full even title in month mode makes iCal pretty much useless to me. I don't want to have to click between dozens of events that begin with "Renders of" to find which set of renderings are due on which days. Nor do I want to go through and rename all of my "Renders of Levels 1a-3c" etc to make the titles more useful. It should just WORK.
    Well, let me know if anyone finds a better way of making this work other than "resizing ad lib until things sorta show up"

  • Action reference in the MAIN view for other Views

    Hi Experts,
    I have created a view(MAIN) that contains SUBMIT button and also included four other views(Using ViewContainerUIElement) in the MAIN view itslef. So am calling the respective view based on some certain condition from MAIN view.
    Now my problem is, am using  check_mandatory_attr_on_view() method which is being called on SUBMIT action from MAIN view of WDDOBEFOREACTION. But it is not checking Required Fields from other views. It checks the Required Fields only in the MAIN view.
    I know that I want to call the reference of other views in MAIN view, but how can I do it?
    Please help me, as how I can check the Required fields on action of SUBMIT button in MAIN view for other views.
    BR,
    RAM.

    Hi,
    Though am in MAIN view, If i clicks the submit button it checks the Required fields on both MAIN and Sub views, where still I have not called the Sub view.
    If you didn't call the sub view, the WDDOINIT method of your sub view wouldn't have been triggered and so the sub view reference is not set in the component controller, isn't it.?
    OR you are calling sub view separately in the initial state and get the reference and then in your MAIN view calling the sub view based on condition in the View Container UI..?
    If so, create an attribute in your Main view (say sub_view_name of type string) and then use the below code to get the current sub view name and then pass the corresponding sub view reference:
    DATA:lr_view_controller    type ref to        IF_WD_VIEW_CONTROLLER,
           lr_main_view_usage  type ref to        IF_WD_RR_VIEW_USAGE.
           lr_vc_assignment      type ref to        IF_WD_RR_VIEW_CNT_ASSIGNMENT.
           lr_view_usage           type ref to        IF_WD_RR_VIEW_USAGE.
           lr_t_views                 type                WDRR_VCA_OBJECTS.
           lr_s_view                  like line of        lr_t_views.
           lr_view                     type ref to        if_wd_rr_view.    
          lr_view_controller = wd_this->wd_get_api( ).
        lr_main_view_usage = lr_view_controller->GET_VIEW_USAGE( ).
       lr_t_views  = lr_main_view_usage->GET_VIEW_CNT_ASSIGNMENTS( ). "This will return all the View Container assignments.
    * Now loop over all the View containers and get the reference of embedding view.
       loop at lr_t_views  into lr_s_view .
          lr_vc_assignment = lr_s_view-VIEW_CNT_ASSIGNMENT.
          lr_view_usage  = lr_vc_assignment->GET_DEFAULT_VIEW_USAGE( ). " This will return view usage reference
          lr_view = lr_view_usage->get_view( ). " This will have the meta info of view
          wd_this->sub_view_name = lr_view->get_name( ).   
       endloop.
    Now in onAction submit,
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller =  lr_view_controller " MAin view reference
    case wd_this->sub_view_name.
    when 'SUB_VIEW1'.
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller = wd_comp_controller->gr_emb_view1.
    when 'SUB_VIEW2'.
    CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
                                  EXPORTING
                                   view_controller = wd_comp_controller->gr_emb_view2.
    Or, alternatively; create all the nodes(of sub views) in component controller, then map all those to MAIN view, then read the required node attributes and validate manually.
    hope this helps u,
    Regards,
    Kiran

  • BC4J,Setting a default Value In a View With Data From An Other View

    hi
    I'm developping A BC4J. I want to set the default value of a field By counting the number of rows in an other view.
    So I want to instanciate the view and execute the sql statement and get the result.
    Is that the right manner to do it or not.
    can someone help me to do that
    cheers
    ghassen

    There's lots of ways to skin this cat depending upon whether you mean "database view" or "view object" when you say "view", and individual requirements.
    Given database views v1 and v2 with a common key between them
    select v1.x, count(*) from v1,v2 where v1.key = v2.key group by v1.x;
    either in the database view or in expert mode for the view object ( I think it'll take group by, but never done it ). ( assumption is that v1.x is a primary key for v1 )...
    Try this from sql*Plus first to get a feel for how this works.
    The catch with the above is that it is "static"... if you can ADD rows to v2 in your application... they aren't visible in the count until saved and requeried.
    Another way ( I think... hopefully Oracle folk will kibitz... )
    Create your own attribute on the view object like "TheOtherCount".
    In the view object's RowImpl, find the "getTheOtherCount". Find the count of rows in the second view object or entity object or rowSetInfo through the method of your choice. ( If you've already set up a master detail relationship that is active you can just get the rowcount! ). Refer to earlier postings on how to get the rowcount, or to create a dynamic view query to get the count.
    The nice thing is that this should reflect your counts even if the second view has added or removed rows... but will probably move like a snail.
    Note that if you have a need where you want the row count updated in a frame for v1 whenever v2 is added to or removed from... well... then you need to set up some sort of event listener to do a redisplay of v1's frame, I'd think? Since the attribute you've created in the view object is not based on an entity object attribute, it has no way to know when it has been "updated" via an additional or removed row from the target.
    I'm posting the above because no one has responded yet... it may form a place to start from. And maybe someone in the know will go "No, No, No... KKirk... it doesn't work that way at all!" and fill us in on how this can be accomplished!
    Good Luck

  • How do i disable orientations for a specific view in my tab bar project without disabling for the other views?

    How do i disable orientations for a specific view in my tab bar project without disabling for the other views?
    Any suggestions?

    Note that you can also hide the tab bar completely with code in the userChrome.css file.
    Add code to the <b>userChrome.css</b> file below the default @namespace line.
    *http://kb.mozillazine.org/userChrome.css
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    #TabsToolbar { display: none !important; }
    </nowiki></pre>
    The customization files userChrome.css (user interface) and userContent.css (websites) are located in the <b>chrome</b> folder in the Firefox profile folder.
    *http://kb.mozillazine.org/Editing_configuration

  • How to watch a live broadcast show while recording two other shows

    If you have a TV with a QAM tuner built in and you use a splitter to connect the cable to the cable/antenna input of your TV while leaving a connection to the DVR, you will be able to watch a broadcast show live while recording two other shows on your DVR.  I tried this and it worked, but the channels I had access to (that seemed to be ones I was interested in) were basically the broadcast channels (in my area 3.1, 6.1, 10.1, 12.1, etc.).  Obviously you don't have access to the other features such as on demand, but it's handy to be able to handle three shows at the same time as long as one is on one of the channels available with the direct connection to your TV.
    Of course, this also provides a way to avoid the cost of additional set top boxes as long as you don't need access to the additional channels features like on demand.
    Bob S.

    OR if you're tv's older and doesn't have the qam tuner, you can hook up a HD antenna for 30 dollars, and if you live in an area that gets reasonable reception, you'll get something similiar to what you describe.
    both are good solutions.

  • Why the placement of repeating frame hide he record of other fields ?

    Hello,
    After creating a data group in Data Model, I place a repeating frame corresponding it the group created.
    But In the presentation of the report, There is records in first line and after space, no records of other columns only data for the column grouped is seen. And too the reality number of pages has increased.
    Why this fact is occured ?
    How to avoid this ?
    Thanks in advance
    Regards.

    Try 2 select the repeating frame by selecting one of the fields in ur group layout then
    e.g
    F_BANK_NAME then select it's parent frame > will select the repeating and adjust it.
    Regards,
    Abdetu...

  • How can I Convert a TeamViewer .tvs recording to other video formats?

    How can I convert a TeamViewer .tvs recording to other video formats in OSX v 10.9?

    This feature does not seem to be implemented in the Mac version.
    You'll have to convert the file using TeamViewer on Windows ;(

  • How to call  a method of one view in other view

    Hi
      could any one suggest "how to call  a method of one view in other view "
    thanks
    kaushik

    Hi Kausic,
    Its not possible to call a method from view to View.
    Since view is private entity we can not pass the data directly.
    I suggest you to declare the method in Component/Custom controller and call.
    the code is,
    wdThis.wdGet<Component/Custom Name>Controller().<methodName>();
    Regards,
    <b>Ramganesan K</b>

Maybe you are looking for