Master with more than one Detail

Hallo,
Does anybody know how to create master with more than one detail. i.e
Employee as a master with the following details
(Dependent, Education, Contract, Job History).
thanks..
Ribhi

Ribhi,
A master detail form typically consist of a master form and a tabular form for the detail records, i.e. you can edit your detail records on the same page as your master record. Since you can only have one tabular form per page, having multiple of these detail tabular forms, won't work. However you could instead create your master-detail form with the option of creating the detail as a read-only report, which would have an edit link on each detail row, that would take you to a form to edit each detail row individually. With this model, you could just add additional reports after the initial creating of the master-detail form.
Regards,
Marc

Similar Messages

  • How to create one master with more than one detail

    Hi
    I am using jdev 11.1.2.1.0
    I want to add more than one detail view object under one master view object in application module
    Please solve this asap
    Thanks

    Hi Frank
    I have 5 view objects (Suppose A,B,C,D,E) and I have created view links between them like
    A->B
    A->C
    A->D
    A->E
    Then I am shuttling views in Application module (In Data model Tab) to create A as master and rest as details.
    But it is not creating as i want.
    I add new instance of view object independently.
    Please solve this
    Thanks
    Edited by: 7668489779 on ३० अप्रैल, २०१२ ४:०७ अपराह्न

  • Master with more than One details

    Dear All,
    i am using Apex 4.2, oracle database 11g R2 and internet explorer 9.
    I have three tables,A,B and C.
    A is master table.
    B and C are details tables for A.
    how could i create a master with 2 details form in such a way that data entry are possible in both the details  ?
    i search internet, but am failed with this.
    kindly guide accordingly.
    Regards.

    hai , please through the link and see the page source code.http://apex.oracle.com/pls/otn/f?p=4550
    application: 32172
    workspace: ram_r&D
    user/password: aramani/apex
    =============
    DB script will be in:
    HomeApplication BuilderApplication 32172Shared ComponentsStatic Files(legal script.sql)

  • More than one Detail table in the Master Detail forms!

    Hi,
    I need to have more than one Detail table in Master Detail Forms.
    I want to see the details of the rows of the first Detail table in the Second Detail table. Please guide me to do this.
    Sincerely yours,
    Mozhdeh

    You can do one of two things
    1) Depends on the nature of your data model. I was able to manage many to many
    relationships using views and instead of triggers. This solution is somewhat complex but can work in certain situations.
    2)Works for situations where master record exists. create a page with mulitple portlets syncronized on some related key.
    create the following package to use on the md forms to place on the one page to be rendered.
    -- this package will facilitate the storage and retrieval of keys used by the related forms.
    create or replace package session_var
    IS
    session_parms portal30.wwsto_api_session;
    g_domain varchar2(2000) := portal30.wwctx_api.get_user;
    function get_id (id in varchar2) return number;
    PROCEDURE SET_ID
    (ID in VARCHAR2
    ,p_val in VARCHAR2
    ,P_URL in VARCHAR2
    END SESSION_VAR;
    create or replace package body session_var
    IS
    --pkg body
    function get_id(id in varchar2) return number is
    l_store_session portal30.wwsto_api_session;
    l_id number;
    begin
    l_store_session := portal30.wwsto_api_session.load_session(
    p_domain => session_var.g_domain,
    p_sub_domain => 'your domain');
    l_id := l_store_session.get_attribute_as_varchar2( p_name => id);
    return l_id;
    end get_id;
    PROCEDURE SET_ID
    (ID in VARCHAR2
    ,p_val in VARCHAR2
    ,P_URL in VARCHAR2
    IS
    l_store_session portal30.wwsto_api_session;
    begin
    l_store_session := portal30.wwsto_api_session.load_session(
    p_domain => session_var.g_domain,
    p_sub_domain => 'your domain');
    l_store_session.set_attribute(
    p_name => id,
    p_value => p_val );
    l_store_session.save_session;
    * Redirect to the page using p_url;
    portal30.wwv_redirect.url(P_URL);
    end set_id;
    END SESSION_VAR;
    --the form master detail form, section  before display page enter the following code and publish as portlet.
    declare
    l_fs varchar2(4000);
    l_s varchar2(4000);
    v_con_id number;
    begin
    v_con_id :=rfq.session_var.get_id('CON_ID'); -- primary key and key used to relate details
    p_session.set_shadow_value( p_block_name => 'MASTER_BLOCK',
    p_attribute_name => 'A_CON_ID', -- attribute on form related to primary key
    p_value => '= '|| v_con_id,
    p_language => portal30.wwctx_api.get_nls_language ,
                   p_index => 1
    l_fs := p_session.get_value_as_varchar2(p_block_name => 'MASTER_BLOCK', p_attribute_name => '_FORM_STATE');
    l_s := p_session.get_value_as_varchar2(p_block_name => 'MASTER_BLOCK', p_attribute_name => '_STATUS');
    if l_fs = 'SAVE' and l_s is null then
    WWV_MASTER_GENSYS_1(p_block_name => p_block_name,
    p_object_name => p_object_name,
    p_instance => p_instance,
    p_event_type => p_event_type,
    p_user_args => p_user_args,
    p_session => p_session);
    p_session.save_session;
    end if;
    if l_fs = 'QUERY_AND_SAVE' and l_s is null then
    WWV_MASTER_GENSYS_1(p_block_name => p_block_name,
    p_object_name => p_object_name,
    p_instance => p_instance,
    p_event_type => p_event_type,
    p_user_args => p_user_args,
    p_session => p_session);
    p_session.save_session;
    end if;
    exception
    when others then
    PORTAL30.wwerr_api_error.add(PORTAL30.wwerr_api_error.DOMAIN_WWV,'app','generic','onLink', p1 => sqlerrm);
    raise;
    end;
    --then create other md forms and publish as portlets in a similar manner.
    -- create a form (form_session_vars) to call procedure session_vars and place the following code in the
    addiontional pl/sql tab
    WWV_GENSYS_1(
    p_block_name => p_block_name ,
    p_object_name => p_object_name,
    p_instance => p_instance ,
    p_event_type => p_event_type ,
    p_user_args => p_user_args ,
    p_session => p_session);
    --then create a page and place the md forms created above as portlets on the page.
    --create a link and target the form_session_vars and in the link target inputs
    enter the values for your user parameters
    id= CON_ID --"your primary key name"
    p_url= url/page/"your_page"
    --finally create a report (QBE or standard).
    in the column formation section use the link created earlier to direct the user to the target page.
    How it works.
    When the link is selected the form_session_Var is called and automatically runs setting the primary key values
    in the user session store. The step is required or the resulting page will not render properly. Then the user is redirected to the page where the portlets are rendered. The portlets start rendering, the before display page calls the session vars package to retrieve the key and put the form into query_update mode returning the data.
    The portlets finish in query_and_save mode with details in update mode, the allowable insert, delete and none actions will be available for the details.
    benefits: The session_Var package code is resuable as well as the form form_session_Var and the link. passing the key name and values are done at the report level and detailed in the report links. the md forms will need to reference their related keys.

  • When I import a cd with more than one artist iTunes separates each individual artist - how do I get it to show the album as a whole rather than individual artist?

    When I import a cd with more than one artist itunes shows each artist's song separately and won't group the album as a whole - this is incredibly frustrating something that Windows media player doesn't do. Does anyone have a simple cure for this annoyance?

    Generally all you need to do is fill in an appropriate Album Artist. For more details see my article on Grouping Tracks Into Albums, in particular the topic One album, too many covers.
    tt2

  • Reversing Landed Cost document with more than one vendor

    Hi Experts,
    Reversing Landed Cost document with more than one vendor:
    My client can reverse a landed cost document with One Vendor, but cannot with multiple vendors. I have also tested this in 8.8 PL10. Here is a brief description:
    Created Landed cost by selecting 2 vendors in the Vendor field.
    After you picked one vendor, you go to the vendor code/name again then choose another vendor you
    need, once you picked, the system will ask you whether you want to delete the previous data, then
    you say no, after then you will see the vendor name became "different vendors" and code be "********"
    (on the vendor tab: you will see two vendors)
    To Reverse Landed Cost we do the following with Landed Cost documents that only have one vendor:
    I can copy from the Landed Cost document (on the right-bottom corner) while creating new one with
    zero amount to reverse, which is ok; but for multiple vendors, the list of vendors onlyshows one of
    the vendors for Good Receipts & Landed Cost.
    Cannot copy from a Landed Cost document wioth more than one vendor to reverse this Landed Cost.
    To be albe to copy from a previously created Landed Cost document (with multiple vendors) as you
    can with one vendor to reverse the transaction.
    Can this functionality be added to future versions?

    Take a look at business area and groupings in they payment program settings...
    I am not sure what version you are on but the following link for 4.7 should provide some valuable information...
    http://help.sap.com/saphelp_47x200/helpdata/en/01/a9be64455711d182b40000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/01/a9be64455711d182b40000e829fbfe/frameset.htm
    Grouping Open Items and Individual Payments
    Wherever possible, the payment program will always group items together for payment.
    The payment program can only group together open items for payment if the open items in an account have the same:
    1. Currency
    2. Payment method in the item
    3. Bank in the item
    4. Contents of the grouping fields (if a grouping key is specified in the customer or vendor master record)
    You can also pay open items from different company codes together, as well as customer and vendor line items.
    Items in an account are not grouped together if you:
    1. Make payments separately per business area. This procedure entails separate payments being created per business area.
    2. Want to make individual payments
    Items in which a payment method is specified are not grouped with items in which no payment method is specified.
    You define the required grouping key in the IMG for Financial Accounting under Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments -> Automatic Outgoing Payments -> Payment Method/Bank Selection for Payment Program -> Define Payment Groupings.
    In our system, if the business area is the same, there will be one ZP document with one line with a posting key of 25. Otherwise there will be many individual 25 posting key lines with.

  • Tax code with more than one tax rate

    Hi,
    I am using TAXINN procedure and I created on tax codes with more than one rate. i.e. for service tax I created  a tax code S1 with 3 rates as follows
    Acc. Key    Tax %      condition type
    VS9            12             JSE4
    VS0              2             JES4
    VSS              1             JHS4
    When I am trying to post a document with the above tax code the system is giving the following error message
    Tax code S1 may only contain one assignment line
    Message no. FF731
    Diagnosis
    For direct postings to tax accounts, only tax codes containing exactly one tax line may be used. Tax codes with several rates or a nondeductible portion are not allowed here.
    Procedure
    Use a different tax code.
    For direct postings to a tax account, you might have to define a separate tax code for which only one line with a percentage rate other than zero is active in percentage rate maintenance. All other lines must be inactive.
    To do this, choose Maintain entries (F5).
    Could you please let me know how to rectify this problem? I want to post 3 line items for each of base rate, Edu. Cess and Higher Edu.cess.
    Advance thanks for your help and
    Regards
    Koteswara Rao Padarti

    The problem is in the master data of the revenue account. the tax category should not be > and it should be *

  • Compressor Blu-ray with more than one sequence ?

    Is it possible to create a blu-ray from the "New Batch from template..." of Compressor with more than one sequence ?
    Message was edited by: Rudy A-Traxx

    Thank you, Shawn.  You're confirming everything I thought!
    Just asking . . . perhaps you have a few thoughts here:
    - Is Compressor version 4 any "different" than 3.5 - as far as just dropping in a QT movie master to compress?
    - I guess there's no way to get more than 6 Chapter Markers in Compressor DVD?  I don't see a way, perhaps there is? Or . . . I have to learn toast!  But I can do that!  Just easier if Compressor would do it all!
    Thanks again

  • Apple won't let me sync with more than one computer

    How crazy is it that Apple will not let you sync with more than one computer! I have three computers! One in the kitchen one in my room and one at my parents house. These are all my computers, but if I try to sync my iphone5! with my computer at my parents house itunes says it will erase all my data! I have legally purchased all my music, so I have bought the rights! which means I can have the same songs on mutiply computers.
    I've seen posts like this before, so I know Im not the only one who knows that this is unexceptable! Apple knows too! So heres how we gonna do this, **** itunes and **** apple, they can suck it! I'm sick of Apple and how they try to control everything you do, with their limited youtube video capacity because they "dont allow flash".
    All Apple care about is taking your money, otherwise they would listen to what their customers are saying. These posts are on an apple site after all.
    Thats my opinion, vote this up if you feel the same way.
    Thanks

    I understand what you mean.  If you would have a little more technical background to what is happening when you sync and iOS device, you would understand that the reason for syncing with only one computer is not to control you but is rather to manage the syncing.
    For exemple, how would you manage to backup a device on multiple computer while some songs or apps are on your iOS device but not on the computer?  Copying them back to the computer would only result in what you don't want, keeping different iTunes library on different computer.
    The very best solutions for you is either;
    Make one of your iTunes library the master with ALL your media files and use this one for syncing your device.  You can easily manage all your music using automated playlist (like one for all the music with an older date you would decide).
    Pay for iTunes match and ALL your song (even those you haven't bought from iTunes) to be available in the cloud for you to stream directly to your iPhone.  This however have a monthly fee.
    I agree that on one thing Apple is controlling; it's by not allowing you to extract songs from an iPod.  Giving home sharing now, that would solely restrict you from illegally copying music to others.  But again, you must understand that this limitation isn't to be powerfreak, it have been required to secure the music industries and make iTunes Store possible in the first place.
    And make shure you active Home Sharing as it will give you full access (stream and copy over wi-fi from any computer and iOS devices) in between your iTunes libraries.

  • Fill BEx Variable with more than one value via Custom Exit

    Dear SDN comunity,
    I want to fill a BEx Variable via a custom exit. My problem is, I don't know how to fill this variable with more than one value.
    I try to give you some background info based on an exaple:
    <u><b>Variable-Details</b></u>
    <b>Type of Variable:</b> Characteristic Value
    <b>Variable Name:</b> ZCCD
    <b>Description:</b> Company Code Selection
    <b>Processing by:</b> Custom Exit
    <b>Characteristic:</b> Company Code
    <b>Variable Represents:</b> Multiple Single Values
    <u><b>This is the used ABAP code:</b></u>
    WHEN 'ZCCD'.
    CLEAR l_s_range.
    l_s_range-low = '2002;2004'.
    l_s_range-sign = 'I'.
    l_s_range-sign = 'EQ'.
    APPEND l_s_range TO e_t_range.
    <u><b>The system returns this message:</b></u>
    Value "2002;2004" is too long for variable ZCCD
    appreciate your help!
    //michael

    Eugene, Marcus
    it works now, thx a lot!
    Please find attached the final code:
    CLEAR l_s_range.
    l_s_range-low = '2002'.
    l_s_range-sign = 'I'.
    l_s_range-<b>opt</b> = 'EQ'.
    APPEND l_s_range TO e_t_range.
    CLEAR l_s_range.
    l_s_range-low = '2004'.
    l_s_range-sign = 'I'.
    l_s_range-<b>opt</b> = 'EQ'.
    APPEND l_s_range TO e_t_range.
    (Delta to Marcus's code is bold)

  • Can you sync an ipod nano 5th gen with more than one computer

    Can you sync an Ipod nano 5th generations with more than one computer.  One is a Dell with xp operating system and the other is an Mac laptop.

    It is possible to sync your iPod with multiple computers, but syncing with different platforms is not supported by Apple.  See this article for more details on how to get this set up.
    http://support.apple.com/kb/HT1202
    B-rock

  • Is there a stereo bluetooth headset that can pair with more than one device at a time?

    Is there a stereo bluetooth headset that can pair, i.e. multipoint, with more than one device at a time?
    Are the MacBook and iPhone 4 capable of multipoint bluetooth technoloagy?
    The goal is for my wife to be able to watch her Korean TV soap operas on her MacBook and still receive a call on her iPhone 4 via a stereo bluetooth headset.
    I was looking at the Motorola S10-HD but after further review saw that it only pairs with one device at a time.
    Appreciate any and all input. My Googling has returned no results.
    Rick

    TeslasBB wrote:
    pairing my BB8330 with my blue tooth earphone(TM:jawbone) and my microsoft sync thats in my car simultaneously? if i pair with the car, will i have to pair my jawbone all over again?
    You can only pair one device at a time to your 8330, or any other phone for that matter.  The "pairings" are saved to the phone, you can use one or the other and you won't have to pair it again.  Once you turn your bluetooth device on and the phone is on, they will find each other again.
    Hope this helps,
    John
    Stevie Ray! 1954-1990
    ** Don't forget to resolve your post with the accepted solution.

  • Can I use a magic trackpad with more than one Mac at a time?

    I am attempting to pair a MTP with a second MacBook Pro.  So far I can't get system preferences to find the MTP.
    I am wondering whether the MTP can be paired with only one Mac at a time, and that this is why my MBP won't find it.
    The reason I am thinking this is because the little booklet that comes with the MTP says 'after you pair your MTP with a Mac, you can pair it again with a different Mac.  To do this, you first remove the existing pairing and then pair the trackpad again'.
    Can anyone advise, please?
    If it can be paired with more than one MBP at a time, any suggestions why my system preferences search for the MTP is not producing any results?
    Thanks

    Yes, your keyboard, mouse or trackpad can be paired with multiple Macs.  You can even have multiple keyboards, mice or trackpads paired with one Mac.  The caveat is that the device can only be connected to one Mac at a time.  The device can't be paired or connected with a Mac while it's currently connected to another.
    Pairing a device with 2 Macs will be troublesome if the Macs are located within 33 ft of each other.  The device will connect with the first available paired Mac and then unavailable to the second.   If the Macs are located outside the 10meter range, it's quite easy to power off the keyboard (forcing a disconnect) then walking the keyboard to Mac 2 and powering the keyboard on.   I do this with a keyboard from my iMac to a Mac Mini in another room.
    Captfred

  • Error while running spatial queries on a table with more than one geometry.

    Hello,
    I'm using GeoServer with Oracle Spatial database, and this is a second time I run into some problems because we use tables with more than one geometry.
    When GeoServer renders objects with more than one geometry on the map, it creates a query where it asks for objects which one of the two geometries interacts with the query window. This type of query always fails with "End of TNS data channel" error.
    We are running Oracle Standard 11.1.0.7.0.
    Here is a small script to demonstrate the error. Could anyone confirm that they also have this type of error? Or suggest a fix?
    What this script does:
    1. Create table object1 with two geometry columns, geom1, geom2.
    2. Create metadata (projected coordinate system).
    3. Insert a row.
    4. Create spacial indices on both columns.
    5. Run a SDO_RELATE query on one column. Everything is fine.
    6. Run a SDO_RELATE query on both columns. ERROR: "End of TNS data channel"
    7. Clean.
    CREATE TABLE object1
    id NUMBER PRIMARY KEY,
    geom1 SDO_GEOMETRY,
    geom2 SDO_GEOMETRY
    INSERT INTO user_sdo_geom_metadata (table_name, column_name, srid, diminfo)
    VALUES
    'OBJECT1',
    'GEOM1',
    2180,
    SDO_DIM_ARRAY
    SDO_DIM_ELEMENT('X', 400000, 700000, 0.05),
    SDO_DIM_ELEMENT('Y', 300000, 600000, 0.05)
    INSERT INTO user_sdo_geom_metadata (table_name, column_name, srid, diminfo)
    VALUES
    'OBJECT1',
    'GEOM2',
    2180,
    SDO_DIM_ARRAY
    SDO_DIM_ELEMENT('X', 400000, 700000, 0.05),
    SDO_DIM_ELEMENT('Y', 300000, 600000, 0.05)
    INSERT INTO object1 VALUES(1, SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(550000, 450000, NULL), NULL, NULL));
    CREATE INDEX object1_geom1_sidx ON object1(geom1) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    CREATE INDEX object1_geom2_sidx ON object1(geom2) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    SELECT *
    FROM object1
    WHERE
    SDO_RELATE("GEOM1", SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), 'MASK=ANYINTERACT') = 'TRUE';
    SELECT *
    FROM object1
    WHERE
    SDO_RELATE("GEOM1", SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), 'MASK=ANYINTERACT') = 'TRUE' OR
    SDO_RELATE("GEOM2", SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), 'MASK=ANYINTERACT') = 'TRUE';
    DELETE FROM user_sdo_geom_metadata WHERE table_name = 'OBJECT1';
    DROP INDEX object1_geom1_sidx;
    DROP INDEX object1_geom2_sidx;
    DROP TABLE object1;
    Thanks for help.

    This error appears in GeoServer and SQLPLUS.
    I have set up a completly new database installation to test this error and everything works fine. I tried it again on the previous database but I still get the same error. I also tried to restart the database, but with no luck, the error is still there. I geuss something is wrong with the database installation.
    Anyone knows what could cause an error like this "End of TNS data channel"?

  • Send email from SAP with more than one attachment

    Hi all,
    How can i send email with more than one attachment and different types of document(doc,pdf,etc.) from SAP to external?
    Besr regards,
    Munur

    Hi,
    I use :
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    the main problem with different attachemts is to genereate the packing_list.
    the packing list is a kind of description of the data table... where ist the start  of an image, end, size...
    "Creation of the entry for the compressed attachment
            objpack-transf_bin = 'X'.                    " it could be an image
            objpack-head_num = lv_head_num_count .  " inital 1 each att  add 1
            objpack-head_start = 1.                     " fix
            objpack-body_start = gv_startnum.    " table with attachments  1. line one
            objpack-body_num = tab_lines.          " how many lines are in the table of attachment
            objpack-doc_size = tab_lines * 255.   " size of the  attachment...
           objpack-doc_type = lv_typ . " 'JPG'.
            objpack-obj_name = 'ATTACHMENT'.
            objpack-obj_descr = lv_stripped_name  " name of the JPG
       APPEND objpack.
       APPEND LINES OF lt_goscontent TO gt_maildata.  " data Table...
    bestreg
    robert

Maybe you are looking for