I am trying to create a logic hook to copy a custom object relationship from the lead to an account when it is converted. The custom objects are created as one-to-many with the lead and account (one lead may have many custom objects etc...). I have tried to use the example here How to transfer notes to opportunities or accounts when converting a lead in Pro 7.2 On-Demand? but even though it is faithfully reproduced, I keep getting an error Invalid usage of a function $module(). This means that I cannot loop through the looking for the relationship.
Do you think that you could help me with the code to get this working? I am using the latest OnDemand version as a trial.
Thank you very much,