Cannot create relationship master detail for datablock

Hi guys, my form currently has a relationship master detail for 1 datablock and everything works well. I now have a need to do a datablock different, based on the same table as the previous datablock but for some reason any that it won't let me create the same master-detail relationships, as I did on the 1st slice (and I need the same relationships to sort the block shows the same data as the previous datablock).

Anyone know why it won't let me create the relationship?

I encountered a similar problem before. When you say that you cannot create relationships is - it simply because you cannot select the master/detail through the wizard? If this is the case, you should be able to make the relationship manually, or at least I could when I had the same problem. Although I can't help, but wonder why it wouldn't let you select them in the wizard. There may be an underlying reason for this. But anyway, try and make the relationship manually and let me know if it works.

Tags: Oracle Development

Similar Questions

  • Display of a relationship master detail in an accordion panel or tabs

    Hello

    Is it possible to display a relationship master / detail in an accordion in the Panel, Panel tab or other component that visually separates the display?

    I have a Ministry - > employee master detail relationship and I want that every tab in my accordion to represent each
    departments and when I clicked on the tab, the list of employees related to this Ministry.

    I explore this idea, but I can't seem to find a resource on how to move forward. I use JDev 11.1.1.4. Thank you

    Hello

    I recently faced the same problem and did not find a solution either. So I set up a little more "dirty". :-)

    Instead of use the Department > employee link, I just created a new view (say EmployeesFromDept) object, which has a binding parameter called p_DeptId:

         SELECT ...
         FROM   EMPLOYEES e
         WHERE  e.DEPARTMENT_ID = :p_DeptId
    

    The data from that OV control will have an ExecuteWithParams operation that takes the id of service as input. Create a binding action in your definition of page that binds to this operation, called "RefreshEmployeesForDept":

         
          
        
    

    In your page, add the current DepartmentId to each showDetailItem using an attribute and add a disclosureListener:

         
                
    
                   
                   ...
                              
                   //Lots of mapping column here
                        
    
                
         
    

    Now, each showDetailItem which is generated knows the DepartmentId he "belongs to". In the toggleDisclosed(DisclosureEvent disclosureEvent) method, first get this attribute, so that you know the id dept of the showDetailItem that has been clicked. Then, call the action of RefreshEmployeesForDept programmatically binding if the current event is "disclosing the showDetailItem ':

         public void toggleDisclosed(DisclosureEvent disclosureEvent) {
              String currentDepartmentId = disclosureEvent.getComponent().getAttributes().get("currentDepartmentId").toString();
    
              if(disclosureEvent.isExpanded()){
                   DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    
                   OperationBinding operBinding = bindings.getOperationBinding("RefreshEmployeesForDept");
    
                   if(operBinding != null){
                        operBinding.getParamsMap().put("p_DeptId", currentDepartmentId);
                        operBinding.execute();
                   }
              }
        }
    

    Now, whenever a showDetailItem is open, the variable binding of the iterator belonging to your employee list will be updated with the correct DepartmentId. That is to say the Department that represents the showDetailItem.

    I hope this helps! If you find a solution cleaner, please let me know. :-)

    Kind regards

    Chris

  • Master/detail for printing of PDF report

    My application allows end-users a way to fill a transport request via a form, separated by about 10 regions. The application consists of about 50 fields (from the table requests) and n number of transport, penetrated through tabular form in the application form. Once they complete it and send it to the transport Department, I want them to be able to generate a master/detail of the application report , with information of demand on top and all the transport on a table.

    The DBA installed Apache FOP and it works fine for printing the report. We are on Apex 3.2, exploiting an Oracle 11g database.

    So I followed this guide: http://www.oracle.com/technology/products/database/application_express/howtos/howto_master_detail_pdf.html. I have created a master/detail form, installed Desktop Publisher BI, created the RTF template, everythng. But it is not out of what I want.

    When I "print" to PDF, I get only a table with transport, but no info on demand at all, even if I choose "Advanced (include session state information)" and I does not include session state information on all the variables I wanted for the output in the PDF file.

    Any idea of what this could be the cause? Session state disappears somehow when I print the PDF? Or is there a better way to solve this problem? Any help is welcome.

    Best regards
    Mathieu

    I decided to buy FO Designer of the Java4Less. For $ 60, it's a flight, and it works well. Need to change a thing or not in the XSL - FO generated, but nothing too difficult at the moment.

    Best regards
    Mathieu

  • Problem when Rollback an operation of creating scenario master / detail

    Hello.

    I use 11.1.1.7.0, and I'll try to explain my problem as clear as I could.

    I have in my DataControls

    • StateView1
      • SubstateView2

    I did drag SubstateView2 to my .jspx and create a master table - table in detail. This method works.

    My data are: State1 and State2, state3, air conditioned and have related subreports.

    Then I drag and drop a button to make the new State functionality. Create operation is called, a popup with the form is open, and it works too.

    Then I drag and drop a button to make the new subreport feature. Create1 operation is called, a popup with the form is open. This is somethig wrong.

    Suppose I chose State2.

    I click on subreport again, but I cancel the operation. Rollback is executed, and it works too.

    My question is now: I click on new New subreport button with State2 selected in the main Table. In this case:

    • I don't know how, but State1 is selected (and I did this).
    • Then, reload table detail with State1 associated subreports.
    • Popup is open to create a subreport State1 (but not State2 substate than I expected).

    What I am doing wrong? Any help would be much appreciated.

    Concerning

    Well, finally, when you close or cancelling the popup, this code works fine:

    DCIteratorBinding parentIter = ADFUtils.findIterator("StateView1Iterator");
    Key parentKey = parentIter.getCurrentRow().getKey();
    //You can add your operation code here, i have used simple Cancel operation with Rollback andExecute
    OperationBinding rollback = ADFUtils.getBindingContainer().getOperationBinding("Rollback");
    rollback.execute();
    // Execute for StateView1
    OperationBinding execute = ADFUtils.getBindingContainer().getOperationBinding("Execute");
    execute.execute();
    // Execute for SubstateView2
    OperationBinding execute1 = ADFUtils.getBindingContainer().getOperationBinding("Execute1");
    execute1.execute();
    parentIter.setCurrentRowWithKey(parentKey.toStringFormat(true));
    
  • relationship master detail

    Hello
    We have 3 blocks the relationship-based master detail
    Block A - header block
    Block B - block (block A child) child - multi block
    Block C - child of block B - block multi

    Block A
    Block C is a unique display form which is accessible when the button is triggered by the table of contents that block A and B are present on

    The user will enter data in block A and B and thenwill record data both

    Question
    (1) for a record in the block B - multiple records that may be present in the C block.
    We try to use an insert statement before the block B and explicitly to insert records into the table of block C. This approach is appropriate.
    (2) what are other possible solutions. -in terms of ttrigers used and at what level.

    Please answer as soon as POSSIBLE.

    Concerning
    SR

    948611 wrote:
    Hi Andreas,

    For the first part, Yes, it can be more than one record in the B block. What might be the appropriate trigger / level in this scenario.

    Hi SR
    If you want to insert the record in another table (table block C) after laying on a table (table B block), you can use the trigger for INSERTION posterior to the level of the blocks (block B), it fires after each record insertion.

    Hope this helps

    Hamid

    Mark correct/good to help others to get the right answers. *

  • How to create a master/detail with a PK of 4 columns form

    I want to create a report/form (or a master-detail form) based on a table with a primary key of 4 columns. But only up to 2 columns can be présicer at APEX. How can I handle this?

    Sincerely,

    James

    Hi James,

    I think Mike suggests that you create a SQL view on the table and bring together the different values of the primary key in a primary key, unique, unique, nickname. You can always include the individual columns in the SQL, but you can then use this new column as the primary key on a form. However, you also need to create instead of triggers to manage the changes/insertions/deletions that SQL does not update the tables in a view. (See: [http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28370/create_trigger.htm#i2064426] for more details on this Oracle or Re: how to upgrade the table or view for an example within the Apex).

    Ideally, however, you should only really need a column of key - is it necessary for four?

    Andy

  • How can I download multiple files in a relationship master detail?

    I would like to be able to download several files to a record (one to many). I tried to use a form master detail, but the form of tables does not support browse file. I searched the forum and found several examples asking how to download multiple files at the same time. This is not what I'm trying to do. I just want the user to browse, select a file, provide a file name and description. Then select the next file. When they are made by selecting the files (it can be one or more files) I want to that they hit the button send and I'll run a procedure that saves files in the database.

    How can I do this? Thanks, you're the best. Elizabeth

    Elizabeth,

    I had this situation come once and here is what I did, thought, may not be exactly what you are looking for.

    I created a collection to store the ID of files that had been transferred, as well as the key, and other information. Her search for an input file will transfer your files in the table wwv_flow_files on submit. I store the documents in another table of the application.

    The after submit process captures the id of wwv_flow_files where the name is = to your input file.

    After you add this ID and your master key associated with the collection, your last submit process retrieves files from wwv_flow_files and inserts them into your own table.

    I put an example on apex.oracle.com if that would be helpful.

    Thank you

    Jeff

  • Lion - cannot create the master Director Open Fusion 4

    I can't promote a Lion Server to an Open Directory in Fusion 4 (running the latest version of the Fusion and Lion) master. The Lion VM Server just hangs. I tried NAT and Bridged mode, neither one allows me to complete the process. Can I promote a physical machine very well. I was wondering if someone else ran into this.

    What is a good way to troublehsoot this on the side of Fusion, i.e. balls I should look? I support that I recently bought 4 merge, I should open a ticket with technical support?

    Thanks in advance for any guidance...

    Hi lerker,.

    Your VM has only a single processor core is attributed to the?  It seems that Lion Server will create an Open Directory master, unless the virtual machine has at least two CPU cores allocated.  That problem is described in the Release Notes for Fusion 4 under Known Issues > guest operating systems.

    Adding a second processor on the computer virtual kernel must solve this problem, but note that, in certain circumstances, the Lion trying to create the master OD seems to enter the customer in an invalid configuration from which it will not recover - in other words, there is a chance that you will need to do a fresh install after it bumping to two processor cores (or you might need to do a job more than I does it try to figure out how to recover the invalid configuration).

    See you soon,.

    --

    Darius

  • Cannot install CS6 master collection for mac pro book (end of 2011)

    Recently, I downloaded Adobe creative suite master collection for Mac CS6.

    However, I'm unable to install it. After you open the installer that does nothing, it does not further. I have tried to copy the contents of MasterCollection_CS6_LS16.dmg to another folder, and then open the install.app, still no progress.

    Will you please advice because I really need to install this.

    Screenshot below:

    Screen Shot 2012-05-11.png

    Hey Vikrant thanks for the reply.

    The situation is like this, I downloaded the image on my desktop pc (which is Windows) and then compress & split the image using a winrar. I then transferred the files to my mac pro book and extract the image here. Unfortunately, there was a bug in the software unarchiver that I used on mac to extract the image.

    This bug has been fixed in a release distributed by the dev today.

    Now I can install CS6 without any problem. Thanks for the replies once more.

  • How to create a dependent list of values based on the relationship master detail

    Hello

    I'm on jdev 11.1.2.4.

    1. I have a table main 'Reception' with the columns receipt_id and student_id (ReceiptVO)

    2. as well as an array of details 'Receipt_Detail' with the columns receipt_id, course_id (ReceiptDetailVO)

    (There are some othere columns in the two tables, but I've only mentioned those which is relevant to this example.)

    3. the two tables are related with receipt_id.

    I want to create a dependent class LOV that filter courses related to the student selected in the main table. (There is a student_course table that holds student_id, relationship of course_id, StudentCourseVO)

    to do this, I have

    1 created VO based on the student_course table

    2 Add a view that filters based on the id of the student

    3 assigned this VO to receipt_detail tables course_id

    It comes

    in the accessor receipt_details VO view, I do not show the ability to select the student_id of the main table (IE ReceiptVO). It only shows the columns in the ReceiptDetailVO.

    Please can you help me?

    Thank you

    What you need in your ReceiptDetailVO is the StudentId of master ReceiptVO attribute.

    To do this, you can:

    1. for your ViewLink (between ReceiptVO and ReceiptDetailVO), you must generate the Source accessor:

    In this way, in the VoRowImpl Java to ReceiptDetailVO class, you will get a way to access master ReceiptVO line (you can find a new method with the name that you gave the name of the accessor in the top of the dialog box)

    2. then, in the ReceiptDetailVO, create Transient attribute, say, MasterStudentId. Access Java's VORowImpl class, within the get for this new attribute accessor method, use the previous step name accessor method to get the line main and finally master StudentId.

    3. the rest is easy - use this new attribute transitional to filter LOV about the student teacher ID...

  • Post-requete trigger so that the blocks of data in relationship master detail

    With the help of forms [32 bit] Version 10.1.2.2.0 (Production) Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production.

    I have the following problem with a form that I'm working on. It has a block of data base with several blocks of detail data. I'm trying to create a trigger after query on one of these blocks of detail that will make a select using the value of one field of one of the blocks in detail.

    The problem that is the trigger after query of the data block with the fact that I'm doing the selection before triggers the shutter after request of the block that I need the value. I tested by simply putting in a message on the screen and it returns the value of the id I'm tryign to use. Just after I do a query on the form, I get messages saying:

    «Error: can not find the price for the id: "and there no identity and then the message of the other revenge after request by saying," id is: 123 "»»»

    Is it possible to change the order that the revenge indicate if they want to? Or should I use a different trigger to do?

    Hello!

    Take a look at the trigger WE-PEOPLE-DETAILS of your master block.

    Look where the Eastern bloc, you must be questioned in the first order.
    Place the above code the other sections of the block program.

    Be careful. May first make a copy of the trigger.

    Concerning

  • Cannot create a temporary file for processing

    We have a fancy new pc with Windows 7 on it and tons of hard drive space.

    We try to display a report on a Web site, but keep the message "could not create temporary file for processing."

    The used connection ID is an admin on the pc.

    Any ideas?

    Thank you

    Hello

    The message "could not create temporary file for processing" is usually occurs when the temporary files gets full. I recommend you to perform a disk cleanup, the link is provided below:

    http://Windows.Microsoft.com/en-HK/Windows7/delete-files-using-disk-cleanup

    I also suggest you to remove the cookies and temporary internet files, the link is provided below:

    http://Windows.Microsoft.com/en-us/Windows7/delete-your-Internet-cookies

    Thank you, and in what concerns:

    Imran M - Microsoft technical support.

  • Cannot create new album revel for Mac

    I got a new Mini Mac OSX 10.8.5 running.  I downloaded and installed Revel for the Mac and connected.  Everything's looking good.  However, when I try to click on 'Create a new Album', the cursor jumps down half a page on my list of album.  I can't seem to actually click on create a new Album.  I can click on my favorites above and all the albums below.  This seems to be a bug.  Any ideas?

    Thank you very much

    copperberry

    OK, my bad.  When I click on create a new Album, the new album is created at the bottom of the list of albums.  I don't see, because I was expecting a pop-up box to let me name.  Too bad!

  • How can I create a master detail pages

    I use dreamweaver cc. If I click on help, I get the info how it works in older versions. Also in the manual, only older versions are described. I don't know why adobe does this. Can someone show me step by step how to do this in dreamweaver cc?

    Does that help?

    List of Master Dynamic Dreamweaver with retail - YouTube link

  • Strange problem in relationship master detail

    I have a form of purchase order that contains the editable for invoice line table. I have a commandButton control in PanelCollection surrounding table that inserts the new row into the table by running the createInsert operation. I save the purchase order including those running a business defined in ApplicationModule anyway. In this process I download the order form and assigns a primary key for buy order and the elements of each line. Now the problem is that when I enter a single line item, I get 0 topic in my business method but when I get home from two or more line items, I am everything. I get headings and order form by using the findViewObject method. Kindly help me

    I remember now that you work with JDev 11 g, then the correct Developer's guide would be called something like "the fusion developer guide.

    In the manual of 10g I was talking (B25947_01) is 26.7 section I was talking about. Here's the intro to this section:
    26.7 entity control validation of order to avoid constraint Violations
    Due to data constraints, when you perform DML operations to save changes to a
    number of entity associated with objects in the same transaction, the order in which the
    operations may be important. If you try to insert a new line containing
    references to foreign keys before inserting the line referenced, the database can
    to complain of a constraint violation. This section helps you understand the default
    prescription for the treatment of objects of entity at validation and how to
    programmatically influence this order when necessary.

    I understand that this problem is not an exact match to your question, but I have the feeling that something about this causing you problems.

    Michael F.

Maybe you are looking for