How to add the action button for each column in the interactive report

Hi all

I'm new in APEX, so pls forgive my question, if it's simple, but I am struggling with this problem for days now. I have interactive report and you want to add button in each row. What I want to do with this button is the following:

1. to execute some stored procedure in need of that particular line item values

2. returns a (id)

3. go in another page in the application by passing the value out of the procedure (id).

and I'm not find the way to do it. I tried now means:

1. If I add the link of the column, so I can refer to the value of the current row, I don't know how to call the stored procedure and perform actions of rest I need

2. If I add the button to the region, I do not know how to reference the values in column of a particular line of the interactive report...

and I'm stuck...

I just forms and global report and probably still think the "wrong" way .

Any help would be appreciated!

Thank you!!!


user3253917 wrote:

Please update your forum profile with a real handle instead of 'user3253917 '.

I request of the company: there is a customer who always orders the same standard product orders (always order the same products, fair amount is different). I want to make it simple for the user: instead of retyping the command (master and few records details every time yet) I want to copy selected command (copy of the master record and record details) so that the user will only change date order (in master record) and amount fields in record details).

So, in order to give him:

1. the user must be able to choose the order in which I would copy (at page 4), select it,

2. I need to make PL/SQL procedure to insert the new master record (order) and a few record details (order_items) (copy of the order/order_items chosen in step 1)

3. navigate the user to page 29, where the master account at stage 2 insterted appears, so that the user can change the date and quantities.

Any solution will be highly appreciated! Thank you very much!!!

In simple terms:

  1. Add a link to column "Command copies" in the report on page 4, which sets the COPY request and passes the order ID on page 29.
  2. On page 29, create a process before header, sequenced to be the first process executed and conditional on REQUEST be EXEMPLARY, which creates a new order as a copy of the order with the ID from page 4 and returns the ID of the new order in the PK command ID of 29 page element.

Tags: Database

