When possible in Oracle Forms to insert a second line based on 1st row, so why not in the ADF?

Mr President

When possible in Oracle Forms to insert a second line based on 1st row, so why not in the ADF?

The user just enter data in the Module of sales in one line of a Bill as below

and it is displayed in two rows in financial Module.like below how to proceed in the ADF.

You can see that invoice line contains the sales tax and the gross sales amounts, then it is posted to the financial Module above two lines.

How to make ADF

Respect of

What I realized, this is:

-You have a table in you screen.

-You call CreateInsert 2 times to create 2 rows at the same time.

-You will enter value in a specific column (c1) line1

Looking for the value that you entered in row1 can be completely copied in the same column (c1), but in line2. is this correct?

If so try to do the following:

1. in the table inputText (c1) column set autoSubmit = true and setValueChangeListener to a method in backbean


       

2. in the inputTextValueChangeListener method to write this code

  public void inputTextValueChangeListener(ValueChangeEvent valueChangeEvent)
  {
    DCIteratorBinding tableIter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("tableIteratorName");// write table iterator name from pageDef.
    for (int i = 0; i < tableIter.getViewObject().getEstimatedRowCount(); i++)
    {
      ViewRowImpl myRow = (ViewRowImpl) tableIter.getRowAtRangeIndex(i);
      EntityImpl entityImpl = myRow.getEntity(0);
      if (EntityImpl.STATUS_NEW == entityImpl.getEntityState())
      {
        System.out.println("New row found");
        myRow.setAttribute("AttributeName", valueChangeEvent.getNewValue());// write attribute name
      }
    }
  }

3 - Add inputText id in the partialTrigger table


4 - pageDef. Set of table iterator rangeSize = "-1".

Tags: Java

