View selected VO recording different documents! Need help

Hello!

I have serious problem. Do not know how to implement my useCase:

For example, I have 3 tables of cars, bicycles, Documents. Tables of bikes and cars have relationship with 1:many documents.
I created an OT and VO for each table.
Then, I created 3 JSPX forms, one for CarsVO, one for BikesVO and one for DocumentsVO

What I want is: when I leave page cars to Documents then I want to see all documents for the selected car. And if necessary to insert a new document.
I also want to do the same for the bikes. I want to create several Documents jspx pages.

What is the best solution to this problem?

Can I create method that creates necessary assoc and VL between CarsVO and DocumentsVO and BikesVO and DocumentsVO.
Then use this method to go to selected car or bike assigned documents and insert the new document.
Can I do this? If Yes, please tell me how I create the Assoc and VL in java code.

If you have any questions, please let me know!

Best regards, Debuger!

Check this box:
http://ADF-use-cases.googlecode.com/files/MasterDetail1.rar

Tags: Java

Similar Questions

  • Record Type in need help package tests

    Hello

    Please can you help me in the record Type of tests that I defined as:

    I said record Type in the package TEST_PART_PKG

    CREATE OR REPLACE PACKAGE TEST_PART_PKG AS

    TYPE req_line_rec_type () IS RENDERING

    PART_NUMBER VARCHAR2 (100),

    part_line_num NUMBER,

    part_name VARCHAR2 (100),

    part_po_number VARCHAR2 (100),

    un_number NUMBER,

    part_class VARCHAR2 (20).

    part_org_name VARCHAR2 (50));

    TYPE req_line_tbl IS TABLE OF THE req_line_rec_type

    INDEX OF DIRECTORY;

    PROCEDURE update_part_line)

    IN OUT NOCOPY p_req_line_tbl req_line_tbl,

    p_init_msg IN VARCHAR2,

    p_req_line_tbl_out OUT NOCOPY req_line_tbl,

    p_req_line_err_tbl OUT NOCOPY req_line_tbl,

    p_submit_approval IN VARCHAR2,

    x_return_status OUT NOCOPY VARCHAR2,

    x_error_msg OUT NOCOPY VARCHAR2,

    p_commit IN VARCHAR2);

    END;

    I want to test the procedure in the package passing variables but how to approach to it?

    I want to call the procedure packaged using:

    DECLARE

    BEGIN

    TEST_PART_PKG. update_part_line

    END;

    v_req_line_out and v_req_line_err are the parameters, so they do not need initialization, just definition what is the procedure to put something that is.

    We can only guess the purpose of these two parameters. Maybe you need to separate the records updated the destination of those that out wrong for further treatment table and that you are able to present a table of rows to update the destination table, the two parameters must be tables of rows as in general, more a single record can be the source of updated and more than one record can mistake.

    Concerning

    Etbin

  • Find pages with comments/markup in many documents (need help)

    I'm doing a script that will find all pages with comments and annotation (Annotation) for a batch of many documents. Details like which pages have those who must be connected to the console, and the user must be alerted if a document has in fact comments.

    Here is my code: [JavaScript] find Markup - Pastebin.com

    It works perfectly when I run just on a single document, but when I add it to action and run it on a lot, it becomes very little reliable. Some documents with comments are saved with only a few of the comments pages, and others seem to be completely ignored. Any thoughts on what could be the cause?

    Always use the doc.syncAnnotScan method before attempting to retrieve information about the annotations.

  • Need to view daq reads per second but only to record a reading every 10 minutes. I would also like to record the date and time, at the same pace. Need help

    Need to show daq reads per second, but only to record a reading every 10 minutes, need help

    You are also looking to taste to 1 Hz data acquisition?

    My approach would be to use the DAQ acquisition to time your loop display reading each acquisition, then use the loop counter to control the logic of your writing to file.  For 1 Hz and 10 minutes write I would use 'quotient and remainder' I / 600; If rest = 0, then write the data point.

    For the date and time, under Calendar palette use the time get in seconds food a DateTime Format to a string.

  • All my photos are displayed such as BW because somehow I saved a preset to quickly develop and it records in BW.  This is for all of my photos.  Individually, I can cancel their but did need help how to get rid of the pre-selection, so he's going to defau

    All my photos are displayed such as BW because somehow I saved a preset to quickly develop and it records in BW.  This is for all of my photos.  Individually, I can cancel their but need help how to get rid of the preset then all photos of goes to Default or in the shot. Thank you

    Go to the develop module and highlight all the images in the film at the bottom of the screen. Enable automatic synchronization, and then click the reset button. To reset all the images in your camera default settings.

  • Need help with query SQL Inline views + Group

    Hello gurus,

    I would really appreciate your time and effort on this application. I have the following data set.

    Reference_No---Check_Number---Check_Date---description---Invoice_Number---Invoice_Type---Paid_Amount---Vendor_Number
    1234567 11223 - 05/07/2008 -paid for cleaning- 44345563-I-* 20.00 *---19
    1234567 11223 - 05/07/2008 - 44345563 -a--10,00---19 ofbad quality adjustment
    7654321 11223 - 05/07/2008 - setting the last billing cycle - 23543556 - A - 50.00 - 19
    4653456 11223 - 05/07/2008 - paid for cleaning - 35654765 - I - 30, 00-19

    Please ignore '-' added for clarity

    I'm writing a paid_amount based on Reference_No, Check_Number, Payment_Date, Invoice_Number, aggregate query Invoice_Type, Vendor_Number and display description with Invoice_type 'I' when there are multiple records with the same Reference_No, Check_Number, Payment_Date, Invoice_Type, Invoice_Number, Vendor_Number. When there are no more records I want to display the respective Description.

    The query should return the following data set

    Reference_No---Check_Number---Check_Date---description---Invoice_Number---Invoice_Type---Paid_Amount---Vendor_Number
    1234567 11223 - 05/07/2008 -paid for cleaning- 44345563-I-* 10.00 *---19
    7654321 11223 - 05/07/2008 - setting the last billing cycle - 23543556 - A - 50.00 - 19
    4653456 11223 - 05/07/2008 - paid for cleaning - 35654765 - I - 30, 00-19
    Here's my query. I'm a little lost.

    Select b., A.sequence_id, A.check_date, A.check_number, A.invoice_number, A.amount, A.vendor_number
    de)
    Select sequence_id, check_number, check_date, invoice_number, sum (paid_amount) sum, vendor_number
    of the INVOICE
    Sequence_id group check_date, check_number, invoice_number, vendor_number
    ) A, B OF INVOICE
    where A.sequence_id = B.sequence_id


    Thank you
    Nick

    It seems that this is a duplicate thread - correct me if I am wrong in this case->

    Need help with query SQL Inline views + Group

    Kind regards.

    LOULOU.

  • [SOLVED] I need help for Shared Documents and Documents on my computer XP Home

    I need help with my shared Documents and other folders on my computer. I have an administrator account. My son has a limited access account.

    I clicked on the option 'make my private files and folders '.  His file was renamed to Documents now my shared Documents. It's just my account.

    I tried to undo what I did. I tried everything (I mean everything) has proposed to do online.

    First of all, I logged in Safemode administrator account. I went to the Documents folder, and I've added the Administrators group and click full control.

    Then I restored system a few weeks before. Then, I went to http://computers.douglasthrift.net/winxpfaq/#faq3_shared_documents and did everything.

    None of them worked. I did so much, that I don't remember.

    Then, I found that the registry key for the Shared Documents lacked in the MUi cache. @shell32.dll,-21785. I entered, but after I rebooted a few times, he disappeared. I have to hurt... In addition to this. Now I face a different problem. I don't know it is normal but when I login my account and click on

    My computer, I see Documents of my name and the name of my son in addition to Documents (Shared Documents).

    When I save a new file in the My Documents folder, it is automatically created in the folder of Documents of my name, too. I can't delete them because they are system folders. I crossed my registry keys in the MUI cache and discovered that 4 of them did not exist in other accounts.

    @shell32.dll,-21792; 21793; 21794; 21795 (%, etc. of music of % documents). I don't know if I can delete them or not.

    I'm not an expert in computers. I'm sorry that it is very long.  I hope someone can help me. Thank you.

    Hello

    I suggest you follow the troubleshooting steps and check if this solves the problem on your computer.

    Method:

    Ra SFC scan to search for the missing or corrupt files that can cause this problem.

    Of file system (CFS) when checking that all the Windows XP system files are intact and not altered, changed or damaged.

    a. Click Start, click programs, accessories, command prompt principally made.

    b. in the type in the following command prompt window and press ENTER:

    sfc/scannow

    If you are prompted to insert the Windows XP disc, load the disc of Windows XP on the CD drive on your computer.

    Once the scan finished restart your computer and test to see if the problem you are experiencing is resolved or not.

    Reference: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/system_file_checker.mspx?mfr=true

    I hope this information helps. Please get back to us if you have any other questions on this subject.

  • Need help to select the value of the affected line

    Hello! I need help to write a statement Select returns a value of the respective line in a table. I have a table that contains an id and a name of entity and a table of addresses with the lines of address, city, province/state, country, etc, which is linked through the identifier. There may be several lines in this table for any entity id given etc. which are distinguished by a type of address for example Mailing, billing, payment, shipping,. I'm writing a view that returns the name of the entity, the city and the State. I want to use the address of delivery, if it exists, otherwise, I want the broadcast address. One of these types of addresses will still exist, and it is possible that both will exist. I'm just back to SQL after a prolonged absence and am not familiar with some of the new features. I'm also new to the Oracle community. We are on Oracle 11.2. Any help would be greatly appreciated. Thank you!!

    P.S. I posted this question a couple of weeks and got some responses. But I can't find the post. I thought I posted it here, but who knows! As I said, I'm new on this.

    Hello

    Here is an example of how to join another table to results of Top - N all:

    WITH got_r_num AS

    (

    SELECT deptno, job, ename, sal, hiredate

    Rank () OVER (PARTITION BY deptno

    CONTROL OF CASE work

    WHEN PRESIDENT", THEN"A ".

    WHEN 'MANAGER' THEN 'B '.

    END

    ) AS r_num

    FROM scott.emp

    WHERE job IN ('MANAGER', 'PRÉSIDENT')

    )

    SELECT d.deptno, d.dname

    r.ename, r.job, r.sal, r.hiredate

    Got_r_num r

    JOIN scott.dept d.deptno d = r.deptno

    WHERE r.r_num = 1

    ORDER BY d.deptno

    ;

  • Need help with Oracle SQL merge records according to date and term dates

    Hi all

    I need help to find this little challenge.

    I have groups and flags and effective dashboards and dates of term against these indicators according to the following example:

    GroupName Flag_A Flag_B Eff_date Term_date
    Group_ATHERETHERE2011010199991231
    Group_ANN2010010120101231
    Group_ANN2009010120091231
    Group_ANN2006010120081231
    Group_ANTHERE2004010120051231
    Group_ATHERETHERE2003010120031231
    Group_BNTHERE2004010199991231
    Group_BNTHERE2003010120031231

    As you can see, group_A had the same combination of (N, N) flag for three successive periods. I want to merge all the time periods with the same indicators in one. Where entry into force will be the most early (underlined) time period and end date will be later (underlined)

    So the final result should look like this:

    GroupName Flag_A Flag_B Eff_date Term_date
    Group_ATHERETHERE2011010199991231
    Group_ANN2006010120101231
    Group_ANTHERE2004010120051231
    Group_ATHERETHERE2003010120031231
    Group_BNTHERE2003010199991231

    Thanks for your help

    Here's the DDL script

    drop table TMP_group_test;

    create table TMP_group_test (groupname varchar2 (8))

    , flag_a varchar2 (1)

    , flag_b varchar2 (1)

    , eff_date varchar2 (8)

    , term_date varchar2 (8)

    );

    insert into TMP_group_test values ('Group_A', 'Y', 'Y', ' 20110101 ', ' 99991231');

    insert into TMP_group_test values ('Group_A', 'n', ' n ', ' 20100101 ', ' 20101231');

    insert into TMP_group_test values ('Group_A', 'n', ' n ', ' 20090101 ', ' 20091231');

    insert into TMP_group_test values ('Group_A', 'n', ' n ', ' 20060101 ', ' 20081231');

    insert into TMP_group_test values ('Group_A', 'n', 'Y', ' 20040101 ', ' 20051231');

    insert into TMP_group_test values ('Group_A', 'Y', 'Y', ' 20030101 ', ' 20031231');

    insert into TMP_group_test values ('Group_B', 'n', 'Y', ' 20040101 ', ' 99991231');

    insert into TMP_group_test values ('Group_B', 'n', 'Y', ' 20030101 ', ' 20031231');

    commit;

    Post edited by: user13040446

    It is the closest, I went to the solution


    I create two rows;

    Rnk1: partition by group name, order of eff_date / / desc: this grade will sort the records of the most recent and handed to zero for each group\

    Rnk2: (dense) partition by group name, flag_A, flagb: this grade for each combination of group\flag gives a number so that they are classified as "families".

    Then I use the function analytic min

    Min (eff_date) more (partition of GroupName, rnk2): the idea is that, for each Member of the same family, the new date is the min of the family (and the max for the date of the term), at the end I just need separate so that the duplicates are gone

    Now the problem. As you can see from the query below, records of 1 and 6 (as identified by rownum) are identified in the same family, because they have the same combination of flag, but they are not successive, so everyone must keep its own date of entry into force.

    If only I can make the distinction between these two that would solve my problem


    Query:


    Select rowNum,GroupName, flag_a, flag_b, eff_date, term_date, rnk1, rnk2

    , min (eff_date) more than (partition by GroupName rnk2( ) min_eff

    Of

    (

    Select rowNum,

    GroupName , flag_a , flag_b , eff_date , term_date

    rank() more than (partition by GroupName stopped by eff_date desc) rnk1

    DENSE_RANK() more than (partition by GroupName order by flag_A flag_B ( ) rnk2

    de dsreports . tmp_group_test

    ) order by rowNum

    Hello

    user13040446 wrote:

    Hi KSI.

    Thanks for your comments, you were able to distinguish between these lines highlight, but lost lines 2,3,4 which are supposed to have the same date min = 20060101.

    Please see the table wanted to see the final result I want to reach

    Thanks again

    This first answer is basically correct, but in the main query, you want to use the function MIN, not the analytical function aggregation and GROUP BY columns with common values, like this:

    WITH got_output_group AS

    (

    SELECT GroupName, flag_a, flag_b, eff_date, term_date

    ROW_NUMBER () OVER (PARTITION BY GroupName

    ORDER BY eff_date

    )

    -ROW_NUMBER () OVER (PARTITION BY GroupName, flag_a, flag_b)

    ORDER BY eff_date

    ) AS output_group

    OF tmp_group_test

    )

    SELECT GroupName, flag_a, flag_b

    MIN (eff_date) AS eff_date

    MAX (term_date) AS term_date

    OF got_output_group

    GROUP BY GroupName, flag_a, flag_b

    output_group

    ORDER BY GroupName

    eff_date DESC

    ;

    The result I get is

    GROUP_NA F F EFF_DATE TERM_DAT

    -------- - - -------- --------

    Group_A Y 20110101 99991231 Y

    N Group_A 20101231 20060101 N

    Group_A N 20051231 20040101 Y

    Group_A Y Y 20031231-20030101

    Group_B N Y 99991231 20030101

    which is what you asked for.

  • Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the

    Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the move tool. They have become a composite of two layers which could be developed further with the mask tool.

    Hello

    Please go to the preferences > workspace and uncheck the option 'open the document in the tabs '.

    Now you can click on file and choose file > open and open the two images in two different windows which can be arranged side by side.

    Thank you

  • Need help with PL/SQL so and then select

    Hello guys, I am new to the PL/SQl programming (only Java experience) and I'm pretty stuck to my task. It would be great if you could help me. I am in programming with Oracle SQL * Plus Version 10.2.0.3.0

    Whenever a user logs on to the server a database entry is created with information about the logged-on user. I need to create a PL/SQL command that selects all the information from last month. Unfortunately, the date_stamp column has a certain weird format: 1131210 for December 10, 2013


    My idea so far:


    DECLARE

    v_today NUMBER;

    BEGIN

    v_today: = TO_NUMBER (TO_CHAR (SYSDATE, 'MM'));       -Save the number of the month (e.g.12) in v_today

    IF v_today = 01 THEN

    SELECT * from audittrl

    WHERE the date_stamp between 1131201 AND the 1131231;

    ELSIF v_today = 02 THEN

    SELECT * from audittrl

    WHERE the date_stamp between the 1130131 AND 1130101;

    .......

    END IF;

    END;

    /

    Error code: "an INTO clause in this SELECT statement.

    I do not want to save the result to select a variable, hope you can help me. Thanks in advance.

    Hello

    6a4d1bcd-c00e-4dac-AB64-9b6bdb1652d1 wrote:

    Thanks, I'll try that, if still get caught once, I'll be back. Anway I'm not sure of the solution of Chris227, because I can't test it right now. From my point of view it gives you information the current month (e.g., December) and not the month previous (-online November), or have I missed something. ?

    You are right.  In addition, it does not for a given year.  If you have data from several years in the table, it will select lines for the month of December 2012, 2011, 2010,... but also of 2013.

    Here's a way to get around that:

    DECLARE

    prev_month_start PLS_INTEGER: = TO_NUMBER (TO_CHAR (ADD_MONTHS (SYSDATE-1)

    , "YYMM"1' "01"

    )

    );

    this_month_start PLS_INTEGER: = TO_NUMBER (TO_CHAR (SYSDATE

    , "YYMM"1' "01"

    )

    );

    BEGIN
    FOR (IN) rec
    SELECT *.
    Of audittrl
    WHERE the date_stamp > = prev_month_start
    AND date_stamp< >
    ORDER BY user_id, date_stamp - or other

    )
    LOOP
    dbms_output.put_line (rec.date_stamp);
    dbms_output.put_line (rec.event);
    dbms_output.put_line (rec.user_id)
    dbms_output.put_line (rec.host_name);
    END LOOP;
    END;

    This should also be more effective, because it will allow the optimizer to use an index on date_stamp.  Even if there is no index, it will be more effective because it avoids calling any function (for example, SUBSTR) on each line of the table.

    You needn't PL/SQL to get these results.  Just use SQL, you might say:

    SELECT event, host_name, user_id and date_stamp
    Of audittrl
    WHERE the date_stamp > = TO_NUMBER (TO_CHAR (ADD_MONTHS (SYSDATE-1)
    , "YYMM"1' "01"
    )
    )
    AND date_stamp<  to_number="" (="" to_char="" (="" sysdate="" to_number="" (="" to_char="" (="">


    , "YYMM"1' "01"
    )
    )

    ORDER BY user_id, date_stamp - or other

    ;

    Your front end will provide column headers and touch the data so that the columns line up.  It can also set the output to a file.  (For example, if your front-end is SQL * Plus, you can use the command of the COIL.)

    I guess date_stamp is a NUMBER.  If it is a string, the solutions above can be simplified a bit.

    This problem (and many other problems) would be so much simpler if date_stamp was a DATE column.  Using numbers or strings to store the date information is simply asking for trouble.

  • I still need help with a thumbnail view in video files Real Player XP sp 3

    I still need help with thumbnail view in video files Real Player XP sp 3-Help! Help! Help!

    You will need to contact the support of Real Player, since the problem occurred with their program.

  • BlackBerry Smartphones need help on my record of e-mail on my curve 8520

    Need help

    How to use the same folder email on my blackberry?

    When I change my mobile network and register again my bb email and Setup again with my old email, my bb will make a new folder to store my email.

    How can I change my setting of bb always using my old e-mail folder?

    Thank you

    Yep, moble different suppliers, different accounts BIS BlackBerry Internet Service.

    I don't understand the problem. Look at your main message folder. Press the Menu key > settings for the Inbox, can you choose here what email accounts go to the main folder of Messages?

  • Just upgraded to Ultimate, need help of activation, wants to produce different IDS?

    I've just upgraded to Ultimate, need help of activation, wants the different product ID?

    If upgraded using Anytime Upgrade, which means that the product key is already entered, the only thing you need to do is to activate by phone.

    Activate Windows 7 on this computer:
    http://Windows.Microsoft.com/en-us/Windows7/activate-Windows-7-on-this-computer

  • The specified display list is invalid or points of view have been selected using a different pattern

    Hello Experts,

    I get an error when I perform the aggregation using the aggregation view which was working fine before. We have ASO cube.

    'The list of the specified view is invalid or points of view have been selected using a different scheme'

    No major changes has been (as change the ownership/megaupload type etc).

    No addition of level in one of the dimension.

    Only members are added at the same level

    Please let me know what would cause to become invalid.

    Thank you

    Raja Mohamed

    RajaMohamed wrote:

    The change is only the addition of members at the same level.

    Only way I can see what is possible is if the dimension change your attributes, and where you had already all members, associated with an attribute, you have now a few not associate members.

    Take a good copy of the outline (or restore from backup) and run the MaxL following on the old and the new cubes:

    query database app.db list aso_level_info;
    

    That should show you where the differences are.

Maybe you are looking for

  • K920 and the sd card

    Can this phone have a SD card? What size? The SD card can go to 2nd slot for sim card?

  • About the data of the ComboBox

    HI everyone, I am using COMBOBOX to select which lamp on, but I want to do only once, if I try again the same LAMP Labview will display an error message, is it possible? Thank you

  • Online VLSC does not allow Me to create A Ticket Support to our active SA agreement

    Dear Sir/Madam, I understand that it was entitled to some questions of Technical Support in our advance purchase of our current agreement of ITS active, however as I try to do it on your VLSC site then I can't continue by creating this support reques

  • The echo during calls

    I have problems with my own voice echo to me during calls sometimes. Is it for someone to another expreriencing this?

  • Delete the files from my printer

    Hello I want to make my printer (Photosmart Premium C310all-in-one) to the trash. But there has been rumors lately, hackers can retrieve scanned documents or print files. I don't want anyone to get their hands on my private affairs. Is it possible to