I'm in a situation where I need some code that updates an existing record from within the app. Since the update operation needs to trigger a workflow, I need a vtlib method to update. I've been searching for a bit now but can't find any clear docs on this. I suppose I need to include module.php and call some update method? Does anyone have any pointers to examples or docs?
Hmmm, reading the doc on how to save a record, I see that the intention is to first re-open the entity by getting the instance of it.. Modify where needed and then save it... Is that correct?
Hmmm, reading the doc on how to save a record, I see that the intention is to first re-open the entity by getting the instance of it.. Modify where needed and then save it... Is that correct?