Copy the value of the first detailed to the second detailed form form

Hi all

I have the form and the fields are like that these are multiple
prod_id   prod_name    quantity    price

101         drees             5             200
102          top               3             150
205          jean              2              520
I want to copy these data in the second when-new-form-sample form

Thanks and greetings
Vikas

Vikas,

That's why I wrote

But i did not find any relation field between the sales order master to detail and delivery master to delivery detail. ( I think you may not mentioned here.)

Replace WHERE A.SALES_ORDER_NO = with

WHERE A. =

Kind regards

Manu.

Tags: Oracle Development

Similar Questions

  • Copy the text of form field text box on another page

    Hi all

    I'm designing a document using Muse who, in a wizard-esque fashion, get the user to fill the fields of the form, and then the text entered in form fields is automatically filled fields of text on other pages so that a customized document can be printed.

    However, research, I made, I have not found anything I can use other than using PHP code style but I can't juxtapose that to bring the value of text to another page instead of an email.

    Any help would be greatly appreciated.

    Thank you, in advance.

    You need to add a custom to your form code to achieve this.

    These links will give you the correct answer:

    http://StackOverflow.com/questions/18474499/auto-populate-field-base-on-what-was-entered-i n - one other-field-simultaneously

    http://StackOverflow.com/questions/11660395/how-to-Autopopulate-an-HTML-form-and-submit-it - instantly

    http://icode4you.NET/website-forms-use-JavaScript-to-auto-fill-one-field-with-the-values-f rom-two-others-fields.

    If you use Adobe server for hosting your site, this document will allow:

    Customization of Web Forms

    Thank you

    Sanjit

  • Copy the value of the element

    Hello

    I was asked to create the form for a person using Forms 6i.
    Basically, they want some data to be duplicated between the tabs and tables.
    It's a thing of education, there are 2 tables
    1 an overview of the classes
    1 with detailed information on a slope.

    Then
    Grade_Overview table
    Student_Id
    Grade_Id
    Object
    Score
    Teacher comments

    Grade_Detailed table
    Student_Id
    Grade_Id
    Object
    Score
    Score_Breakdown
    Exam date
    Detailed comments
    Head teacher comments

    As you can see a large amount of data is duplicated,
    They would be like this every time that they entered on the tab that looks like Grade_Overview, no matter what the fields are duplicated in Grade_Detailed get automatically populated in this tab of the table and the form so that when they enter this tab, they must only complete the missing information.

    I thought that would copy value point to the work, but the two blocks are multi record to show up to 8 examinations both blocks and it is only copy the value of the first line records multi, rather than them all.

    Could someone advise me?

    Thank you

    Martin

    Hello

    If the answers are correct or useful mark it accordingly :)

    Concerning
    SANAE

  • I have a column with two values, separated by a space, in each line. How to create 2 new columns with the first value in a column, and the second value in another column?

    I have a column with two values, separated by a space, in each line. How do I create 2 new columns with the first value in one column and the second value in another column?

    Add two new columns after than the original with space separated values column.

    Select cell B1 and type (or copy and paste it here) the formula:

    = IF (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    shortcut for this is:

    B1 = if (Len (a1) > 0, LEFT (A1, FIND ("", A1) −1), ' ')

    C1 = if (Len (a1) > 0, Member SUBSTITUTE (A1, B1 & "", ""), "")

    or

    the formula of the C1 could also be:

    = IF (Len (a1) > 0, RIGHT (A1, LEN (A1) −FIND ("", A1)), "")

    Select cells B1 and C1, copy

    Select cells B1 at the end of the C column, paste

  • manually assign primary key and copy to the detailed form

    Hi experts,

    Oracle Apex 4.2, 11g database, using windows 7.

    I created a form and created automatic product no. (not only sequence) with logic and SQL. SQL query produced good wise exercise, and exercise begin from 01 July and ends 30 June each year. This means if the 07/01/2015 start it will create a new voucher No.

    The main Table name is GL_PV and the columns are:

    Number of PV_No

    Date of PV_Date

    Number of CC_code

    number amount

    Remarks varchar2 (100)

    Created a process to submit before the calculations and validations.

    The codes are

    NVL SELECT (MAX (to_number (nvl(pv_no,0))) + 1, 1) AMENDMENTS

    IN: P15_pv_no

    OF GL_PV

    WHERE pv_date

    BETWEEN to_date (' 01-07-' |) (extract (year from to_date (: P15_pv_date, "dd-mm-yyyy")))

    + case when extracted (month of to_date (: P15_pv_date, "dd-mm-yyyy")) < = end of another 0, then 6-1), "dd-mm-yyyy")

    AND to_date (30 - 06-' |) (extract (year from to_date (: P15_pv_date, "dd-mm-yyyy")))

    (+ case when extracted (month of to_date (: P15_pv_date, "dd-mm-yyyy")) < = 6 then 0 otherwise 1 end), "dd-mm-yyyy")

    and cc_code =: P15_cc_code;

    and press the button when Conditions = Generate_Button

    In the form of master I put the data and click on create button is working well and generating good can result.

    Now that I've created a detail of my detail table is pv_detail and the columns are

    pv_voucher_no

    pv_date

    account_code

    Remarks

    amount

    I want to create the relationship of the master / detail form.

    I tried:

    • primary key and foreign key, but does not. column GL_PV table primary key (PV_NO, PV_DATE), PV_DETAIL (pv_voucher_no, pv_date) foreign key table columns: -.
    • has created one for master and 2nd 2 form for details, good master shape generates but not detail of.

    I want to assign pv_no, pv_date in both value table (master / detail), in other words copy value pv_no and pv_date of main table in detail table pv_voucher_no and pv_date.

    Please advise how I can solve this problem.

    Thank you forum oracle to solve my problems.


    error report: ORA-01790: expression must have the same type of data, matching expression

    Find the solution on this forum

    Solution:

    Attributes and the tabular form:

    Change the default type = PL/SQL Expression on the function

    Default = to_date(:P15_PV_DATE,'DD-MON-YYYY')



  • How to check the existence of a value in a table before copying the data?

    Experts,

    I have a requirement in which I need to copy data (4 columns) table A to table B (4 columns)

    Table A (entry)

    PART_ID PART_NAME PART_OPT_CD ENGG_OPT_CD

    1 "AAA" 10 100
    2 'BBB' 20 200
    3 'CCC' 30 300
    4 'DDD' 40 400
    5 'EEE' 50 500


    I have a table named OPTIONS with a single column. This is a table of reference of business which has the master list of option codes.

    OPT_CD
    10
    20
    30
    50
    60
    100
    200
    400
    500


    I need to copy Table A to Table B, but in doing so, I need to check the values of columns 3 and 4 in the OPTIONS array.
    If there is copy the folder B. Otherwise error in the log in a file/table and continue with the next copy

    TABLE B (exit)

    PART_ID PART_NAME PART_OPT_CD ENGG_OPT_CD

    1 "AAA" 10 100
    2 'BBB' 20 200
    5 'EEE' 50 500

    WARNING file or a table should have the details below.

    300 ENGG_OPT_CD does not exist in the table OPTIONS, so part_id 3 have not migrated
    40 PART_OPT_CD does not exist in the table OPTIONS, then part_id 4 have not migrated

    Company don't bother about the format of error, we need this information to correct the OPT_CD in the OPTIONS table.

    Can anyone suggest a better way to do this. Thank you for your help in advance

    Hello

    Its very similar to your previous post.
    Re: PL/SQL help
    The only difference being that you have to outer join to your superimposed master table, since your search in two columns values occur only in a single column on your Master table.

    Something like that;

    create table a (part_id number, part_name varchar2(10),part_opt_cd number,engg_opt_cd number);
    
    insert into a
    (select 1 Part_ID, 'AAA' Part_Name, 10 Part_Opt_CD, 100 ENGG_Opt_CD from dual union all
    select 2, 'BBB', 20, 200 from dual union all
    select 3, 'CCC', 30, 300 from dual union all
    select 4, 'DDD', 40, 400 from dual union all
    select 5, 'EEE', 50, 500 from dual union all
    select 6, 'FFF', 60, 500 from dual
    )
    /
    
    create table b (part_id number, part_name varchar2(10),part_opt_cd number,engg_opt_cd number);
    
    insert into b
    (select 1 Part_ID, 'AAA' Part_Name, 10 Part_Opt_CD, 100 ENGG_Opt_CD from dual union all
    select 2, 'BBB', 20, 200 from dual union all
    select 5, 'EEE', 50, 500 from dual
    )
    /
    
    Create table master (OPT_CD number);
    
    insert into master (
    select 10 opt_cd from dual union all
    select 20 from dual union all
    select 30 from dual union all
    select 50 from dual union all
    select 60 from dual union all
    select 100 from dual union all
    select 200 from dual union all
    select 400 from dual union all
    select 500 from dual
    )
    /
    
    create table log_msg
    (msg varchar2(100)
    ,t timestamp default current_timestamp)
    / 
    
    SQL> insert all
      2    when Master1_ID is not null and
      3         Master2_ID is not null then
      4      into b (Part_ID, Part_Name, Part_Opt_CD, ENGG_Opt_CD)
      5      values (Part_ID, Part_Name, Part_Opt_CD, ENGG_Opt_CD)
      6    when Master1_ID is null or
      7         Master2_ID is null then
      8      into log_msg (msg) values (Part_Opt_CD || ' ' || ENGG_Opt_CD || ' does not exist on the Master table')
      9  select m1.Opt_CD      as Master1_ID
     10        ,m2.Opt_CD      as master2_ID
     11        ,a.Part_ID      as Part_ID
     12        ,a.Part_Name    as Part_Name
     13        ,a.Part_Opt_CD  as Part_Opt_CD
     14        ,a.ENGG_Opt_CD  as ENGG_Opt_CD
     15  from (
     16        select a.Part_ID, a.Part_Name, a.Part_Opt_CD, a.ENGG_Opt_CD
     17        from a
     18        left outer join b on  a.Part_ID = b.Part_ID
     19        where b.Part_ID is null
     20      ) a
     21  left outer join master m1 on   a.Part_Opt_CD = m1.Opt_CD
     22  left outer join master m2 on   a.ENGG_Opt_CD = m2.Opt_CD
     23  /
    
    3 rows created.
    
    SQL> select * from log_msg;
    
    MSG                                         T
    ------------------------------------------- -------------------------
    40 400 does not exist on the Master table   05-OCT-11 09.44.17.621000
    30 300 does not exist on the Master table   05-OCT-11 09.44.17.621000
    
    SQL> select * from b;
    
       PART_ID PART_NAME  PART_OPT_CD ENGG_OPT_CD
    ---------- ---------- ----------- -----------
             1 AAA                 10         100
             2 BBB                 20         200
             5 EEE                 50         500
             6 FFF                 60         500
    

    Note, I have included an additional line in table A in order to prove that the INSERTION will occur in table B. Errors, as you can see have been inserted in the table LOG_MSG.

    Published by: bluefrog October 5, 2011 09:48

  • Copy the value of a cell in another tab.

    Hello

    First of all, I'm french. I hope you could understand my poor English.

    I have a got a form with a tab where you can sup or ad raws.

    I gat a second tab.

    I would like to copy the value of the cell (textfield) in a cell in the second tab.

    I try ' this.rawValue = evolution.forobj.tab1.r1.txt1.rawValue; ' event, but it does not change.

    Thanks for your help.

    Nath

    Hi Nath,

    This should work in case the object in tab2 calculate:

    this.rawValue = evolution.forobj.tab1.r1.txt1.rawValue;
    

    The language must be set to Javascript.

    There is another way to approach this problem without script. So, if you can not get this to work, come back.

    Niall

    Ensure the dynamics

  • New Hardware Wizard two elements that show in detail: the first watch Root\legacy_cd20xrnt\software... and the second is Root\legacy_hpn\software

    I hope I am posting this in the right space... on windows xp sp3.

    At the start of the installation Assistant starts... want to install and unknown device... (not tried to install anything in a long time) Looking in the Device Manager, there are two elements that show in detail...

    The first watch Root\legacy_cd20xrnt\software... and the second is Root\legacy_hpn\software.

    have not clicked on install only cancel...

    ran a total analysis of AVG and total bytes Malware scan and they found nothing.

    What are and how...

    Check these:

    http://www.cybertechhelp.com/forums/showthread.php?t=211599&page=19

    http://www.computing.NET/answers/security/root-legacy-npf0000/22753.html

    http://www.malwareremoval.com/forum/viewtopic.php?f=11&t=30570&p=299717

  • I just copy a file by ctrl + c then I'll stick with ctrl + v, that after I copy the file (b) by ctrl + c and paste ctrl + v and once again if I need to paste everything first: to leave what shortcut I use

    I just copy a file by ctrl + c then I'll stick with ctrl + v, that after I copy the file (b) by ctrl + c and paste ctrl + v and still, if I need to paste everything first: to leave what short cut I have we

    On Mon, 24 Sep 2012 15:49:08 + 0000, ajay8055 wrote:

    I just copy a file by ctrl + c then I'll stick with ctrl + v, that after I copy the file (b) by ctrl + c and paste ctrl + v and still, if I need to paste everything first: to leave what short cut I have we

    You can't do it without third-party software. Just go back and
    Copy the file (a).
    Ken Blake, Microsoft MVP

  • Copy the settings of another first Pro CC synchronization account?

    Hi all

    How can I copy my personal account sync settings adobe account of my work? I'm under first cc v9.2. These settings live anywhere on my computer, I could just copy in a different folder, or everything is done through the cloud? Thank you.

    The command "settings of another user" will do just that, it will eliminate your current settings with those of another user; you don't want to do. You simply want to leave the first sign of your account from the CC application and connect with your professional account. All this will do is change who the software is licensed for the moment, it will not change your settings. Then, because your settings will be the same as they were with your personal account, you simply open first and synchronize your settings to the cloud. If you have no existing parameters with your professional account then first do you that if you want to upload or download, it will simply download your settings. If you want to be sure you can back up your "profile-CreativeCloud' and the 'profile-"username"' folder on your desktop so that you can experiment without worry of losing your settings. If something goes wrong, you can simply copy the files back to your Documents folder. After all this is done you can reconnect you to your personal account. I do it regularly at home, but I go the other way. I disconnect from my personal account, log in to my work, download settings, new sign in my account, and then for good measure, I download these parameters to the cloud.

  • Copy the value of the item to another page of the apex in a field

    I have a main table and adds a new button.

    In my master table, there is a client code.

    If I press this button again, I will be referred to another form on another page where I can create log files.

    For the moment, I have to insert the client code in this form.

    How is it possible to copy the customer ID, if I press the new button in the main table, if this customer code (value) will be copied

    in another article on my other page?

    Hello

    What version of APEX are you using?

    Solution for this should be simple.

    Just edit the button element. Assign it "Action when the button is clicked" "redirect to the page of this application.

    "Then set: Set on these elements ' with the name of the target element and the 'with these values" with the name of the source element.

    The same works also for reports. But instead of the nom_element, you must add the column name as: #COLUMN_NAME # for 'with these values.

    Concerning

    J

  • Copy the LOVs display value to something else

    Hello

    I have: 1. two elements: P1_ID, P1_NAME and both are in the same form.
    2 P1_ID is a dynamic LOV witch popup displays the value of name (string, P1_NAME) and return the value of the id (number).

    I need: * 3. To copy the value of the item display P1_ID to P1_NAME. Can someone help me with this? Should I choose a different approach better then JS? *


    I tried with * $s (pNd, pValue, pDisplayValue) * but I only get the return value of P1_ID. I don't know how to get and use the pDisplayValue

    < script type = "text/javascript" >
    function getVal (NDP)
    {return ($v (NDP)! = "")? parseFloat ($v (NDP)): 0 ;}}

    function setvn()
    {$s ('P1_NAME', getVal ('P1_ID')) ;}}

    < /script >

    The JS is called from P1_ID: HTML attribute: onchange = "setvn (); »

    Thank you

    Hi 965374,

    create a dynamic action on the event change on the P1_ID. real action point should be set the value:
    -Set the Type = Expression JavaScript
    -JavaScript Expression = $('#P1_ID').val)
    -Selection Type = item (s)
    -Selection Type item (s) = P1_NAME

    Or you can do it with execution of JS Code and writing code:
    $s ("P1_NAME", $('#P1_ID').val ());

    BR,
    Marko Goricki
    ---------
    http://apexbyg.blogspot.com/

  • How to copy the values to another scene lighting effects

    Cs6 pro working, how can I copy the effects emna values to the next scene? The scenes are long from 5 to 10 seconds and I was reset values of scene by scene lighting effects. Is it possible to copy the values from one scene to the next?

    Normally, copy 'Effect' to clip and paste to the other will work just fine.

  • Copy the text of the planning cell and the supporting details

    Hello

    I need copy the supporting details and the text in the cell of a scenario to one another without copying the data.

    Is it possible to do outside the "Administration-> copy data" option in planning?

    Is it possible by accessing repository tables? If so someone please tell me the names of the tables in the repository where this information is stored?

    Thanks in advance...

    Hello

    What version you are, if it's 11 then you can try using lcm.
    It can be done with SQL queries, but it can be a bit messy, have a read of this [post | http://forums.oracle.com/forums/thread.jspa?messageID=3300400] it should help you if you want to go this route.

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Copy the value from one point to another element

    Hi all

    I have a few items of data selector and a check point, now I want to copy the value of the element selector data for other transmissions of data selector by clicking on the chechbox, an example of javascript?


    Thank you

    Deep

    Deep,

    So the objective is to copy a single date field in several date fields? try this out...

    
    

    See you soon,.

    Janet Tyson

    Published by: Tyson Janet on April 20, 2009 14:05

Maybe you are looking for

  • How to open a document in microsoft word on Ipad mini 4

    I'm looking for an app that will allow me to open and edit a document Microsoft Word 2016 on my Ipad mini 4.  The only one I can find seems to be for the Ipad pro.  Who will do the job on my Ipad 4 Mini? Thank you.

  • VIP mailbox empty

    My vip mailbox is empty. When messages arrive VIP, they land on the Inbox and are marked as unread. I see a similar number of unread messages in the folder of vip. But when I go to the vip mailbox, I don't see any mail. Thank you.

  • Aspire bios problem V5-573

    Hello last weekend, I tried updating the bios of my laptop (Aspire V5 - 573), with the newer (?) version (2.30) who downloaded from the Acer homepage. When I run the excutable update, I've seen the version number I used is 2.11. However, after runnin

  • copies duplex on 1563dnf MFP

    HP Laserjet 1536dnf MFP / product: c# 538 I tried entered copies front and back of the side output.  With either 1 or 2, or 01:58 back option. chosen when I use either the ADF or load originals on the glass, the device prints on one side and feed out

  • HP 1215 all in one printer scanner

    I can't scan anything, nothing works I downloaded low load after download, it used to work, but I'm getting nothing at all not even an error message when I click on the button scan from the printer?