How to create a custom function button for a custom module that copies address fields
Hi,
I have created a custom module called 'Organisations' in lieu of 'Accounts' (given the lack of mass email functionality) and would like to include a custom function that copies the Address Information fields.
The address fields in the custom organisation module are billing and shipping (similar to what is in the account module), and ideally (if possible) the function would allow both billing and shipping to be copied over (eg: billing to shipping & shipping to billing). However, if a vice-versa situation is not possible, I would be satisfied with being able to just copy Billing over to Shipping.
I am new to Deluge Language and am wondering if anyone can assist with how this function would look.
Thank you for your time,
Alan