Create master matrix form

HI,
IS IT POSSIBLE TO CREATE A MASTER FORM HAVING  A MATRIX LIKE PURCHASE ORDER WHERE  ITEM DETAILS CAN BE ENTERED ?
AND WHEN I CREATE A MATRIX, ROW CAN'T BE SELECTED. I WROTE CODE AS FOLLOWS WHEN MATRIX DEFINED-------
        '// Adding a Matrix item
        oItem = oForm.Items.Add("Matrix1", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
        oItem.Left = 5
        oItem.Width = 550 '350
        oItem.Top = 80
        oItem.Height = 320 '150
        oMatrix = oItem.Specific
        oMatrix.SelectionMode = SAPbouiCOM.BoMatrixSelect.ms_Single
        oColumns = oMatrix.Columns

Subrata,
      Did i get u r not i dont knw. I think u want  to add the data's from matrix to database.
For that u have to do is
If it is Predefined Screen u have to write in FormDataEvent.
If u add any fields and add to database mean u write as follows
If (BusinessObjectInfo.FormTypeEx.Equals("141")) And ((BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD) Or (BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE)) And (BusinessObjectInfo.ActionSuccess = True) Then
            Try
                BubbleEvent = False
                Dim Doc As SAPbobsCOM.Documents
                Doc = com.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseInvoices)
                Doc.Browser.GetByKeys(BusinessObjectInfo.ObjectKey)
                Doc.UserFields.Fields.Item("U_Gpno").Value = CStr(API_Frm.DataSources.UserDataSources.Item("grno").Value)
                Doc.Update()
        BubbleEvent = True
            Catch ex As Exception
                app.MessageBox(ex.Message)
            End Try
        End If
Here instead of using oPurchaseInvoice u use the Purchase Order
If this helps give reward points,
Regards,
Anitha

