mig28mx
28th February 2014, 03:47
Hello all,
I´m facing with the following situation:

In a maintenance session for the table 1, when a user adds a new record, that record must be copied to table 2. Just new records.

To do this, the user must save the record on table 1 and only then the record must be copied to table 2.


Any idea about the general guidelines to achieve this?

What is the choice to use to trigger the copy of the record when it was saved on table 1?

Thank you in advance

rclabso
28th February 2014, 08:12
I guess the source table was standard, if so? i think UEDLL will be the solution, try to explore the UEDLL functionality.

Regards

bdittmar
28th February 2014, 10:11
I guess the source table was standard, if so? i think UEDLL will be the solution, try to explore the UEDLL functionality.

Regards

Hello,

the Profile says BaaN IV. In BIV theres no UE functionality.

You have to put the logic in your sessionscript.

Regards

rclabso
28th February 2014, 10:29
opss, Im sorry, yap bernd is right UE is not possible in BIV

vamsi_gujjula
28th February 2014, 12:14
main.table.io:
after.write: and after.rewrite:
The actions programmed in this subsection are executed after each (re)write action on the main table. A write action occurs when a record is inserted. A rewrite action occurs when a record is changed. You can use this subsection, for example, to write data to tables other than the main table.

mig28mx
4th March 2014, 00:08
Hi all,
Thank you all for your suggestions.

Vamsi,
Yes your solution is what I´m looking for.


Thank you all.