Master Details Entry Form in Oracle ADF

Dear Sir,
Please tell me how we create the Master Details Entry Form in Oracle ADF.
Thanks in Advance
Shiv Naresh Gupta

hi Number(922941) :)
welcome ,
to this forums
thing 1: change handle(name) as string as well as meaningful.
first go through
https://forums.oracle.com/forums/ann.jspa?annID=56
Next look.
http://www.youtube.com/watch?v=OCWMzfbd96E
http://www.fireboxtraining.com/blog/2011/01/09/oracle-adf-11g-creating-master-detail-detail-tables/
http://www.baigzeeshan.com/2010/03/creating-master-detail-form-in-adf.html

Similar Messages

  • ADF Master Detail entry form issue

    Hi All,
    I am new to JDeveloper and I am creating a Master Detail entry form. I have separate buttons to create master records and detail records in Master and Detail sections respectively. After completing data entry in Master portion, when I hit the create button to create a line in detail, it removes data from the last field of master which is a "description" field. I haven't write any custom code yet. How can I fix this?
    Help will be appreciated.
    Thanks,
    CAH

    Hi,
    Thanks for your reply and links to the tutorials.
    I have changed the default binding to CreateInsert from Create. Unlike in the sample application in the links, my form is editable at both the levels. Apart from the clearing out the description field, it clears out the list items I have defined at Detail level when I create second or greater record. It works fine for the first record at Detail level. And as I mentioned, I have not written any custom code anywhere.
    Any clue will be a great help.
    Thanks,
    CAH

  • MASTER -DETAILS ENTRY FORMS IN APEX

    THIS IS MY TABLE, HOW I WILL MASTER -DETAILS ENTRY FORMS IN APEX.
    PLEASE HELP
    CREATE TABLE BUY_INFO_MST
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12),
    ITEM_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)
    CREATE TABLE BUY_INFO_DTL
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12) ,
    ITEM_CODE VARCHAR2(3) NOT NULL,
    ITEM_DETAILS_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    ROLL VARCHAR2(3) ,
    UNIT_CODE_M VARCHAR2(3) ,
    UNIT_CODE_I VARCHAR2(3) ,
    QUANTITY_M NUMBER(10,4) ,
    QUANTITY_I NUMBER(10,4) ,
    UNIT_PRICE NUMBER(15,4) ,
    BUY_AMOUNT NUMBER(15,4) ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO_DTL PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,ITEM_DETAILS_CODE, BUY_DATE),
    CONSTRAINT FK_BUY_INFO_DTL FOREIGN KEY(SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)REFERENCES BUY_INFO_MST
    JAHANGIR

    Hi,
    Because you're using a composite key with more than 2 columns you'll need to create a view of each table with a ROWID column and use those as your primary keys. Either that or add a new column to the table for each entry.
    Mike

  • MASTER -DETAILS ENTRY FORMS PROBLEM

    THIS IS MY TABLE, HOW I WILL MASTER -DETAILS ENTRY FORMS IN APEX.
    PLEASE HELP
    CREATE TABLE BUY_INFO_MST
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12),
    ITEM_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)
    CREATE TABLE BUY_INFO_DTL
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12) ,
    ITEM_CODE VARCHAR2(3) NOT NULL,
    ITEM_DETAILS_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    ROLL VARCHAR2(3) ,
    UNIT_CODE_M VARCHAR2(3) ,
    UNIT_CODE_I VARCHAR2(3) ,
    QUANTITY_M NUMBER(10,4) ,
    QUANTITY_I NUMBER(10,4) ,
    UNIT_PRICE NUMBER(15,4) ,
    BUY_AMOUNT NUMBER(15,4) ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO_DTL PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,ITEM_DETAILS_CODE, BUY_DATE),
    CONSTRAINT FK_BUY_INFO_DTL FOREIGN KEY(SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)REFERENCES BUY_INFO_MST
    JAHANGIR

    THIS IS MY TABLE, HOW I WILL MASTER -DETAILS ENTRY FORMS IN APEX.
    PLEASE HELP
    CREATE TABLE BUY_INFO_MST
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12),
    ITEM_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)
    CREATE TABLE BUY_INFO_DTL
    SUPPLIER_CODE VARCHAR2(5) NOT NULL,
    MEMO_CODE VARCHAR(12) ,
    ITEM_CODE VARCHAR2(3) NOT NULL,
    ITEM_DETAILS_CODE VARCHAR2(3) NOT NULL,
    BUY_DATE DATE ,
    ROLL VARCHAR2(3) ,
    UNIT_CODE_M VARCHAR2(3) ,
    UNIT_CODE_I VARCHAR2(3) ,
    QUANTITY_M NUMBER(10,4) ,
    QUANTITY_I NUMBER(10,4) ,
    UNIT_PRICE NUMBER(15,4) ,
    BUY_AMOUNT NUMBER(15,4) ,
    USER_NAME VARCHAR2(15) ,
    ENTRY_DATE DATE ,
    UPD_USER VARCHAR2(15) ,
    UPD_DATE DATE ,
    CONSTRAINT PK_BUY_INFO_DTL PRIMARY KEY (SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,ITEM_DETAILS_CODE, BUY_DATE),
    CONSTRAINT FK_BUY_INFO_DTL FOREIGN KEY(SUPPLIER_CODE,MEMO_CODE,ITEM_CODE,BUY_DATE)REFERENCES BUY_INFO_MST
    JAHANGIR

  • Master details report/form

    Hi Friends,
    I want to create a Master-Detail report/form.
    I have one Master Table and it has 3 Detail tables.
    Example:
    Master Table: Members
    Detail Tables: Contributions
                   Loans
                   Benefit ClaimsI want to show when I click on a specific Member in the report edit , I can make entry/update to all
    the 3 detail tables. And not going each entry separately.
    Is this design requirement good?
    Thanks a lot

    You can look here on how to create multiple detail tables:
    http://htmldb.oracle.com/pls/otn/f?p=31517:163
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Master Detail Java Form

    Where can i find any source code of master detail java form without using BC4J?

    Gawish,
    JSP and Applets are kind of exluding the other. If you don't like to use BC4J, you can use all kind of technologies like EJB or POJOs. ADF will work the same for the two technologies when building user interfaces. See otn.oracle.com/products/jdev for tutorials and how-to.
    Frank

  • Is it possible to create a Master-Master-Detail JClient Form?

    Hi,
    I've been trying to create a Master-Master-Detail JClient Form, where both master-values will be displayed in a seperated drop-down-list.
    First I've tested this with a single Master-Detail (is it correct, that a single drop-down-list, working as master will not work with LoV-Binding!?) - However, the combobox-model must be set to Navigation-Binding...
    After adding another combobox (the second master), and testing the result, it seems that the detail-table only corresponds to the selection of the first master.
    The problem with LoV-Binding was, that the drop-down-list starts with the value at ID '0' (which doesn't exists) instead of '1'...
    The Question is, how can I create a Master-Master-Detail JClient Form!?
    thanks,
    hubi

    Hi,
    I've been trying to create a Master-Master-Detail JClient Form, where both master-values will be displayed in a seperated drop-down-list.
    First I've tested this with a single Master-Detail (is it correct, that a single drop-down-list, working as master will not work with LoV-Binding!?) - However, the combobox-model must be set to Navigation-Binding...That's true for navigation as you want to use the Combo as the navigator for the Master VO iterator. Lov Binding is used to "update" certain attributes based on selection. You are trying to drive the detail rowset for a selected master and NavigationBinding is the appropriate binding for this purpose.
    After adding another combobox (the second master), and testing the result, it seems that the detail-table only corresponds to the selection of the first master.That's the behavior you get from the default data model.
    The Question is, how can I create a Master-Master-Detail JClient Form!?First you need to create a ViewUsage structure that implements Master-master-detail. This is not allowed by Bc4j wizards. However you can create such a structure at runtime by using createViewLink method on the ApplicationModule to link the "second" master with the detail (same VO as the first Master's detail).
    Assuming both the comboboxes are bound to individual Master VOs using NavigationBinding, you should now be able to traverse the details using both ComboBoxes (which represent the master).

  • Error trying to run a sample master-detail JSF form in Jdev 10.1.3

    I've tried JDeveloper 10.1.3 folowing a tutorial , master-detail one , involving Adf Faces which I found it here http://www.oracle.com/technology/products/jdev/101/tutorials/e2ebcfaces/buildmaster-detailpagewithjdevandadfbc.htm.
    1. I dowloaded JDeveloper 10.1.3
    2. I made -in Jdeveloper- a connection to OE8 schema
    2. I created an application with web application template ; in my new workspace i had 2 projects Model and ViewController
    3. In model i choose Business Tier - ADF Bussiness Components - Business Components from Tables and I followed instructions in tutorial
    4. In ViewController I created Web Tier - JSF - JSF JSP , with the JSF-JSP wizard a jsp page browseCustomerOrders.jsp. For building a master detail form i folowed instructions in tutorial
    However ...
    5. When I tried to run i received ....
    " [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config>
    D:\jdevstudio1013\jdk\bin\javaw.exe -ojvm -classpath D:\jdevstudio1013\j2ee\home\oc4j.jar;D:\jdevstudio1013\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevstudio1013\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    05/11/30 12:04:16 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.core.ojdl.logging.LoggingConfiguration
         Dependent class: com.evermind.server.XMLApplicationServerConfig
         Loader: oc4j:10.1.3
         Code-Source: /D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    05/11/30 12:04:16      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [D:/jdevstudio1013/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
         at com.evermind.server.XMLApplicationServerConfig.initJ2eeLogging (XMLApplicationServerConfig.java:243) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.XMLApplicationServerConfig.postInit (XMLApplicationServerConfig.java:255) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.xml.XMLConfig.init (XMLConfig.java:200) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.xml.XMLConfig.init (XMLConfig.java:117) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:74) [D:/jdevstudio1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in D:\jdevstudio1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]
    05/11/30 12:04:16 Fatal error: server exiting
    Process exited with exit code 1. "
    Where do you think i am wrong?
    Many thanks

    Hi,
    the problem seems not to be within your application but in missing files on your embedded OC4J. Just try and unzip the JDeveloper 10.1.3 install again.
    Frank

  • Master Details Input Form

    Hi,
    I'm using JDeveloper 10.1.3.1, ADFBC JSPX, I've created two tables dept with deptid and deptnm primary key deptid, emp with empno, empnm and deptid foreign key deptid references dept table.
    i've created business component Diagram, in that i dragged 2 tables. i've created views for that tables, and view link between these two. i've creaed Data Control as a Master Details. in Jspx, i dragged Dept View as a creation form, and down of that, Emp as a creation form, then from operations, i dragged commit and rollback buttons. When i'm testing in Application Module, it's running perfectly ok, while running jspx these errors are comming, how can i solve this.
    1. JBO-27027: Missing mandatory attributes for a row with key null of type AM.EmpView1
    2. Empno - JBO-27014: Attribute Empno in AM.EmpView1 is required
    3. Deptid - JBO-27014: Attribute Deptid in AM.EmpView1 is required
    Thanks and Regards,
    Sudha Teki.

    Hi,
    Whatever link u've send i've tried that with using Service Requests and Products Tables.
    public Result newServiceRequestForNewProduct(String prodName,
    String prodDesc,
    String problemDesc,
    Number customerId){
    //1. Create a New Service Request
    ServiceRequestsImpl newSR = createNewServiceRequest();
    //2. Create a New Product
    ProductsImpl newProd = createNewProduct();
    newProd.setName(prodName);
    newProd.setDescription(prodDesc);
    //3. Set the product id to which service request pertains
    newSR.setProdId(newProd.getProdId().getSequenceNumber());
    newSR.setProblemDescription(problemDesc);
    newSR.setCreatedBy(customerId);
    //4. Commit the transaction
    getDBTransaction().commit();
    //5. Construct a bean to hold new product id and SR id
    Result result = new Result();
    result.setSvrId(newSR.getSvrId().getSequenceNumber());
    result.setProdId(newProd.getProdId().getSequenceNumber());
    //6. Return the result
    return result;
    After adding this code i'm trying to test client program. i'm getting errors like
    Error(66,25): interface javax.xml.transform.Result is abstract; cannot be instantiated
    Error(67,12): method setSvrId(oracle.jbo.domain.Number) not found in interface javax.xml.transform.Result
    Error(68,12): method setProdId(oracle.jbo.domain.Number) not found in interface javax.xml.transform.Result
    Anything else i'm missing here, please let me know.
    Thanks and Regards,
    Sudha.

  • Master detail report/form FK problem

    Anyone...anybody!!!
    I'm using APEX 4.0.1... and Oracle 10g.
    I have two tables that are linked with FK in the detail table
    Master table
    ID_ENDURGR     NUMBER --PK populated with a trigger
    KT_UMSAEKJANDI     VARCHAR2(10 BYTE)
    TIMABIL     NUMBER
    NUMER_UMSOKN     NUMBER
    HEILDARKOSTNADUR     NUMBER
    Detail table
    ID_EIGENDUR     NUMBER --PK populated with a trigger
    KENNITALA     VARCHAR2(10 BYTE)
    EIGNARHLUTI     NUMBER
    KOSTNADUR_VINNA     NUMBER
    ENDURGR_ID_FK     NUMBER -- FK on ID_ENDURGR in the master table
    If I create a application with a master detail page using the wizard, pages with a report and a tabular form are created. This works fine and the FK field in the detail table is automatically populated with the PK from the master table.
    If I create an application with a blank page an on that page create a region > form > master detail > same tables >use existing triggers > default > Edit detail on separate page ... three new pages are created: Report, master form and a detail form.
    If I create a new detail record with this application the FK field is not automatically populated.
    Why? What am I doing wrong?
    The trigger on the detail table:
    create or replace
    TRIGGER "bi_RSK_541_EIGENDUR"
    before insert on "RSK_1018_EIGENDUR"
    for each row
    begin
    if :new."ID_EIGENDUR" is null then
    select "RSK_541_EIGENDUR_SEQ".nextval into :new."ID_EIGENDUR" from dual;
    end if;
    end;
    Do I need to add something here... or what?
    Please help.
    Edited by: 805740 on 2.12.2010 07:14

    Thanks for your reply. I have created my pages on apex.oracle.com
    ws: RSK_APEX
    user: demo
    pwd: demo
    There are two tabs. Different solutions on each one.

  • Master-detail  in forms 4.5

    I am trying to make a master-detail form work, but so far the details in the form does not correspond to the master block.
    What I did was
    1. created a primary key in table1
    2. created a foreign key in table2 referencing the primary key in table1
    3. created a new block (master block based on table1)
    4. created another block (detail block based on table2)
    5. under the tab master/detail of detail block I
    5.1 selected the master block from the block LOV
    then the "Join Condition" textbox automatically showed the relational keys
    or Join
    But when I ran the program, only the master block showed different records when navigating.
    Thanks for any help you can give.

    Bob,
    check the property palette of the relation node (build under the detail block) for the "deferred" property. This should be set to "no", otherwise the query only gets updated if you navigate into it.
    Frank

  • How to Call Oracle Form From Oracle ADF

    Hi All,
    Version - Oracle Jdeveloper 11.1.1.5
    In Oracle Adf - when i click on Button how to call oracle form?
    Please help....
    Thanks..
    Sk

    And there is a tool called oraFormFaces that has some advanced linking api to access forms etc. Do a google search to find info on this.

  • Error in Master-Detail report form

    Hi every one,
    I am a beginner to Oracle APEX, i am learning from this "Building an Application using Oracle Application Express: Part 1" tutorial, i went through this, but i got error while in detail field, from tutorial, detail table shows, tasks table, but in my detail field it doesn't shows tasks table, Please help me........
    Thankyou,
    Suresh

    Hello 942793 -- Do you have a name / nickname? -- We still don't know how to address you,
    Say, could you tell us -- because sometimes different versions have different capabilities:
    Full APEX version number,
    Full database version number,
    APEX web browser architecture (EPG, OHS, or APEX listener)
    Browser(s) and version(s) used,
    Operating System with version number and architecture (32/64 bit),
    [If you mentioned these before we don't have access to that info in this thread.]
    Also, are you using ARP (Automatic Row Processing) for this Master-Detail or have you programmed your own updates?
    Did you use an APEX wizard to create the Master-Detail or have you written you own code for the Master-Detail?
    To the problem:  In short, APEX is ensuring update consistency by preventing an update of a record/row that has changed since the code retrieved it.  So, one needs to figure out where/why it changed and what to do about it.
    ?  Is this Master-Detail part of you application fairly simple?  Could you put just that part out on apex.oracle.com for folks to look at?  That can speed resolution of these, sometimes difficult, update problems.
    Regards,
    Howard

  • Problems with block master - detail in forms 10g

    I have a master-detail block, when the record is empty it shows nothing of the teacher, but the record there, thought it was the relationship, but the clear and ran as if it and the error still persists. I need to show me the teacher, although in detail there is no record.
    If anyone can help me they are grateful. Do not know if there are any restrictions in 10g, and I did a master detail with the same tables in 6i the error does not introduce myself.
    Thank you.
    Note: Sorry for the English, I am using a translator.

    I have a master-detail block, when the record is empty it shows nothing of the teacher, but the record there, Can you please give more explanation what you exactly want because em still confuse.
    thought it was the relationship, but the clear and ran as if it and the error still persists. I need to show me the teacher, although in detail there is no record.Also this one. It is better to give any example.
    -Ammad

  • Data not getting in table in master detail block form

    Hi
    I am using oracle forms 10g
    I have three block namely control_block, Header_block and detail_block and three button in three block. Find button in control_block,Detail button in Header_block and save button in Detail_block.
    Now i will enter PO_number in the Control block and enter find button and the po details is fetched and it will show the po details in the Header_block and in the header_block i have one field named as Expeditor and here the user will assing Expeditor to that po_number and Click the Save button in the Detail_Block.
    this is my code
    DECLARE
    ln_count NUMBER;
    CURSOR c_expeditor
    IS
    SELECT po_number
    FROM xxogec_poexp_expeditor_stg
    WHERE po_number = :header_block.po_number;
    BEGIN
         IF :DETAIL_BLOCK.po_number IS NULL
    THEN
    FOR c_exp_rec IN c_expeditor
    LOOP
    IF c_expeditor%NOTFOUND
    THEN
    INSERT INTO xxogec_poexp_expeditor_stg
    (po_header_id,
    po_number, creation_date,
    po_expeditor_name
    VALUES (:header_block.po_header_id,
    :header_block.po_number, SYSDATE,
    :header_block.expeditor
    ELSE
    UPDATE xxogec_poexp_expeditor_stg
    SET po_expeditor_name = :header_block.expeditor
    WHERE po_number = :header_block.po_number;
    END IF;
    END LOOP;
    STANDARD.COMMIT;
    End if;
    End;
    Now when i press save button the data is not getting inserted.
    Can any please correct me where my code went wrong.
    Thanks & regards
    Srikkanth.M

    FOR c_exp_rec IN c_expeditor
    LOOP
      IF c_expeditor%NOTFOUND
      THENYou'll never get to the IF statemement, because there is nothing to loop if there is nothing to be found.

Maybe you are looking for