12-28-2015, 11:23 PM
(12-28-2015, 04:11 PM)Guido1982 Wrote: So, the Save.php file in the folder for the current Module is only called when you use the normal 'save' button inside the application?
Correct
(12-28-2015, 04:11 PM)Guido1982 Wrote: And you could make custom code here, but that won't be called when you for instance save a record from a workflow function?
You should not make any custom code in this file. There are better ways to do that now: aftersave events, save_module, preSaveCheck.
(12-28-2015, 04:11 PM)Guido1982 Wrote: I understand that with timecontrol you needed a different function than the normal save action, for instance keeping in the record after the save is done.
Yes and no, at the time I created that I thought that was the correct way of doing it. I would do it differently now although that still works.
Joe
TSolucio
TSolucio