AlxGr
11 December 2019 01:27
2
You should try to use a before save LogicHook. From there you can retrieve the account bean using the id and assign the values from account into your required fields from your current module.
Check this post for some ideas:
Hello, Celso, Thank you again, just got the chance to test your latest code, it seems only working under if Module B is a βPARENTβ of Module A, I mean, for example, module B has a one-to-many relationship w/ Module A, because, currently, I am trying to grab something from A and display to B, it is not working.
Documentation is best place to start:
Intro Logic hooks allow you to hook into various events in SuiteCRM to fire custom code. This can allow you to, for example, make a call to an external API, or to create a new record if certain events occur.
Types Logic hooks can occur in three...
Thanks,
AlxGr
1 Like