johnmark
18th April 2013, 16:44
Dear All,

for doing Validations and alerts, do we require any source code or if we dont have the code, what is the procedure of doing Validations and alerts.

Let me know the procedure.

Thank you all

BaanInOhio
18th April 2013, 18:17
You can use user exit scripts to do some validation and alerts through DAL messages or something more complicated (email, update other tables, etc.). Import 'prog.name$' into the UE script if alerts are based on session or module. Validation can be a bit tricky since the UE executes right before (or after) the database is updated, so you should know a little about the session that you are adding the validation to. You don't want the standard script to commit to associated tables assuming that the main table commit will happen - which you could skip based on the validation. Validation should be done in the 'before' hooks since you can use the "changed()" call to determine if a field has been altered prior to validation. Alerts are best done in the "after" hooks.

bhushanchanda
19th April 2013, 06:51
Hi,

If on LN, explore DAL. And if you have ION integration with LN, it will help you to provide email alerts which can be based on particular events and can also be schedule on particular dates.