Skip to Main Content

E-Business Suite

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Copying a field from previous line/database record

Jaikumar PatilMay 30 2024 — edited May 30 2024

Forms [32 Bit] Version 10.1.2.3.0
Oracle Apps R12

A Custom Form which captures Order Header and Lines details is developed and working.

  1. A change has to be made whereby one column(equipment_type) from previous line has to be copied when another line is being created. But the first line will be created earlier only. Then the Order is queried and new line will be added. To this new line, the equipment_type value has to be copied from existing record based on order_id and equipment_id. Which trigger should I use to read the database table and fetch the equipment_type
  2. Also, both the lines could be created at the same time. Meaning both records entered but saved at the same time. The matching conditions should be order_id and another field called equipment_id. How to read the value of a field(equipment_type) entered in the previous line and copy to next record.

Please suggest leads. Thanks in advance.

Comments
Post Details
Added on May 30 2024
0 comments
264 views