12-21-2015, 10:55 AM
So basically every record in the system has to have an assigned user? That means I have to create this field, always for every custom module?
I see you use REQUEST in your example. Since this is a collection of all the superglobals, I guess this is a post variable? I see you have made a custom Save.php file here (mine, from the Payslip tutorial just contains an inclusion of the stock vTiger Save.php file). If I understand correctly, the 'focus' object is a temporary representation of the entity you are saving right? Will everything in the module's Save.php file be executed before the system actually saves the record?
I see you use REQUEST in your example. Since this is a collection of all the superglobals, I guess this is a post variable? I see you have made a custom Save.php file here (mine, from the Payslip tutorial just contains an inclusion of the stock vTiger Save.php file). If I understand correctly, the 'focus' object is a temporary representation of the entity you are saving right? Will everything in the module's Save.php file be executed before the system actually saves the record?