Similar Questions

  • Add radio button to each row of an interactive report: possible or not?

    First of all, let me explain what is the point of this application.
    I do an application that allows you to select an item in a drop-down selection list. This list is a list of food categories. Suppose the user selects "Fruit."
    Then the page refreshes and shows an interactive report with a list of foods which belongs to the category of fruit.

    This is where I want to change things:
    I want the user to be able to view the interactive report, but in this interactive report, I would like to add a button for each row.
    Then, when a certain type of food is selected (say "Strawberry") via the radio button, a text field should appear under the interactive report. In this textfield, the user can then add the weight of the food, and then it will calculate how many carbs in strawberries there.

    All that I really want to know is:*.
    How can I add an option button to each row of the interactive report, and how to bind this option button to the value of that particular line? *



    Additional information:
    The "P17_FOOD_CATEGORY" element contains the following LOV:
    Select FOODCATEGORYNAME as display_value, FOODCATEGORYID as return_value
    of FOODCATEGORY
    order by 1

    The 'Food' region contains the following source:
    Select a.FOODID, B.SID, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME unit
    food an inner join FOODCATEGORY b
    On a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    On a.FOODID = c.FOODID
    where a.FOODCATEGORYID =: P17_SET_CATEGORY

    EDIT:
    PLEASE, I BEG YOU! Even if you don't know an answer, or if you are unsure of your answer, publish! Same suggestions will be welcome! I really need all the help I could get, even if it's not much.

    Published by: 917169 on February 29, 2012 12:25

    Hello

    I had the problem, that you have found.

    >
    Error cannot change the interactive report query.
    ORA-12899: value too large for column 'APEX_040100 '. "" "" WWV_FLOW_WORKSHEET_COLUMNS '. "" DB_COLUMN_NAME' (real: 32, maximum: 30)
    >
    you found this problem because the size of this apex_item.radiogroup(1,a.FOODID) is longer than 30 characters, but we have certain restrictions for the column names, we cannot use more than 30 characters for column names, then for what his use of name of column, please see below changed the code.

    select  apex_item.radiogroup(1,a.FOODID) as "FOODID", a.NAME, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME Unit
    from FOOD a inner join FOODCATEGORY b
    on a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    on a.FOODID = c.FOODID
    where a.FOODCATEGORYID = :P17_SET_CATEGORY
    

    Hope you help

    Thank you
    Jitendra

  • How to replace the interactive report '-' for null with white columns fields?

    The reports interactive one places '-' for null column fields. In the classic report, column null fields remain just as a draft. Y at - it a setting to change how many interactive reports display columns null fields? I would prefer that it be display as the classic report and leave the fields to null as a draft column.

    THX

    Published by: jngoracle on July 24, 2010 22:43

    Hello

    Will modify your report interactive report attributes.
    In the paging section, you can change attribute "see the Null Values as".

    BR, Jari

  • How to view the interactive report Max records?

    Hi all

    I use an interactive report and showing the total records say 100, but it shows only 15 documents in a single page and remaining reviews by clicking on the next button.

    How to display the max records in a single page-say 50...

    Thank you
    David...

    Hello

    Another interactive report is displayed. Note that only 5 rows are shown. 10. select in the drop-down list of lines.

    http://www.Oracle.com/technology/OBE/Apex/apexusr31/apexusr31.htm

    concerning
    Daniele

  • How to reposition the interactive report (IR) research progress indicator?

    I would like to place this "turning circle" lower that it's now - or even in the middle of the screen.

    Igor

    Hello Igor.

    The location of this spinning thing comes from this parameter in apex_3_1.css:

    #apexir_LOADER
    left:48%;
    position:absolute;
    top:4px;
    }
    

    You can override that by putting this code in your HTML PAge Header

    
    

    Then the circle will appear somewhere in the middle of your page.

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Count values not null for each column in a database

    Hello

    I need to write a routine that counts how many values a not null for each column in a database.
    The first idea would be to loop on all_tables / all_tab_cols and write a select statement as
    EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM '||table_name||' WHERE '||column_name||' IS NOT NULL' INTO v_count;
    However, this would mean a complete table for all columns not indexed scan. It's about when I have a maximum of 59 columns for a table with millions of rows.

    A better idea? I don't have the exact number. For example, for the number of rows in a table, I just use all_tables.num_rows.

    Concerning
    Marcus

    Ask the NUM_NULLS of the ALL_TAB_COLS column (and subtracting the total of the lines).

  • Right-banner: how to add the button to subscribe

    Hi all

    I have a kiosk with application of law where I am now rethinking the right banner. It should now include a "call to action" - button for registration.

    Means, if a user clicks on it, iOS subscription dialog box should be initialized.

    Well, I have not really an idea yet how proceed on this. Is it correct to treat him like that?

    document.getElementById('btn--buy-subscription').addEventListener('click', function() {
        if (window.onadobedpscontextloaded) {
            adobe.dps.subscription.purchase();
        }
    });
    

    What I should charge for that? I could not get a helpful information on devnet or the API documentation... Thanks for any help!

    You must contact Support Gold support. We have developer support available for enterprise customers, take advantage of this

    Neil

  • How to add the table radio button.

    Hello

    I want to update the record if I want that an option of button raduio shaped tabular .There is no option for tabular.
    How to add the table radio button.


    Thank you

    Published by: 805629 on February 3, 2011 04:56

    Use APEX_ITEM. BOX API in the definition of SQL query for the form of tables

  • How to add the primary key for the table with the existing data?

    The table is already busy data. There was no primary key before, so for each column, there are some duplicate values.

    I want to add a new column, which should be of the integer data type and can automatically incremented, from 001. I tried with Oracle SQL Developer, but it says "ORA-01758: table must be empty to add mandatory (NOT NULL) column. How can I do? Thank you!

    Hello

    Look for the [ALTER TABLE | http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_3001.htm#sthref4803] command to find out how to add a column (step (1)) and a (step (3)) constraint to an existing table.

    For the step (2):

    CREATE SEQUENCE  employee_id_seq
    START WITH  1
    ;
    
    UPDATE  employee
    SET     id  = employee_id_seq.NEXTVAL;
    

    When you create a sequence, START WITH 1 is the default value, so that the line is not really necessary above... I've included just to show how you could start with any number you have chosen.

  • How to add the "print" button in the payslip online

    Dear friends,

    How to add the "print" button in the payslip online (Employee Self Service). Is someone can pls let me know on this subject...

    regarding
    Swpana

    Hello

    Please see the following documents.

    Note: 332402.1 - can you mass printing of payslips online?
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=332402.1

    Note: 256072.1 - payslip V4.0 button "print" is missing
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=256072.1

    For more information on Advisor and Checkwriter deposit, please see:

    Note: 459306.1 - notice of Checkwriter/filing XML
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=459306.1

    Kind regards
    Hussein

  • How can I make a cell formula will apply for the entire column? For example D2 appears B2 - C2. How can I copy this formula for each cell in the column?

    How can I make a cell formula will apply for the entire column? For example D2 appears B2 - C2. How can I copy this formula for each cell in the column?

    If you want the formula is the same (B2 - C2) in the cell of each column you must change it as ($B$ - 2$ C$ 2). Then copy it, select the whole column and paste.

  • How to find the value max and min for each column in a table 2d?

    How to find the value max and min for each column in a table 2d?

    For example, in the table max/min for the first three columns would be 45/23, 14/10, 80/67.

    Thank you

    Chuck,

    With color on your bars, you should have enough experience to understand this.

    You're a loop in the table already.  Now you just need a function like table Max and min. loop.  And you may need to transpose the table 2D.

  • How to add the full value of two buttons?

    How to add the full value of two buttons (any key) VI and display it in the output text box? I am attaching a sample program, but I know that his evil... Help, please

    Try this

  • How to add the chapter name and page not for reference

    Hello

    How to add the chapter name and page not for reference in indesign CS6.

    Thank you

    Please try variable notion of text

  • Button skin: how to add the button properties (more, low, high)

    Hi all

    I made a custom button 'skin' because I want my buttons to be images with NO box or border around it and it works well, but I don't know how to add the functionality of the button. ex. In "over" State buttons tend to turn on, and 'down' State they tend to become darker. Anyone know how to apply it to an image? Here is my code. Thank you guys!

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:SparkSkin ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" width = "64" height = "64" >

    < fx:Metadata >
    [HostComponent ("spark.components.Button")]
    < / fx:Metadata >

    < s: states >
    < name s: State = "over" / >
    < name s: State = "low" / >
    < name s: State = "mounted" / >
    < name s: State = "disabled" / >
    < / s: states >

    (< mx:Image source="@Embed(source='assets/images/lightbulb.png')" / > "
    < / s:SparkSkin >

    You can try something like this:

    
    http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx"
                 width="64" height="64">
    
        
            [HostComponent("spark.components.Button")]
         
    
        
            
            
            
            
            
    
        
    
    
    

    Peter

Maybe you are looking for

  • Equium A80: qustion yellow mark on XP - ethernet controller

    I recently had to reinstall XP on a Eqium A80 friends, everything went well except in the Device Manager, I have still 1 point with yellow mark qustion, which is the 'Ethernet controller '. I downloaded and installed what I thought were all the pilot

  • 'connect', 'wireless network', 'preferred '.

    Where can I find my "network security key?

  • Error 1706 on start open the Update Manager how to fix

    When I start my computer update manager opens in a window and askes for a disc to be inserted when I cancel I get message Error 1706 no valid siurse could be found for product update Manager Windows install cannot continue. The only way I can get rid

  • camera with ICS problem

    I finally got the update for ICS on my Neo V. everything works well but the unit photo, front camera work at all (screen shows orange) and back camera lags badly when I record something. all the solutions or should I wait for an update?

  • Lost apps sony?

    My phone Z2 is 5.1.1. An app to the SD card stopped when the initiate and the SD card has been declared as corrupt (although later development in form not display any errors). Corrupt external applications have been refilled without problems, but whe