1:N relationship in forms

I have a master-detail block relationship in my application.
When i add records, they seem to get added fine.
But when i try to update child record i would like the form to create a new child record..
I want this work like 1:N relationship whenever i update or make any changes to the child..i want a new child record to be created but still be tied to the parent.
Now i have a column called ID that joins the parent and the child..so say whenever i click the submit button(making any minor changes in my child block) i would like it to create a new record.
is this possible?

Well you didn't explain that you wanted the old record to be unchanged.
If that is the case, you can go either of two ways:
1. Maintain one record, and insert new records with the historic values, or
2. Create new records with the new values and leave one unchanged.
If you do #1, insert the record with historic values using the pre-update as I wrote above, and insert the record using get_item_property(:blk.Itm_x, database_value).
If you do #2, do the insert from the on-update trigger. Using the on-update trigger will prevent the old record from being updated.

Similar Messages

  • Relationship between Form, Datablock, Canvas

    What is the relationship between these items?
    Since now, to me, a form seems to be synonymous with canvas. As for datablock, i dont know what this is. It seems to be a collection of fields.
    Would anyone care to clarify?

    A datablock is a collection of fields. If not associated with a database table, it is called a control block, and all the fields in the block are used for miscellaneous purposes within the form.
    When the datablock is associated with a database table, it is called a base-table block. Most of the fields in the block represent columns in the table, but you CAN include non-database-table fields too. When you issue a query, Forms automatically retrieves the columns from the database table, and displays the data from the columns in the fields in the block.

  • Recursive relationship in Forms

    Greetings:
    I have a table containing a recursive relationship representing an organizational heirarchy. I have an Org_ID (sequence) field as the pkey and a parent_org_ID field to relate each company in the table to it's parent company in the same table. Different companies may have different levels of nesting. I'd like to create a Form by which the user can display/edit each level of the organizational hierarchy. I understand how to write a query to display the info in heirarical format, but do I use a reference cursor or table in my stored procedure to base the data block on? Also, how could I get forms to possibly indent the text items for each level of the hierarchy?
    Anyone who has attemted to represent a recursive realtionship in Forms, please help!
    Thanks,
    Chris Scopp

    You may want to check out this PPT presentation. It has all the different ways of displaying hierarchical data in Oracle Forms 6.0.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
    Allan:
    Thanks for your response, yes I made a tree which does display it in the method I want. However, I can only get one field (such as CoName) to display in the tree. Also, I'd like the user to be able to edit any data for any level of the hierarchy and I don't think this is possible w/ the tree. It seems to me that the tree might be good for the user to select the level or company that they are trying to edit and then use their selection as criteria for selecting that company's info into another data entry form. Does that seem like its best use to you?
    As far as indenting, the method you mentioned works good but I was thinking of how to actually indent the text boxes on the form. The end result would be that the Form has indented text boxes for each level allowing you to easily differentiate the levels.
    Thanks for your response, if you have any other thoughts please let me know!
    Chris<HR></BLOCKQUOTE>
    null

  • How to create a many to many relationship in forms 10g

    hello frnds,
    I want to create many to many relationship, can any one help me plz?
    Regards
    Divya Alok

    Hi ,
    In this situation create two separate blocks one is master and the other one is detail block.
    Then make detail block as database data block with the proper table name.Pass the value that your enter in the master block to the detail block as the search criteria to fetch the data from the table and to show the data related to the master value .If you have multiple master values then create data base data block sql query in such way that it must use all the master inputs as the search criteria.
    EX. Some time user wants to see the details of the employee after entering the emp id as the search criteria,that time you have to pass emp id as the search criteria to detail data base data block.Even you can pass emp id and emp name as the search criteria to the detail database data block.
    Thanks,
    Pavan.

  • How a to call a form from another form when the button is pressed

    Hi All
    I working with oracle apps r12
    I have develop a new form and attached into a special menu here i have two button
    When i click a button i need to call my new form.
    I have tried so far is
    I have write a trigger in that button when button pressed
    open_form('Form_name',Activate)
    regards
    Srikkanth
    Edited by: Srikkanth.M on Aug 18, 2011 7:06 PM

    Can you not use zoom functionality ?
    How to Zoom or Create Master-Details relationship Using Forms Personalization? (Doc ID 457643.1)
    HTH
    Srini

  • 10.1.2 form problem querying master details with underscore

    I have a problem on a form we have were by the user is querying a record and the detail block is bringing through an incorrect record. This occurs on all records that have an underscore "_"
    The form is huge so i am trying to cut down whilst testing but thought i would ask the question to see if its anything obvious.
    basically there are 3 tables all on there own blocks linked by the built in relationships in forms.
    the user queries the top one and the other 2 are set to auto query.
    the problem is with only one primary key that is referenced. This has an underscore in it.
    i.e user brings in top level "1000_0"
    this brings through on all detail records another primary key which is "1000-0" but the top level shows the correct "1000_0".
    Is anyone aware of anything this may be, iwill endeavor to set some testing up.

    ok i have recreated in its most basic concept and still exhibits same problem.
    3 db tables.
    create table testparts
    (part VARCHAR2(50) PRIMARY KEY)
    create table testroute
    (testroutepart VARCHAR2(50),
    testrouteno NUMBER,
    CONSTRAINT pK_testroute_PART PRIMARY KEY (testroutepart,testrouteno)  ENABLE,
    CONSTRAINT FK_testroute_PART FOREIGN KEY (testroutepart) REFERENCES testparts (part) ENABLE)
    create table testroutemat
    testroutepart VARCHAR2(50),
    testrouteno NUMBER,
    testroutemat VARCHAR2(50),
       CONSTRAINT PK_testrouteMAT PRIMARY KEY (testroutepart, testrouteno, testroutemat) ENABLE,
        CONSTRAINT FK_MP_PART FOREIGN KEY (testroutepart) REFERENCES testparts (part) ENABLE
    insert into testparts(part)
    values ('TEST_1');
    insert into testparts(part)
    values ('TEST-1');
    insert into testroute (testroutepart,testrouteno)
    values ('TEST-1',1);
    insert into testroutemat (
    testroutepart,
    testrouteno,
    testroutemat
    values(
    'TEST-1',1,'MATERIAL 1'
    insert into testroutemat (
    testroutepart,
    testrouteno,
    testroutemat
    values(
    'TEST-1',1,'MATERIAL 2'
    commit;Then create a new form.
    This form contains 4 blocks.
    a non db block with one non db item on it where the user types in part.
    then 3 further blocks based on the 3 tables above.
    On the block for testparts this has a default where containing
    part=:ctl.partand a relationship to detail block testroute
    part=testroutepartset this relationship to auto query also.
    Then on the blocks for testroute this has relationship to detail block testroutemat
    TESTROUTE.testroutepart=TESTROUTEMAT.testroutepart and TESTROUTE.testrouteno=TESTROUTEMAT.testroutenoI then have a button on on non db block containing
    go_block('TESTPARTS');
    execute_query(no_validate);you then enter TEST_1 within the non db block non db item. hit button and the other items are shown i.e TEST-1 for the detail items?
    Has anyone any ideas??

  • Membership form is creating row in database but no information is being inserted?

    The connection is being made to my database but the information in the fields isn't being written to the fields. It just shows up like this:
    This is the code
    Membershipval.php (connection to the database)
    <?php
    define('DB_NAME','db444290179');
    define('DB_USER','dbo444290179');
    define('DB_PASSWORD','hello123');
    define('DB_HOST','db444290179.db.1and1.com');
    define('DB_TABLE','Membership');
    $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_TABLE);
    if (!$link){
              die ('Could not connect: ' . mysql_error());
    $db_selected = mysql_select_db(DB_NAME, $link);
    if (!$db_selected) {
              die('can\'t use' . DB_NAME . ': ' . mysql_error());
    $value1 = $_POST['MembershipType'];
    $value2 = $_POST['BCUMemberType'];
    $value3 = $_POST['Full Name'];
    $value4 = $_POST['Dateofbirth'];
    $value5 = $_POST['Sex'];
    $value6 = $_POST['PhoneNumber'];
    $value7 = $_POST['EmailAddress'];
    $value8 = $_POST['BCUNumber'];
    $value9 = $_POST['BCUMember'];
    $value10 = $_POST['StreetAddress'];
    $value11 = $_POST['Town'];
    $value12 = $_POST['City'];
    $value13 = $_POST['Postcode'];
    $value14 = $_POST['Disability'];
    $value15 = $_POST['MedicalInformation'];
    $value16 = $_POST['Photography'];
    $value17 = $_POST['ContactName'];
    $value18 = $_POST['Relationship'];
    $value19= $_POST['ContactPhoneNumber'];
    echo 'connected successfully';
    $sql = "INSERT INTO Membership (MembershipType, BCUMemberType, FullName, Dateofbirth, Sex, PhoneNumber, EmailAddress, BCUNumber, BCUMember, StreetAddress, Town, City, Postcode, Disability, MedicalInformation, Photography, ContactName, Relationship, ContactPhoneNumber) VALUES ('$value1', '$value2', '$value3', '$value4', '$value5', '$value6', '$value7', '$value8', '$value9', '$value10', '$value11', '$value12', '$value13', '$value14', '$value15', '$value16', '$value17', '$value18','$value19')";
    if (!mysql_query($sql)){
              die('Error: ' . mysql_error());
    mysql_close();
    ?>
    Membership.php (the form)
    <div class="Form" id="Form" align="center">
        <table width="547" height="768" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <th colspan="2" scope="col">Membership Form</th>
          </tr>
          <tr>
            <td align="center"><form name="form13" method="post" action="Membershipval.php">
              <label for="MembershipType">Non BCU-Membership Type</label>
            </form></td>
            <td align="center"><select name="MembershipType" id="MembershipType">
              <option>Select....</option>
              <option value="£15">Junior (U18)/ Student £15</option>
              <option value="£22">Adult £22</option>
              <option value="£35">Family £35</option>
              <option value="£45">Schools/Groups/Clubs £45</option>
            </select></td>
          </tr>
          <tr>
            <td align="center"><form name="form14" method="post" action="Membershipval.php">
              <label for="BCUMemberType">BCU Member Type</label>
            </form></td>
            <td align="center"><select name="BCUMemberType" id="BCUMemberType">
              <option>Select....</option>
              <option value="£13">Junior (U18)/ Student £13</option>
              <option value="£20">Adult £20</option>
              <option value="£31">Family £31</option>
              <option value="£5">Social Members Only £5</option>
            </select></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Personal Information</b></td>
          </tr>
          <tr>
            <td><form name="form2" method="post" action="Membershipval.php">
              <label for="Full Name">Full Name</label>
            </form></td>
            <td><input type="text" name="FullName" id="FullName"></td>
          </tr>
          <tr>
            <td><form name="form3" method="post" action="Membershipval.php">
              <label for="Dateofbirth">D.O.B</label>
            </form></td>
            <td><input type="text" name="Dateofbirth" id="Dateofbirth"></td>
          </tr>
          <tr>
            <td><form name="form12" method="post" action="Membershipval.php">
              Sex
            </form></td>
            <td><table width="200">
              <tr>
                <td><label>
                  <input type="radio" name="Sex" value="Male" id="Sex_0">
                  Male</label></td>
              </tr>
              <tr>
                <td><label>
                  <input type="radio" name="Sex" value="Female" id="Sex_1">
                  Female</label></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><form name="form6" method="post" action="Membershipval.php">
              <label for="PhoneNumber">Phone Number</label>
            </form></td>
            <td><input type="text" name="PhoneNumber" id="PhoneNumber"></td>
          </tr>
          <tr>
            <td><form name="form7" method="post" action="Membershipval.php">
              <label for="Email Address">Email Address</label>
            </form></td>
            <td><input type="text" name="EmailAddress" id="Email Address"></td>
          </tr>
          <tr>
            <td><form name="form4" method="post" action="Membershipval.php">
              BCU Member
            </form></td>
            <td><table width="200">
              <tr>
                <td><label>
                  <input type="radio" name="BCUMember" value="Yes" id="BCUMember_0">
                  Yes</label></td>
              </tr>
              <tr>
                <td><label>
                  <input type="radio" name="BCUMember" value="No" id="BCUMember_1">
                  No</label></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><form name="form5" method="post" action="Membershipval.php">
              <label for="BCU Number">BCU Number</label>
            </form></td>
            <td><input type="text" name="BCUNumber" id="BCU Number"></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Address</b></td>
          </tr>
          <tr>
            <td><form name="form8" method="post" action="Membershipval.php">
              <label for="Street Address">Street Address</label>
            </form></td>
            <td><input type="text" name="StreetAddress" id="Street Address"></td>
          </tr>
          <tr>
            <td><form name="form9" method="post" action="Membershipval.php">
              <label for="Town">Town</label>
            </form></td>
            <td><input type="text" name="Town" id="Town"></td>
          </tr>
          <tr>
            <td><form name="form10" method="post" action="Membershipval.php">
              <label for="City">City</label>
            </form></td>
            <td><input type="text" name="City" id="City"></td>
          </tr>
          <tr>
            <td><form name="form11" method="post" action="Membershipval.php">
              <label for="Postcode">Postcode</label>
            </form></td>
            <td><input type="text" name="Postcode" id="Postcode"></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Medical Information</b></td>
          </tr>
          <tr>
            <td><form name="form15" method="post" action="Membershipval.php">
              <label for="Disability">Disability</label>
            </form></td>
            <td><input type="text" name="Disability" id="Disability"></td>
          </tr>
          <tr>
            <td><form name="form16" method="post" action="Membershipval.php">
              <label for="Medical Information">Medical Information</label>
            </form></td>
            <td rowspan="3"><textarea name="MedicalInformation" id="Medical Information" cols="45" rows="5"></textarea></td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td> </td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Consent</b></td>
          </tr>
          <tr>
            <td><form name="form17" method="post" action="Membershipval.php">
              Do we have your consent to take photographs
            </form></td>
            <td><table width="200">
              <tr>
                <td><label>
                  <input type="radio" name="Photography" value="Yes" id="Photography_0">
                  Yes</label></td>
              </tr>
              <tr>
                <td><label>
                  <input type="radio" name="Photography" value="No" id="Photography_1">
                  No</label></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Emergency Contact Details</b></td>
          </tr>
          <tr>
            <td><form name="form18" method="post" action="Membershipval.php">
              <label for="Contact Name">Contact Name</label>
            </form></td>
            <td><input type="text" name="ContactName" id="Contact Name"></td>
          </tr>
          <tr>
            <td><form name="form19" method="post" action="Membershipval.php">
              <label for="Relationship">Relationship</label>
            </form></td>
            <td><input type="text" name="Relationship" id="Relationship"></td>
          </tr>
          <tr>
            <td><form name="form20" method="post" action="Membershipval.php">
              <label for="ContactPhoneNumber">Contact Phone Number</label>
            </form></td>
            <td><input type="text" name="ContactPhoneNumber" id="Contact Phone Number"></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><b>Confimation</b></td>
          </tr>
          <tr>
            <td colspan="2"><form name="form21" method="post" action="Membershipval.php">
              <input type="checkbox" name="Terms" id="Terms">
              <label for="Terms">I accept the Terms and Conditions </label>
            </form></td>
          </tr>
          <tr>
            <td colspan="2" align="center"><form name="form22" method="post" action="Membershipval.php">
              <input type="submit" name="Submit" id="Submit" value="Submit">
            </form></td>
          </tr>
          <tr>
            <td> </td>
            <td> </td>
          </tr>
        </table>
    Does anyone have any ideas why this is happening?

    Everyone has to start, somewhere.  I got a lot of help when I started.  Just paying it forward. 
    Glad I could help.
    ^_^

  • Query in forms

    Hi,
    I have a simple table with 2 columns ...One is sno,sname.
    I am basing my form on this table. Then in the form I am taking a button and in the when-button-pressed of the button, if I write commit or commit_form I am able to save the values. Now I have to write an INSERT statement instead. So my code is as follows.
    insert into s_test values(:sno,:sname);
    commit;
    Now when I run my form ,enter values and press the button,
    I observed that it is saving the values twice. If I use commit or commit_form instead of INSERT, I am able to insert the value only once. Actually I am working on one complex form...When I faced this problem...so i took a simple form ...but here also it is the same problem. What should I do now? I have to use INSERT statement only since my complex form is getting values from another table too.

    It's still not clear what you need to do.
    Do you have a master and a detail block? Do you want the primary key of the master to be stored on the detail record so that you can identify the correct parent record?
    If so, create items in the detail block for the columns you use to reference the parent table, and use the 'Copy Value From Item' property of the items to make sure the data from the master block is included in the detail block.
    If you use a Relationship then forms does everything for you. Under the block node, select 'Relations' and press the green Plus button to see what options there are for linking blocks together.

  • Query on Oracle form personalization

    Guys,
    I want to Open (Zoom) Approved Supplier Form from RFQ Form for a particular item of a buyer.
    To implement the same, I followed the below provided steps.
    A. I just opened the RFQ Form.
    1. Seq# 10
    Condition# WHEN-NEW-FORM-INSTANCE
    Processing Mode# Not in Enter-Query Mode
    Actions#
    Seq: 10
    Type: Menu
    Menu Entry: SPECIAL10
    Menu Label: Open Approved Supplier
    2. Seq# 20
    Condition# SPECIAL 10
    Processing Mode# Not in Enter-Query Mode
    Actions#
    Seq: 10
    Type: Property
    Object Type: Global Variable
    Target Object: XX_ITEM_NUM
    Property Name: VALUE
    Value : =:PO_LINES.ITEM_NUMBER
    Seq: 20
    Type: Message
    Message Type: Show
    Message Text: :GLOBAL.XX_ITEMNUM
    Seq: 30
    Type: BuiltIn
    Builtin Type: Launch a function
    Function Code: PO_POXSCASL
    Funcation Name: Define Approved Supplier List
    Saved my personalization and clicked on 'Open Approved Supplier' that takes me to "Approved Supplier" form.
    B. Approved Supplier form is opened
    1. Seq# 10
    Condition# WHEN-NEW-FORM-INSTANCE
    Processing Mode# Not in Enter-Query Mode
    Actions#
    Seq: 10
    Type: Builtin
    Builtin Type: GO_BLOCK
    Arguement: ASL_ITEMS
    Seq: 20
    Type: Builtin
    Builtin Type: DO_KEY
    Arguement: ENTER_QUERY
    2. Seq# 20
    Condition# WHEN-NEW-RECORD-INSTANCE
    Trigger Object# ASL_ITEMS
    Processing Mode# Both
    Actions#
    Seq: 10
    Type: Property
    Object Type: Item
    Target Object: ASL_ITEMS.ITEM_NUM
    Property Name: VALUE
    Value : =:GLOBAL.XX_ITEM_NUM
    Seq: 20
    Type: Builtin
    Builtin Type: DO_KEY
    Arguement: EXECUTE_QUERY
    Saved everything and log out/log in and navigate to RFQ form and clicked on "Open Approved Supplier". the moment controller takes me to the Approved Supplier Form, it throws me an error message "Duplicate Item/Commodity being defined (ITEM_COMMODITY = 900842)" Though If I open Approved Supplier form without any personalization and query for 900842 item, it does not throw me an error. I am wondered why its happening. Can you guys please advise me where I am wrong?
    Waiting for your replies.
    Thanks
    Sunil

    Pl post details of OS, database and EBS versions.
    Pl see these MOS Docs
    How to Zoom or Create Master-Details relationship Using Forms Personalization?          (Doc ID 457643.1)
    ORDER MANAGEMENT SUITE - USAGE OF CUSTOM LIBRARY CUSTOM.pll          (Doc ID 438922.1)
    HTH
    Srini

  • Integrating Oracle Forms 11g with JavaScript - keystrokes support issues

    This article
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/forms/11g/jsinteg/formsjsinteg/setup.htm
    shows the JavasriptIntegration with Oracle Forms.
    I am trying to navigate out of Oracle Forms Java Applet with separateFrame=false to access an external menu using JavaScript. I can't find a way to navigate out of Oracle Forms. My focus stays inside the currently opened form and the applet does not lose the focus.
    I need to access any external UI component by shifting the focus form the Java Applet to that components using only key strokes.
    Thanks for your help

    Vikas,
    Sorry for the delay. I am still investigating this. In general, it would appear as I mentioned. If the form that contains the code specific to the event monitoring has not been run, then it cannot be executed. We are trying to get clarification on the definition of "scope" in this case. In the mean time, one alternative might be to subclass the related triggers/pu and include them in all of the forms where you want them to fire. Currently I am suspecting that scope refers to a relationship to forms currently running. For example if you have form A, B, and C running a scope of "form" might suggest that the events are only monitored if the current form includes the necessary code. However, if "application" then even if the form containing the necessary code is not the current form, the necessary code would fire anyway. Again, I am trying to get more clarification, but it is slow coming.
    If this is truely an urgent issue, I encourage you to create a Service Request with Oracle Support.

  • Creation of a complex object from several databases?

    Hello!
    We need to have an ability to change certain property of the record, stored in the database, without reading the full record from the database, changing the property and updating the database with this new record. As far as I know there's no way for partial access to the record data (LOB access section from FAQ), so I am thinking in a bit different way - what if we keep the information of certain record in the different databases, and when we need to update some property of the record knowing the key - we will just update the appropriate database? This looks something similar to secondary databases when the secondary key is an alias for primary record - but in this case primary key would be referenced from several databases and it would be possible to specify which data from which database to obtain using the key?
    I think it could be created based on several custom object bindings now, or something like this.

    Eugene,
    If you update properties in different combinations and there is no logical way to group them to reduce the size of the operations, then it's not worth splitting up the record. That's up to you to determine.
    JE SecondaryDatabase and SecondaryCursor methods have overloaded signatures for returning the secondary key, primary key, and primary data, all in one method call. So I think you're confused about the method signatures -- the data parameter is always used to return the primary data.
    Note that internally whenever you read via a secondary, JE does two reads: one to read the secondary index and get the primary key, and another to read the primary index.
    There is no trick to get around doing multiple reads when you have relationships between different databases. Each primary and secondary database is an index or map (conceptually the same as a java.util.Map) that can be accessed by key or by iterating. Whatever you do must be built on top of map operations.
    The best way to think about data modeling is to think about maps and their keys, and the best way to think about how to do a query is to break it down into map operations. I say this because most Java programmers are familiar with maps and map operations, because java.util.Map is commonly used.
    The DPL (persist package) makes data modeling simpler to code and understand, because annotations can be used describe relationships between indexes. When using the DPL it is very clear that for every secondary index there is a secondary key, and that entity relationships are formed via secondary keys. However, the DPL model is still based on maps and map operations.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Unable to see the values in detail block

    Hello,
    I have a master detail block, when I query the form, I am unable to see the values for a particular field(Column), all other columns appear properly in the details block, Upon checking the same table(s) in SQL ( by using the JOIN defined in the where clause of the relationship in Forms) , it shows the relevant records for all fields. So what could be wrong with the Form, please advise.
    Thanks
    FM

    IQ wrote:
    I have just checked the field its a non-database field which is being used as a LOV column to display a value derived from LOV. How do I make this populate at Query time, as obviously this works when the Form is in a insert mode but not for Query mode. How to make it work for Query ? As it for LOV column and non-database filed, ignore my first suggestion.
    Does your non-database filed has associate any column ?
    For example, you have SUPPLIER_ID (database column) and SUPPLIER_NAME (non-database column). SUPPLIER_NAME has LOV column. And when selecting supplier name from LOV value also assign at supplier_id.
    Now to show supplier name when querying, you have to write POST-CHANGE trigger at supplier_id. like
    SELECT ASSC_CODE INTO :MST_SUPPLIER.ACC_CODE
    FROM ACC_SUB_SUB_CONTROL
    WHERE ASSC_ID=:MST_SUPPLIER.SUPP_ASSC_ID;Hope this helps

  • Query regarding Oracle Apps Personalization

    Hi all,
    In Oracle Personalization, I want to concatenate Global Variable value with message using Show Message .
    How it is possible ?
    Anyone help me in this regards ?
    Thanks in advance.....
    regards
    sanjay

    Pl post details of OS, database and EBS versions.
    Pl see these MOS Docs
    How to Zoom or Create Master-Details relationship Using Forms Personalization?          (Doc ID 457643.1)
    ORDER MANAGEMENT SUITE - USAGE OF CUSTOM LIBRARY CUSTOM.pll          (Doc ID 438922.1)
    HTH
    Srini

  • Multiple table insert xml to mssql

    Hello experts,
    I am trying to insert the data of an xml file into 3 target tables (mssql).
    The dependencies are the following:
    tables: --- timesheetcode -- assignment -- workhours
    attribute: --- tsCodeId - - - - - - tsCodeId - - - - - - assignmentId
    So there is a parent-child relationship between the tables. The tsCodeId and the AssignmentId are being created as an 16 byte uniqueIdentifier. So when creating multiple interface to do these inserts how do I get the generated Id's that I need for the childs? I found the following topic but it is oracle based and I don't think this fully solves my problem:
    How to load multiple target tables simultaneously in single interface?
    thanks a lot for your suggestions
    Edited by: iadgroe on Apr 30, 2012 12:42 AM

    If your XML file contains these relationships in form of nested tags, then you dont have to worry.
    ODI reverse engineering will create an XML data model that will maintain the relationship of data with ODI generated surrogate keys.
    Then you can load your data one by one in to timesheetcode, assignment and workhours using the corresponding interfaces from XML datastores.

  • OIM 11g import configurations are failing

    Hi All,
    I have exported the OIM Resources + children + dependencies from source OIM 11g env. I have verified through OIM console for importing the same XML (exported) and there are no dependency errors. So while trying to import using java code, I am getting the below exception:
    SEVERE: OIMObjects - Import Operation FAILED. Exception -
    com.thortech.xl.ddm.exception.DDMException: Unable to save dataobject for SDH
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
    at Thor.API.Operations.tcImportOperationsIntf_uawk3z_tcImportOperationsIntfRemoteImpl_1035_WLStub.performImportx(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at $Proxy2.performImportx(Unknown Source)
    Caused by: com.thortech.xl.ddm.exception.DDMException: Unable to save dataobject for SDH
    at com.thortech.xl.ddm.repositories.rdbms.datatypes.data.TableInstance.finishDataObject(TableInstance.java:841)
    at com.thortech.xl.ddm.repositories.rdbms.impl.RDBMSRepository.finishdataObject(RDBMSRepository.java:956)
    at com.thortech.xl.ddm.engine.visitor.ImportVisitor.dataDependencyVisitComplete(ImportVisitor.java:612)
    at com.thortech.xl.ddm.repositories.rdbms.impl.RDBMSRepository.handleDataBaseDependencies(RDBMSRepository.java:687)
    at com.thortech.xl.ddm.engine.data.datatypes.SchemaInstance.traverse(SchemaInstance.java:274)
    at com.thortech.xl.ddm.engine.data.datatypes.SchemaInstance.visitChildren(SchemaInstance.java:358)
    Can somebody throw light on this?
    Thanks
    Mahendra.

    SDH is the parent to child relationship for forms.
    I would suggest you create a new version of the child form, make it active. Create a new version of the parent form, and on the child form tab, add/update the child table associated with it. Make the parent form active. Now export your object again.
    -Kevin

Maybe you are looking for

  • I have one PC with a modem and linksys router #BEFW11S4 i...

    I have one PC with a modem and linksys router #BEFW11S4 installed. I have 3 other PC's which connect to it via Linksys wireless-G adapters. Things have been working just fine until recently when now at least twice a day my Pc's with the adapters lose

  • Report with Arabic Data - Export to PDF

    Hi, I am using crystal report 2008 ( version: 12.0.0.683), The database is SQL Server 2005, connected to the database using OLE DB. Most of my data are in ARABIC language including Tashkeelia (تنوين, Means dots, arabic formatting letters by pressing

  • Why does my iPad store show wrong id

    In my settings, it shows the right Id.  When I go into store to get items or updates, it shows wrong id.   How do I fix this?

  • Commit after n rows while update

    i have 1 update query UPDATE security SET display_security_alias = CONCAT ('BAD_ALIAS_', display_security_alias) WHERE security_id IN ( SELECT DISTINCT security_id FROM security_xref WHERE security_alias_type IN ('BADSYMBOL', 'ERRORSYMBOL', 'BADCUSIP

  • How to open link in new tab with right click?

    I'd love to be able to right click, i.e., two finger tap on the magic trackpad, and have a link open in a new tab.  I know I can hold the command button to accomplish this, but then it takes two hands.  I tried the following on the command line which