Similar Questions

  • I have problems with the form widget. When I created my forms, I need to leave out the line, one email because my client does not want the message line and two because those who have tried to fill the online form cannot submit because that box "email".

    I have problems with the form widget. When I created my forms, I need to leave out the line, one email because my client does not want the message line and two because those who have tried to fill the online form cannot submit because the 'email' box keep rejecting their email address valid. And I just tried to remove the line in my form and it does not allow me to delete or to mark it as not necessary either.

    Currently, there is no way around the field email forms of the Muse. Another option is to have a look at Jotforms or another third-party provider of shape that Muse has widgets for.

  • Unable to connect to the Oracle Forms cmdlet after 30 Seconds (OATS)

    Hello

    While playback get error of OATS (Oracle Application Testing Suite) am most of the time 'Impossible to connect to the Oracle Forms applet after 30 Seconds (OATS)'.

    Please suggest solution for this type of error. I can't go further with this type of error.

    Kind regards
    Sairam

    Hi Sairam,

    GoTo OpenScript preference and change timeout for reading of the EBS/forms.

    Launch OpenScript, click view and select Preferences OpenScript. Then select Oracle EBS/functional forms under playback. Change timeout value.

    Kind regards
    Dembélé M

  • When I tried to installHoyelpuzzle and Board of Directors, it was installed but that it would not complete the installation

    I installed several card games again and had no problems.  But when I tried to installHoyelpuzzle and Board of Directors, it was installed but that it would not complete the installation. I have

    Windows Explorer and uninstalled until I reinstalled it.  I've done 4 times.  He went all way through the process, than to see a message that Setup could not be resumed.  Given that the other two disks of Hoyle have been correctly installed, why do I have problems with the drive of Hoyle puzzle and board? I contacted Hoyle and does everything that they told me to do.  But without success.  What could I do it wrong?

    Hello

    (1) what is the operating system that you use on the computer?
    (2) you get error codes?
    If you use Windows 7, Hoyle Board Games is not compatible with Windows 7.
    You try to install the game in compatibility mode.
    Click on the below link to check the compatibility of the game.
     
    You can check the link below:
    Make older programs in this version of Windows
    You can check with the manufacturer of game for patches to run the game on Windows 7.
    http://support.Encore.com/
    I hope this helps!
  • Is this possible in Oracle Forms?

    Hello


    Is it a way to oracle forms ([32 bit] Version 9.0.4.0.19) of the form jump to the top or the browser tab down in the taskbar to blink or not even give any kind of alert when a particular action takes place?

    your help would be appreciated :)
    Thank you

    Hello!
    Here is a very good solution cheap:

    On the Windows client activate and start the Messenger service.

    If something happening in your form that need attention just write:

    begin
    webutil_host.nonblocking ( 'net send ' || webutil_clientinfo.get_host_name || ' Attention please!  Forms detect something you have to see !' );
    end;
    

    If the client sends a message to himself.
    Or you let the server do this for:

    begin
    host ( 'net send ' || webutil_clientinfo.get_host_name || ' Attention please!  Forms detect something you must see !' );
    end;
    

    Concerning

  • Is it possible to have a subform on a second page of "slide up" If there is room on the 1st page?

    Hello

    I have a form that based on the option selected in the upper part of the form, it will display a set of fields in a subform and hide the other set of fields within a subform. ERGO leaving room for more fields to fit on the first page.

    Is there something I can do to compensate for the first subform on the second slide page if there's enough room for it?

    Thank you for any assistance.

    Kim

    Hello

    If you go to the hierarchy and to seize the subforms page2 and then drag the page1 more in the view of the hierarchy and the release. Designer goes to subforms page1 and place them at the bottom. Once empty page2, delete it.

    Check pagination page 1 settings are "continue to fill the parent. Also check that page 1 is for page breaks in the content.

    The next big change is that page 1 should be defined in a schema Flowed (object > subform palette). This will move the objects according to their position in the hierarchy, and more to the left of the page.

    In the design view and preview you should always have two pages. You may need to work with subform dimensions and margins to get that it's looking like you want.

    Finally, in your script when changing presence use 'hidden '. that will not only hide the subform from the user, but also free up space for lower subforms back.

    Niall

  • Why not ' t the illumination of the keyboard upwards when I type?

    the keyboard on my laptop always turn on when you press a button and just stopped, how to enable light sources?

    The lighting of the keyboard is a function of the software installed by the manufacturer of your laptop.

    I would go to the support site of the manufacturer of your laptop for assistance.

    Also, check the manual that came with your laptop.

  • Why not place the Oracle data files on local disks

    Hi, I want to ask a fundamental question.

    Almost any Oracle installation I've seen, data files have been placed on Mount points, disk etc..

    Is there a reason for this? Why no one does place for local disks oracle data files? I couldn't find the answer on the installation guide

    I ask this because I will install oracle (10g) on vmware and trying to decide whether to put data on the vmdk (virtual computer local disk) files...
    Is - this recommended? If not, why it is recommended to put data files to a disc of fixation for point/external etc..


    Thanks in advance

    Hello

    People store data files on separate disks
    (1) bettter performance
    (2) the data can be in a centralized storage
    (3) if the OS crashes always files are safe
    (4) configurable with raid options
    (5) hot Swapping
    (6) easily can add additional storage

    Kind regards
    Delphine K

  • When you set the outgoing SMTP server, why not specifying the SMTP server 'by' is not working, but only the first specified server?

    I have several options for the outgoing SMTP server. I put a default and attempt to send. It fails and uses the first condition in the list.

    I restart Thunderbird and try to send. It uses the first condition in the list.

    I eliminated all SMTP servers in the list but the one I want, and it works.

    What escapes me, that I have observed this problem on all my systems for a long time?

    Kind regards

    Carl

    your lack of anything that account having a SMTP server associated with them, which, if your 'in' an account more wrinkles 'default '.

    Right click on a folder in account, and then select settings.
    Click on the account name in the settings and on the right is a drop down list and the value 'default' smtp for this account.

  • When I plug the second monitor, both screens go black - I can not change the settings for external monitor

    Help, please!

    Hello

    I suggest you to return the item and check if it helps.

     

    Solving the multiple monitor problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-multiple-monitor-problems

    You can also try lowering the resolution of the screen and check if it works.

    Change the screen resolution

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution

    I hope this helps.

  • How to post several lines in oracle FORM

    Hello

    I created a custom form that has a header block and a block of retail. the retail block can have multiple lines. I have a requirement that lines (multi-line) block detail data will be validated during the recording of the record. Please indicate how we can do?

    Please note that the data are not saved and yet, it will be validated during registration or any click of a button.

    Please notify. It is urgent.

    Thank you

    Pirre

    Make the echo of Christian question... What do you mean by "validating"?  You have not yet defined what it means in your scenario!

    Is your retail block a block of the base table, or a control block?  Rather than the trigger key - Commit, you could use the triggers we insert or we--update since these will be triggered for each line that oracle Forms will insert or update.  If you want to keep your validation in the trigger key code - Commit, you will need to loop through all the rows in your detail block and validate each line manually.  If the validation logic is the same for inserts and updates - you can put this logic in a unit of program (procedure) and then call this procedure in the Insert and update triggers on.

    What about using the trigger when-validate-Record?  This trigger fires as you navigate from one line to the other, but it will save a loop block (if you continue to use the "enter" key).

    Craig...

  • DUP Val on index. In oracle forms

    I created a unique index on 3 columns in table.
    When I create double recording it raises already record exists.
    How can I capture this error in oracle forms.
    In pl/SQL, I can use exception when dup_val_on_index and update the record.
    Level trigger validation key block I want to make this exception.

    How can I raise dup-Val-on-index in oracle forms and update the record. Please help me. It is urgent

    THX

    Hello

    try to insert into another table archive or journal or re - write your update as...

    UPDATE table_name
    SET comm = 1000
    where...;
    

    but I have not tried this before...
    It is better to raise the user input and prevents the form by inserting a new line...

    Kind regards

    Amatu Allah

  • Internet Explorer default for Oracle Forms, instead of Google Chrome

    I use 10g Oracle Forms and reports configured with Java 6 on Internet Explorer. I have to use Google Chrome sometimes for security reasons. There are therefore two browsers installed on my computer.

    When I run Oracle Forms, it uses Google Chrome. How can I get Internet Explorer default for Oracle Forms, instead of Google Chrome.

    Please let me know, how should I solve this problem.

    Noor

    Noor ul Huda wrote:
    I use 10g Oracle Forms and reports configured with Java 6 on Internet Explorer. I have to use Google Chrome sometimes for security reasons. There are therefore two browsers installed on my computer.

    When I run Oracle Forms, it uses Google Chrome. How can I get Internet Explorer default for Oracle Forms, instead of Google Chrome.

    Please let me know, how should I solve this problem.

    As'salamualikum Noor ul Huda

    First go to your form's constructor. In the menu EDIT travel PREFERENCES can DURATION tab and set the location of the Web browser. Here, define the path of the executable file.

    And check out this link. Make Chrome default browser

    Hope this helps

    Hamid

  • Can we have pop up similar to Oracle Forms LOV LOV

    JDeveloper Version - 11.1.1.4.0


    My form is made up of empid, deptid, projectid. I have an InlputwithListofvalues for the project ID.

    I want to change the default functionality of the search popup that appears by clicking the search icon. It should work similar to Oracle Forms LOV. IIN pop up I need to have that one field, say the search field. On enter a value in the search field and clicking on the "Search" button, it should try to match the empid, projectid and deptid value. It should return all records whenever these values match.

    Yes, it will not work with VC (and when I think about it, once again, it was very bad idea :))

    So you can do the following (this time I tested app, so it works - or at least compiles :))):
    1. you don't need any ViewCriteria
    2. Add the new variable to link to your LOV viewobject (for example: "p_search") and change the data type and the label
    3. change the where clause in LOV view the object, something like this:
    EmpID =: p_search
    or projectid =: p_search
    deptId = or: p_search

    4. set Queryble = false on all attributes
    5 Add this VO as LOV your fields
    And, that is :)

    Because you define queryable = false at run time, you will see only the input field for the connection variable

    Dario

  • Simulation Wizard in oracle forms

    Please can someone help:

    I work in a project and one of the requested forms is a wizard that guides the user to complete certain data entries.
    is it possible in oracle forms?
    I use Oracle 10 g of form. Ideas please

    Hello

    is it possible in oracle forms?

    Yes

    What kind of canvas is better for my situation: stacked canvas?

    pls use 1 table of contents which is your main canvas and then build your stacked paintings tell 3 stacked paintings

    then build your blocks of database by selecting the paintings in the block appropriate for each

    sooner or later to create time to FINISHED design buttons, THEN back and accumulate your triggers that will trigger the aid...

    SHOW_VIEW('CANVAS_NAME') ;  -- Show the Stacked Canvas in NEXT button...
    
    GO_ITEM ('Item_Name'); -- Go to the stacked canvas item ; should be navigable and visible in ur stacked canvas 
    
    HIDE_VIEW('CANVAS_NAME'); -- hide the original current canvas in synchronize 
    
     --- do this for each NEXT button all the rest depends upon ur needs...
    

    I hope this helps...

    Kind regards

    Amatu Allah

Maybe you are looking for

  • installed superspyware getting always annoying pop up ads in text

    on the pages of text, certain words have origins yellow if the cursor climb on top POPs a box with ads that are not related to the content of my page

  • Satellite C660D-102 blocks when past to the screen saver

    Hello I have a Toshiba Satellite C660D-102 of Windows 7 OS. Basically, if my computer is left unattended, and goes to the screen saver, it freezes and has to be restarted by holding down the power button. If I'm listening to the music, makes a loud n

  • Satellite A50-522 support MK8025GAS or MK8032GAX HDD?

    Hello I currently have a hard disk of 40 GB (MK4025GAS) installed.I want to double its capacity. I suppose it could be replaced by MK8025GAS. However, it seems that MK8032GAX is better in performance. The question is: Satellite A50-522 could support

  • can not boot from cd code 1

    HI.i want ti to re - install windows vista on my asus laptop, but when I press on boot on my recovery dvd, it says cannot start from the cd: code 1. can someone help me?

  • CM1415fmw: touchscreen CM1415fmw

    The touch screen of my CM1415fnw react anymore. I can't make copies, scans etc. of the touch screen. Any solution available?