Hi,
I would like to start from disclaimer
I highly recommend to perfrom all actions on test environment first and learn SPEL basics that could be obtained here: and here: Where can I find Spel functions documentation?
z_trigger (in my example) is a database attribute (like description, ref_num or any other), that will be used to initiate batching operation;
Looking at : "POST_VALIDATE z_trigger_init(z_trigger) 1337 FILTER(z_trigger{});" where:
POST_VALIDATE - means that action will be peformed after general object updates but before object being unlocked (sorry about this description, I really don't know how to explain it )
z_trigger_init - is function name;
(z_trigger) - attribute passed to that function;
1337 - sequnce, if you have multiple scripts you can build execute queue;
FILTER(z_trigger{}) - filter to run that script only when z_tigger attibute being changed;
Looking at my previous post, you need to create maj file (call it z_trigger.maj) and paste described code without any changes into it, then create z_trigger.spl file and paste code with cr::z_trigger_init function.
Regards,
cdtj