12-08-2015, 10:29 AM
I'll dig deeper into the events when I have the time, I know I have to understand them better.
In the meantime, do you have a working example anywhere of creation of a record from a workflow task anywhere? My purpose is this: When an account, product or invoice is saved, the workflow task fires to send it to exact. Exact will return a response that indicates if it all went OK. I would like to use this response to create a record in my ExactOnline module. This way a user can check if there were any errors and what went wrong (if anything). Of course I could just create a row in the table, but then I wouldn't use the internal CRMentity table mechanism. Not a problem for me, since I don't require any functionality but I would like to have the module as neatly as possible.
I was thinking I just need the user ID, the rest of the updating of the crmentity table I can hardcode but I don't know if any other tables need to be updated.
In the meantime, do you have a working example anywhere of creation of a record from a workflow task anywhere? My purpose is this: When an account, product or invoice is saved, the workflow task fires to send it to exact. Exact will return a response that indicates if it all went OK. I would like to use this response to create a record in my ExactOnline module. This way a user can check if there were any errors and what went wrong (if anything). Of course I could just create a row in the table, but then I wouldn't use the internal CRMentity table mechanism. Not a problem for me, since I don't require any functionality but I would like to have the module as neatly as possible.
I was thinking I just need the user ID, the rest of the updating of the crmentity table I can hardcode but I don't know if any other tables need to be updated.