raikar_raviraj
22nd January 2009, 11:55
Hi,

I am trying to use user exit functionality in ERP LN on purchase order table tdpur400.
I have defined a new program script with script code tdpur400ue and script type General Library,
but i am not getting the ue template in the script content.

Please advice. Also please provide me a sample ue script.

toolswizard
22nd January 2009, 16:30
The ue script is coded like a dal, not like a general dll. There are only 8 hooks allowed in the code. Business logic should not be entered. Otherwise it is just like a DAL. The hooks allowe are:

ue.before.before.save.object()
ue.after.before.save.object()
ue.before.after.save.object()
ue.after.after.save.object()
ue.before.before.destroy.object()
ue.after.before.destroy.object()
ue.before.after.destroy.object()
ue.after.after.destroy.object()

bigjack
23rd January 2009, 10:45
Hi,

I've lost touch with baan for last 1 year so can any one please tell me what is this user exit functionality ? Any links , docs are greatly appreciated

Bye

toolswizard
23rd January 2009, 16:03
Source encapulation is no longer included in the programming manuals for ERPln, althought certainly still available and possible. It has been replaced by hooks available at the DAL level. The standard program look for DAL's with a special coding (name) of the table name plus "ue". In these DAL's you can program extra table updates, custom field checks, etc for customizations.

While it does not replace source encapulation, (Qkey, RMCgen, Rush, SCM) it certainly is a step in the right direction.