Insert field form account to quote

Hello,
I would need to enter account information into quote / order. Depending on the selected account, pre-fill payment terms, etc. I tried it through the workflow, but there I cannot insert the item from accounts into the quote module. Please, give me an advice. Thank you.

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:

Documentation is best place to start:
https://docs.suitecrm.com/developer/logic-hooks/
https://docs.suitecrm.com/developer/working-with-beans/

Thanks,

AlxGr

1 Like