Similar Messages

  • Having problem with creating Master Detail form , please help

    I have to work on a project to create a survey system using APEX, as am new on using this tool , am still facing some problems to finish my job..
    i created Master/Detail form using wizard, the master form is working fine but am when i try to add data using the detail form its giving me error :
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "A884FA378C851786DDFE3A33709CB23C", item checksum = "5F8B1EE5CD3D46437455F43B37B9A6A0"., update "ABA"."ABA_SURVEY_SUBCATEGORY_MAST" set "ASCM_CATEGORY_ID" = :b1, "ASM_SURVEY_CODE" = :b2, "ASSM_SUBCATEGORY_ID" = :b3, "ASSM_SUBCATEGORY_DESC" = :b4
    i tried to go through the posts from others but i still dunno what is this error !!!& how to solve it..
    my master data table have 2 primary keys.. the details data table have 3 primary key all of them using trigger to fire a sequence to get the next_val!!
    am desperate & need help urgently for this ASAP.

    hello
    here is the solution,i hope this might help u.
    go to the code of your button and change write the following
    go_block('name of your master block');
    execute_query(no_validate);
    and in the object navigator make the first item in the master
    block that it should be displayed in the canvas and it must be a
    navigable item too.not a display item.
    thank you
    Zeeshan Ahmad

  • How to create Master Detail Form in htmldb 2.0

    This option use to be available in 1.6 but I can't see it anywhere in 2.0.

    Anonymous - Create Page>Form>Master Detail Form.
    Scott

  • Error creating Master/Detail Form

    Hi,
    I tried to create a master detail form. I went through all the steps fine, only when i click the button to create the form, i received the following errors:
    ORA-20001: Unable to create master detail page. ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Unable to create Master Detail pages.
    Could someone please tell me what's wrong?
    Thanks,
    Patrick.

    We are getting this message in several areas in the development environmnet. It's happening in the developer login screen, when creating new tabs, and when tryig to create master detail reports. Here is our error from the Apache Log:
    [Mon Mar  2 11:41:31 2009] [error] [client 10.64.8.231] [ecid: 1236012090:148.94.143.136:24226:0:1621,0] mod_plsql: /pls/apex_qmnt/wwv_flow.accept HTTP-404 ORA-06502: PL/SQL: numeric or value error\nORA-06512: at line 31\n
    I think this is different from the issue above as that is due to too many items in a shuttle list. Ours seems to be related to our new APEX insstallation. Any help is appreciated here.

  • Trying to create Master - Detail form, getting  ORA-06502: PL/SQL: numeric

    Anyone know why we might get this error trying to create a Master Detail form in HTMLDB 2.0?
    ORA-20001: Unable to create master detail page. ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Unable to create Master Detail pages.
    Return to application.

    Please create the failing case in your workspace on apex.oracle.com and tell us the workspace name, app ID and steps to recreate.
    Scott

  • Using layout wizard to create master details form

    I was using the layout wizard to create a master details form but for the details portion of the form, only one row of data was displayed. What needs to be done to have multiple rows displayed for the details portion of the master details form? I'm using Forms 9i.

    specify the number of records to display in either the layout wizard or in the block properties.

  • Create master document form with multiple sub form

    Hi Dear;
    how can i create a master form with multiple sub form using screen painter?
    best regards;

    Hi Dany,
    Do you mean a form connected to a MasterData Object with multiple childs?
    If so:
    1. Create a new ScreenPainter form;
    2. Add a Folder item for each of the childs;
    3. Add a new matrix to each of the childs and change their PaneLevel to from 1 to N (N = number of childs you have);
    If your code you then need to catch item pressed event for the Folder Items and change the form's Pane Level accordingly.
    Regards,
    Vítor Vieira

  • Problem in Master Detail form when using ADF table for Detail

    hi,
    jdev version-11.1.2.1.0
    i have create Master detail form using datacontrol drag as ADF Master Form Detail Table.
    Now when i create a new row in Detail table using CreateInsert button a blank new row created on the top of detail table.
    and other row show that data of previous record based on master.
    problem is that i want when i click on createInsert button all row of detail table should be blank and when user fill two or three row then commit.
    Thanks in Advance

    Hi,
    if a detail table has data, then createInsert adds to these. If you want to hide existing rows, create a new View Object instance and set its "Retrieve from the Database" option to "No Rows". The use an af:switcher to change the table shown when the user clicks the createInsert button. There is a bit of coding required to have this use case in ADF, but its mostly declarative. Bottom line is that there is no automated option other than creating new rows in a separate page or dialog if you are bothered by existing rows
    Frank

  • Can't put Combobox  in Master-Detail Form

    I'm trying to create Master-Detail form with LOV's, but in both the Master and Detail selection, the Item Type LOV doesn't include combobox.
    From the looking at some of the Posts, this seems to be possible.
    Does anyone know what I need to do?
    Thanks Larry

    Hi,
    This is because you do not have any LOVs defined in your application. This LOV will show the LOV types, only if the application contains any LOVs. Define a LOV and then edit the form. You will be able to see it.
    Thanks,
    Sharmila

  • Problem in Master Detail form

    Hello I am new to Form Developer and the question I am asking may be very simple for experienced programmers but as I said I am new to forms development so I am finding it a bit hard.
    I have got the following three tables in database.
    1. Student (roll_no, name) Primary key is roll_no
    2. Fee_type(Fee_code, Type, Amount) Primary key is Fee_code
    3. Fee_Receipt(roll_no, Fee_code, Date_of_Payment) roll_no & fee_code are foreign keys
    I want a form containing a combo box filled with all the roll numbers of students, a combo box containing all the fee types and then fields for entering data into fee_receipt table by using text items.
    I dont want to see the names of students, just their roll numbers filled in the combo box. I dont want to see the fee code i just want to see the fee types in the second combo box.
    how would i be able to do that. Any sort of help big or small will be appreciated. Thanks in advance

    Hi,
    Check this out... *[url http://www.holowczak.com/oracle/dev9i/#creatingmasterdetail]Creating Master-Detail Form*
    It is a similar kind of master-detail form. But you have to adapt your requirement accordingly.
    Hope it helps

  • Master detail form issue

    Hello,
    I am unsure if this is a bug or how I'm doing things. I'm using version 4.1.
    I am creating a master/detail report (on the same page) using the wizard to create the page. I have no problem creating the page and it works. The only changes I make to the detail region (which is a report) is to set it to display one record at a time, enable partial page refresh and change the layout to a vertical list including null columns. Essentially I want to see one record at a time. I can certainly page through them one at a time. However if I press "Add Row" it creates a new blank record below my existing one. If I keep pressing "Add row" I keep getting more blank rows. Shouldn't this blank row overwrite the currently displayed row so that there is only one row at any given time (whether its blank or a populated line). If I'm saying I only want one shouldn't it only ever display just one record regardless of whether your adding or reviewing existing detail records. It seems to me that if I tell it I only want one row, it shouldn't allow me to keep adding rows indefinitely which end up getting added to rows already on the screen. On a vertical listing with a lot of fields, you could end up scrolling for days.

    Hi -
    My assumptions are:
    1) That you have created Master/Detail form with both Master and Detail regions on the same page.
    2) The problem of NOT seeing the Detail happens when you are inserting (not updating) on Master,
    in other words when you are creating a new user in Master section.
    The Detail section (as created by Apex Master/Detail wizard) is a Report with a Condition set for display:
    "Value of Item in Expression 1 Is Not Null" with Expression 1 populated with PK of Master.
    So, change this condition to None and empty Detail section will appear in Create mode.
    Note that you must now set the Form object that holds the PK for new Master record by some means,
    (maybe a Page Process or such) before the Save is done, otherwise Detail record will not have FK.
    Also you are going to have to play with the Conditions on the ApplyMRU and ApplyMRD Processes created
    by the wizard to make sure they are only firing in Create mode when the Save for the whole page is submitted.
    Lastly you can clear the values on the page with a Process of type "Clear Cache for all Items on Pages" that fires
    last after page submission, again this may need a Condition to prevent clearing items before you are ready...

  • Master details form in Oracle BPM

    Hi All,
    Could anybody please let me know if we can create master details form in Oracle BPM too? If yes kindly help me in this regard. Thanks
    Regards
    Nasir

    Hi,
    I tested it on JDev12c and also works:
    Couple of tips:
    - Try to keep your payload as small as possible. Check this post: http://avioconsulting.com/blog/decoupling-oracle-bpm-process-instance-information If you put all your information on XML is like you have two databases and is annoying to keep them sync.
    - if you decouple your data, you will be able your UIs, so you could create an ADF app with bounded taskflows (e.g.: Master-Detail) and embed it on your ADF-HumanTask app.
    Hope this helps,
    Jorge

  • Download data as excel from master-detail form.

    Hi All,
    I have created master-detail form with two tables(i.e orders and items). how can i import data of specific order into excel using single button click. Can any one help me.
    I am using apex 4.1 version
    Regards,
    Vijay. J

    I have created master detail form. when i click on the button then the would downloaded to excel like below format. when we open the order and click the download button it fetch the line items of that order and display in below format (This like normal invoice form).
    CompanyName
    Bill to Address Shift to address
    Item code qty item price
    1 1 2000
    2 1 3000
    total 50000
    -------------------------------------------------------------------------------------------

  • How to Create a ADF Form same like in Oracle Forms

    Hi,
    I need to create a Form in ADF where in on the top I have two text fields with LOV and one Text with out LOV and a button. Selecting values from the first two should populate the value of thid text
    and pressing the button should actually populate the fields below.
    Below I have several other fileds of which few are queried from the database and other are calculated fields (aka like control fields in Oracle Forms).
    Now I am a Forms Developer and know quite a few things in ADF as well, like creating Master Details Forms and some of the work flows. Some basic functionaliy.
    I want to make an attempt to create something like this which is created in Oracle Forms.
    What I have tried as of now is create a query and added LOV to first Text. Displayed all the fields as ADF form and on top I have put a ADF Query panel , using this I am able to populate few of the columns.
    Can someone tell me what is the best way to do the things which I have mentioned.
    TIA

    Hi,
    If your need is to auto populate other employee fields of the page based on previous 2/3 fields like deptno, empno, loc, then you can achieve this with button action listener. You can add runtime bind variables to your view object and set them with user input values and execute query.
    for e.g, you can add below code in your AMImpl class and expose it to UI and invoke it from UI (from page, create a managed bean and call AM method)
    /***** Sample code only*****/
    public void refreshVO(Integer EmployeeNo, Integer DeptNo, Integer locNo)
    ViewObject vo = this.getEmployeeVO();
    vo.setWhereClause(null);
    vo.setWhereClauseParams(null);
    //Adding empNO where clause
    vo.setWhereClause("employeeno = :empNum);
    vo.defineNamedWhereClauseParam("empNum", null, null);
    vo.setNamedWhereClauseParam("empNum", EmployeeNo);
    // similarly add logic for DeptNo, LocNo and you can additional check if they are null or not null
    vo.executeQuery();
    Regards,
    Ravi Nuka

  • About having multiple blank  rows on master detail form

    Can I have multiple blank rows on detail form when I create master detail form?
    please help me
    shuyue

    Let me answer my own question.
    Set the number of rows to 500 and it will dynamically set to the number of rows.

Maybe you are looking for

  • Family sharing purchased app fails to download (repeatedly)

    I'm having trouble with iTunes app purchases with family sharing. Child #1 purchased an app (a few weeks ago)--not a free app. Parent (sponsoring user) purchased another app (a couple of years ago)--not a free app. Both apps support family sharing, a

  • Conversion of PDF to WORD (a problem with a file containing Persian text)

    Converting/copying  a PDF file containing a persian text to WORD (.doc) gives a distorted  WORD document!  Could any one please tell me what I must do to have a  sound and neat WORD (.doc) version of a PDF file containg a Persian  text? I use Adobe A

  • BAdI for change Material Description

    hi all experts can i use <u><b>BAdI</b></u>, how i do that. please tell me the steps.. i would like to allow or disallow  to change material description in short text field at follow t-code :: ME51N – Create Purchase Requisition ME52N – Change Purcha

  • Convert QuickTime VR file into Screen Saver

    I took a 360 degree panoramic photo with my camera and used the camera software to stitch them together and create a quicktime vr file. When I open the file I can manually pan around and around endlessly. I found free programs that can create a scree

  • Audioproblem in PPRO 2.0

    In the setting "widescreen" I imported 3 video and audio timelines in PPRO 2.0 When I try to "export movie" after editing, the following screen appears:The number of audio channels to create in the exported file must be equal or less than the number