Skip to main content

One post tagged with "XppPrePostArgs"

View All Tags

Using XppPrePostArgs to pass parameters through a method

· 2 min read
Kome Hoang
Maintainer of Automaly

References

How to

Take a very safe table to play around: CustGroup (Customer Group), we will see how we can utilise XppPrePostArgs here to save a parameter before the update is commited to the database and then take it out for us to execute futher logic.

The tricky part is that such table does not even have an update method.

Normally saying, if a method is available on the common, we can navigate to the design of it and copy the Pre- and Post-Event Handler from here.