DRQ : Exposing the Tax details tables in PLD

Hi Experts,
Expose the respective Tax details tables in PLD for marketing documents ?
For example table INV4 for A/R Invoice.
Samir Gandhi

as I reach 10 post, I have to compulsorily close this thread

Similar Messages

  • How to pass the tax details for the PO in me23n to script??

    Hi friends,
    I have a requirement to display the tax details for every line item of the PO in PO layout through script.  Here I am gettin the tax details value for Purchase Order from the transaction ME23N. In   this transaction, there is tab called invoice, when you click the tab, you will get the tax details. I need to print this details in the my PO layout. I checked in the technical field, the values are getting from the structure KOMVD. I tried to pull the value from the structure itself, but I am getting only Gross price. I am not able to display the taxes details in the layout. I need the condition type value and name and amount field also.
    Please help me how to achieve this.<< priority reduced>>
    I would appreciate the replies.
    Thanks in advance.
    Please let me know if you need anything more.
    Regards,
    Ahamed.
    Edited by: Rob Burbank on Oct 11, 2011 3:42 PM

    Hi
    You can Try with Tables EKPO AND BSET.
    Regards
    Ajit

  • Not getting the tax details in me23n using custom smartform

    Hi to all,
       I am useing bapi to get the details of service order and printing the details in my custom smartform which is assigned in me23n. My problem is i am getting all the details like line item and all related but not the tax details. I need to print the net amount which is net amount + tax . Can any one help me in this regards.

    Use function module   CALL FUNCTION 'CALCULATE_TAX_ITEM'
          EXPORTING
           dialog                    = lc_n
           display_only              = lc_x
           i_taxcom                  = lwa_taxcom
          IMPORTING
        E_NAVFW                   =
           e_taxcom                  = lwa_taxcom
        E_XSTVR                   =
           nav_anteil                = lv_taxamt
         TABLES
           t_xkomv                   = lt_komv
         EXCEPTIONS
           mwskz_not_defined         = 1
           mwskz_not_found           = 2
           mwskz_not_valid           = 3
           steuerbetrag_falsch       = 4
           country_not_found         = 5
           OTHERS                    = 6
        IF sy-subrc <> 0.
       MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    LT_KOMV will return the tax related data.
    Nabheet

  • Polling the master detail table and to update the LAST_UPDATED with SYSDATE

    Hi
    The requirement is polling the master detail table where read_flag is null and has to update the LAST_UPDATED with SYSDATE in both tables.
    Refered the MasterDetail and PollingPureSQLSysdateLogicalDelete samples of SOASuite.
    Used the delete polling strategy in polling process and modified the generated TopLink discriptor as follows.
    set the TopLink -> Custom SQL tab -> Delete tab with the following query
    for master table (RECEIVER_DEPT) :
    update RECEIVER_DEPT set READ_FLAG= 'S' , LAST_UPDATED=sysdate where DEPTNO=#DEPTNO
    set the TopLink -> Custom SQL tab -> Delete tab with the following query
    for Detail table (RECEIVER_EMP):
    update RECEIVER_EMP set LAST_UPDATED=sysdate where EMPNO=#EMPNO
    After deploying the bpel process data is updated in master(RECEIVER_DEPT) table with LAST_UPDATED as sysdate and read_flag as S
    however data is deleted in detail(RECEIVER_EMP) table rather than updated records.

    Xtanto,
    I suggest using JSP / Struts. UIX will be replaced by ADF Faces in JDeveloper 10.1.3 and thus I wouldn't suggest new developments to be started with UIX unless time doesn't allow to wait for ADF Faces. In this case develop UIX in an MVC1 model, using the UIX events for navigation because this model seems more likely to be mgratable, according to the UIX Statement of direction on Otn.
    Back to your question. You can create a search form in JSP that forwards the request to a StrutsData Action to set the scope of teh result set. The read only table can have a link or a button to call the detail page, passing the RoewKey as a string.
    Have a look at the Oracle by Example (OBE) tutorials that contain similar exaqmples.
    Frank

  • Table behind tax details in P.O

    Hi,
    im trying to find the tax condition types in a purchase order by going to item detail(invoice tab) ->taxes button and it displays the taxes .
    i'm unable to find the table where the tax conditon type , amount and the conditon value are being stored, though it shows komv and refers to konv. i checked and the tax details are not stored in KONV.
    Can some one help me out on how to retrieve the tax amounts?
    Regards,
    ravi.

    Hope this code gives you some idea:
    PARAMETERS: P_EBELN LIKE EKKO-EBELN OBLIGATORY,
                P_BUKRS LIKE T001-BUKRS OBLIGATORY.
    TYPES: BEGIN OF T_COND,
             KNUMV LIKE KONV-KNUMV,
             KPOSN LIKE KONV-KPOSN,
             KSCHL LIKE KONV-KSCHL,
             KRECH LIKE KONV-KRECH,
             KAWRT LIKE KONV-KAWRT,
             KBETR LIKE KONV-KBETR,
             WAERS LIKE KONV-WAERS,
             MWSK1 LIKE KONV-MWSK1,
           END OF T_COND.
    DATA: IT_COND TYPE STANDARD TABLE OF T_COND,
          WA_COND TYPE T_COND.
    DATA: L_KNUMV TYPE KNUMV,
          L_LAND1 LIKE T001-LAND1,
          L_KALSM LIKE T005-KALSM,
          L_KBETR LIKE BSET-KBETR,
          TAX_AMT LIKE BSET-KBETR.
    SELECT SINGLE KNUMV INTO L_KNUMV FROM EKKO WHERE EBELN = P_EBELN.
    SELECT KNUMV KPOSN KSCHL KRECH
           KAWRT KBETR WAERS MWSK1
           INTO TABLE IT_COND
           FROM KONV AS B
           WHERE KNUMV = L_KNUMV.
    CLEAR: L_LAND1.
    SELECT SINGLE LAND1 INTO L_LAND1 FROM T001 WHERE BUKRS EQ P_BUKRS.
    SELECT SINGLE KALSM INTO L_KALSM FROM T005 WHERE LAND1 = L_LAND1.
    LOOP AT IT_COND INTO WA_COND WHERE NOT MWSK1 IS INITIAL.
         CALL FUNCTION 'FI_TAX_GET_CONDITION'
          EXPORTING
            I_BUKRS                   = P_BUKRS
            I_LAND1                   = L_LAND1
            I_KALSM                   = L_KALSM
            I_MWSKZ                   = WA_COND-MWSK1
            I_TXJCD                   = ' '
            I_KSCHL                   = WA_COND-KSCHL
            I_KTOSL                   = ' '
            I_TDATE                   = SY-DATUM
          IMPORTING
    *   E_KNUMH                   =
            E_KBETR                   = L_KBETR
    *   E_KTOSL                   =
    *   E_KSCHL                   =
          EXCEPTIONS
            INPUT_PARAM_INVALID       = 1
            BUKRS_INVALID             = 2
            COUNTRY_INVALID           = 3
            TXJCD_INVALID             = 4
            CONDITION_NOT_FOUND       = 5
            OTHERS                    = 6.
      TAX_AMT = WA_COND-KAWRT * ( L_KBETR / 10 ) / 100.
    BREAK-POINT.
    ENDLOOP.
    Copy the above code to a temporary program and execute. Everytime you reach the break-point check the amount in TAX_AMT w.r.t the tax amount in PO.
    Kind Regards
    Eswar

  • 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.

  • Withholding tax details - mass change

    Hi All,
    We have the requirement of changing the customer/vendor master withholding tax details (tables LFBW / KNBW).
    we have tried using XD99. however XD99 does not update table KNBW. For vendors, we tried XK99 which can be used for changing fields of table LFBW. However it has following limitations,
    1. The new value can only be one value for all the records. We cannot update different values for different records.
    2. data can only be changed. It cannot be created or deleted.
    Can anyone let me know if there is any other method other than above.
    Thanks,
    Aman

    Hi,
    Even In LSMW you will have to use BDC method where you will use transaction FK02 while creating recording or BDC.
    Reference to the LSMW BDC method go to below link
    http://www.financialsexpertonline.com/downloads/0703.doc
    Regards,
    Chintan Joshi.

  • Tax field table  in purchase order

    Hi,
    What is the table  of the tax details that appear in the  invoice tab of t-code ME23N.
    Thanks in Advance.
    Regard
    Sam.

    this may help u...
    TABLES:ekko,ekpo,t001,marc.
    DATA:rkomk LIKE komk,
         rkomp LIKE komp.
    DATA:kalsm TYPE t005-kalsm.
    DATA:pc_komv LIKE komv OCCURS 0 WITH HEADER LINE.
    DATA : taxcom TYPE taxcom.
      CALL FUNCTION 'REFRESH_TAX_TABLES'
        EXCEPTIONS
          OTHERS = 1.
      SELECT SINGLE * FROM ekko
             WHERE ebeln = w_ebeln.    "<-----PO number
      SELECT SINGLE * FROM ekpo
              WHERE ebeln = ekko-ebeln   "<-----PO number
                AND ebelp = w_ebelp .     "<-----PO item
      taxcom-bukrs = ekpo-bukrs.
      taxcom-budat = ekko-bedat.
      taxcom-waers = ekko-waers.
      taxcom-kposn = ekpo-ebelp.
      taxcom-mwskz = ekpo-mwskz.
      taxcom-txjcd = ekpo-txjcd.
      taxcom-shkzg = 'H'.
      taxcom-xmwst = 'X'.
      IF ekko-bstyp EQ 'F'.
        taxcom-wrbtr = ekpo-netwr.
      ELSE.
        taxcom-wrbtr = ekpo-zwert.
      ENDIF.
      taxcom-lifnr = ekko-lifnr.
      taxcom-land1 = ekko-lands.                     
      taxcom-ekorg = ekko-ekorg.
      taxcom-hwaer = ekko-waers.
      taxcom-llief = ekko-llief.
      taxcom-bldat = ekko-bedat.
      taxcom-matnr = ekpo-matnr.      
      taxcom-werks = ekpo-werks.
      taxcom-bwtar = ekpo-bwtar.
      taxcom-matkl = ekpo-matkl.
      taxcom-meins = ekpo-meins.
      IF ekko-bstyp EQ 'F'.
        taxcom-mglme = ekpo-menge.
      ELSE.
        IF ekko-bstyp EQ 'K' AND ekpo-abmng GT 0.
          taxcom-mglme = ekpo-abmng.
        ELSE.
          taxcom-mglme = ekpo-ktmng.
        ENDIF.
      ENDIF.
      IF taxcom-mglme EQ 0.
        taxcom-mglme = 1000.
      ENDIF.
      taxcom-mtart = ekpo-mtart.
      IF NOT ekko-llief IS INITIAL.
        taxcom-lifnr = ekko-llief.
      ENDIF.
      CALL FUNCTION 'CALCULATE_TAX_ITEM'
        EXPORTING
          i_taxcom     = taxcom
          display_only = 'X'
          dialog       = ' '
        IMPORTING
          e_taxcom     = taxcom
    *    nav_anteil   = hwert
      TABLES
         t_xkomv      = pc_komv    "Tax Table
      EXCEPTIONS
          OTHERS       = 01.

  • How to get the tax data for the material in the Sales:sales org.1 view 1?

    as the title,many thanks!

    Hi,
    the TAX details are stored in table  TSKM  ---> Material Taxes
    You can find field TAKLV  --->  Tax classification of the material in MARA table .
    You need to link MARA-TAKLV  and TSKM-TAXKM field .
    Best regards,
    raam

  • ADF Master Table, Inline Detail Table - How to Scroll Range/Disclose Row

    JDev 10.1.3.2 ADF/BC
    I really need some help here. I've tried as many things as I could think of and I still cannot get this to work.
    Scenario: I have query/result page. User clicks a link in the result table to take him to another page. This page has a Master table, Inline detail table component (bound to a tree in the pageDef). Before the page renders, all I want to do is scroll the Master table to the current row (based on the previous query/result via invokeAction in pageDef) and disclose the inline detail. Simple, right? In addition, I'll need to scroll the inline detail to the current row as well.
    I would like to do this prior to the components rendering but would be interested in any coding to scroll and disclose.
    Thanks in advance,
    Tom

    I've come up with a solution to my problem. Unfortunately I'm not able to manipulate the table prior to rendering but this solution is probably the closest I'm going to get. Here is my code:
    I set up a af:poll component to fire once on my jspx.
        public void poll_PollListener(PollEvent pollEvent) {
            if (this.getFromProcess("unitRowKeyValue") != null) {
                int curIndx = this.getIteratorBinding("UnitsIterator").getRowSetIterator().getCurrentRowIndex();
                this.getUnitTree().setFirst(curIndx);
                if (this.getFromProcess("systemRowKeyValue") != null) {
                    this.getUnitTree().setRowIndex(curIndx);
                    DisclosureEvent de = new DisclosureEvent(this.getUnitTree(), true);
                    this.getUnitTree().queueEvent(de);
                this.storeOnProcess("renderPoll", false);
        }The setFirst method scrolls the table to the index specified. If the user, in my case, has selected a detail item (system), I want to disclose the detail. First I need to setRowIndex to the current index and then I fire a disclose event.
        public void unitTreeDisclosureListener(DisclosureEvent disclosureEvent) {
             if (disclosureEvent.isExpanded()) {
                 CoreTable coreTable = (CoreTable)disclosureEvent.getSource();
                 RowKeySet rks = new RowKeySet();
                 Object test = coreTable.getRowKey();
                 rks.getKeySet().add(coreTable.getRowKey());
                 coreTable.setDisclosureState(rks);
          }If I don't set the rowKey via the setRowIndex method above, the getRowKey does not return a valid rowKey. In my case, I only want one master row to be disclosed at a time.
    This all works great except for a bit of flicker to process the PPR request for the component.
    Next step is to see if I can scroll the Inline Detail table to the detail row selected in the Query/Result page.
    Tom

  • Detail table refreshing without partial trigger!!!

    Hi,
    my Jdeveloper version is 11.1.2.3.0
    I have a master detail structure on my page and i have two weird behaviors (that i guess are related).
    I created the master detail tables in the classic way:
    I dragged the master data control and doped it on the page as an ADF table (id t1)
    Then i dragged the detail data control (from inside the master data control) and drop it as an ADF table (id t2).
    I verified that the partial trigger property of the detail table does not contain the id of the master table (t1).
    however (the first weird behavior), at run time, the detail table shows always the right information of the selected master row.
    How can this happen?
    The second weird behavior is that i have createInsert button (created by drag and drop of the createInsert operation of the dataControl) in the toolbar of the master table.
    If i create a new row and fill the required data then navigate to another row, the detail table is refreshed correctly and shows the details of the newly selected row, but if i go back (re-select) the newly created row the detail table does not refresh and still shows the detail of the previous master row!!! (furthermore, i have input date in this newly create row, so if, at this stage, i click on the calendar icon to open it, the calendar doesn't open)
    I'm i doing something wrong? or should i change any property of the tables?
    Thanks for your help

    Hi Timo,
    Thank you for your reply.
    Actually no, i didn't commit the new record at this point and this is the problem.
    If i commit the new record (using the commit button created from the commit operation of the module), the page refreshes and works correctly.
    The problem occurs if i change the selected row (and then re-selected the newly created row) before committing the changes.
    Concerning the auto PPR, do you think that deactivating it may help? and if yes, how can i deactivated for this page only?
    I tried to change the "change event policy" property of both the master and the detail iterator in the page binding from ppr to "non" but nothing changed. The detail table still refreshes, and the problem with newly created master row still appears.
    One adiitinal note: i downloaded the sample from Andrejus Baranovskis's Blog
    http://andrejusb-samples.blogspot.com/2009/03/jdevadf-sample-create-operation-for.html
    and the page is working correctly. I also created a jsf page in this project with master detail using the same method i used in my project and this pages also works correctly.
    So this means that the problem is with the verision of jdev no? but what what is it???
    Thank you again
    Edited by: 997720 on Apr 5, 2013 8:48 AM

  • Advanced table in advanced table- Need custom Detail table data.

    hi,
    I have a advanced table in table. Now for the inner detail table I have a Language column. For each row in master table I have correspoding 3 detail table records for 3 different languages. This languages are related to another master table called Language where there is a flag that indicates that this is a Installed language.
    Now what I want to do is instead of showing the data from the master and detail table, I want to show the languages from the master language table ( say example French, Chinese, Spanish - for which I have corresponding records in detail table). If tomorrow, I have a new language that is installed ( i.e. the flag in the master Language table is set to Y), the automatically a new row should get added in the detail table with the new langauge . say e.g. if tomorrow German language is installed the detail table rows should have 4 rows ( including German to be displayed)
    CAn this be achieved with the master - detail advanced table layout ?
    Sorry if not clear, i can try to explain again :(

    Vishal
    Please post your complete code so that we can diagnose it further.
    While posting the code please enclose it between {noformat}{noformat}.
    for e.g.
    {noformat}{noformat}
    select * from dual;
    {noformat}{noformat}
    looks likeselect * from dual;
    Thanks
    AJ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Sort on  Shipment Number Switcher in PO details table in iProc doesn't work

    The Shipment numbers column of the PO Details table which are a part of
    Requisition details page of iProc appear in descending order. We want to sort this in an ascending order, but setting the Sort Allowed property of the field to Yes/Ascending does not give desired result.
    First of all, the column is displayed not by "PosShipmentNum" field (rendered False) but by a "ShipNumType" switcher. Setting this switcher's Sort Allowed property Yes/Ascending does not work either. Instead it adds the following code snippet is added to the VO query at runtime:
    QRSLT WHERE (PO_LINE_ID in (select po_line_id from PO_DISTRIBUTIONS_ALL pod , po_req_distributions_all pord, po_requisition_lines_all por where pord.DISTRIBUTION_ID = pod.REQ_DISTRIBUTION_ID and pord.requisition_line_id =
    por.requisition_line_id and por.requisition_header_id= :1 ) AND
    PO_RELEASE_ID is null AND PO_LINE_ID = :2) ORDER BY SHIP_TYPE asc
    and gives the following error:
    java.sql.SQLException: ORA-00904: "SHIP_TYPE": invalid identifier.
    It looks like some code is overwriting the properties set at the page level.
    Any pointers on how to sort a switcher field would be very helpful.
    Thanks.

    Is there any way to make it work on Oracle 9i?
    michaels>  select * from v$version
    BANNER                                                         
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    PL/SQL Release 9.2.0.8.0 - Production                          
    CORE     9.2.0.8.0     Production                                      
    TNS for HPUX: Version 9.2.0.8.0 - Production                   
    NLSRTL Version 9.2.0.8.0 - Production                          
    michaels>  create table persons (
        id  number(9)
           ,surname  varchar2(50)
              ,constraint persons_pk primary key (id)    )
    Table created.
    michaels>  create or replace type t_number_array as table of number;
    Type created.
    michaels>  create or replace procedure p_mrgts2 (p_id persons.id%type)
    is
       l_ids   t_number_array;
    begin
       l_ids := t_number_array (p_id);
       merge into persons p
          using (select * from table (cast (l_ids as t_number_array))) d
          on (p.id = d.column_value)
          when matched then
             update set surname = 'Updated'
          when not matched then
             insert (id, surname) values (d.column_value, 'Inserted');
    end p_mrgts2;
    Procedure created.
    michaels>  exec p_mrgts2(1)
    PL/SQL procedure successfully completed.
    michaels>  select * from persons
            ID SURNAME                                          
             1 Inserted                                         
    1 row selected.

  • Inconsistent inserts into detail table of master-detail form

    Hello,
    [I am not sure if this is a bug or user error, so I've also put this in the bug tracking system.  Apologize for the 'duplication']
    I have a master-detail form: Orders is the master, and Order_Details is the detail. I have noticed some inconsistent behavior when inserting the detail information.
    On occasion, the row will be inserted, and a null value will get inserted into the database for the first column of the detail table; all the other data values will be inserted fine. There doesn't seem to be any pattern to when it happens. I wrote down the following test steps:
    1. Enter new order information and click 'Create'
    2. Click 'Add Row' button so can add order detail info
    3. Enter detail row information
    4. Click 'Add Row' (I do this so I can see the success message that the detail data was actually inserted)
    5. Click 'Apply Changes' at the master level.
    I ran a query on the order details table and saw that the data inserted correctly. Then I ran the following test:
    1. Enter new order information and click 'Create'
    2. Click Add Row button so can add order detail info
    3. Enter detail row information
    4. Click 'Add Row' (success message appears that detail was inserted)
    5. Enter second detail row information
    6. Click 'Add Row' (success message appears that detail was inserted, however, now in the first column of that second detail row - the product name field/column - the data does not appear. I only see my null text value. The data in the first detail row is all correct)
    7. Enter third row detail information
    8. Click 'Add Row' (success message appears that detail was inserted, and this row's information appears correctly, as does the first row's, but the second row is still showing a null value for the product name column)
    9. Click 'Apply Changes' to get out of the form
    A query of the order details table shows that a null value (-) has indeed been inserted into the table for the product name column of the second detail row.
    This behavior also happens when I don't have a null value for the LOV (i.e., it defaults to the first row of the lookup table).
    Has anyone seen this before? Am I entering the data incorrectly?
    Thanks.
    -melissa
    Message was edited by:
    mblakene

    having the some problem. Any help with this ??
    milowski were you able to solve it ? can you share the information.
    Thanks

  • Can't Find Owning Entity From Detail Table With 2 Masters

    Hi,
    I've got a master detail table relationship working with association and view link but when I try to do it again with the same detail table but a new master table I am getting the error, JBO-25030: Detail entity RulBAAG with row key oracle.jbo.Key[null 6A ] cannot find or invalidate its owning entity.
    I really don't want to have to create a seperate set of EOs and VOs for this second relationship. Is there something I can do programaticaly to identify which master / detail relationship the CRUD operation is for? Thanks-
    Master1 table: PK and FK, BId
    Master2 table: PK and FK, AgId
    Detail table: PK, BId & AgId

    Gabz,
    I believe you need to create the database foreign key relationship with "cascade on delete" set. Then ensure that your association in BC4J that models this relationship also has the "cascade on delete" property set (it should by default).
    With this set, deleting the master should automatically delete the children.
    Hope this helps,
    -brian
    UIX Team

Maybe you are looking for

  • Basic Question about Different Platforms & their Versions

    Hi Experts!! Can any one help me to understand. Q 1 : What all are the Different Platforms to design apps for SAP? Q 2 : What make them different with each other? Q 3 : What are the Different version available in market? Q 4 : What is the best among

  • Comcast Mail and Mail program

    I just changed over to Comcast and updated added my accounts to the mail program. I added 5 accounts from Comcast. All work fine except for one. The settings are all EXACTLY the same for each account. However, I cannot send to (nor receive from...) t

  • Is thre a Org Structure sub nodes limitation?

    Hi, Just wanted to check if there is an SRM limit on how many positions are allowed under an org unit. We need to add 2000 users and wondering how to integrate them. They will all have similar positions. Message was edited by:         Vic

  • Flash Player Active X11 Problems

    I have updated the new Flash Player 11 and now when i got to websites, it states I don't have a flash player or need to update. I have unistalled and installed it multiple times. I have also followed the troubleshooting steps online. I don't know wha

  • Changing mod_oc4j.conf

    Hi, Do i need to change restart the HTTP Server and 9ias after changing the $ORACLE_HOME/Apache/Apache/conf/mod_oc4j.conf?