Hi guys
Love the product! I have one challenge - My customers access my custom booking object (via VisualForce) to make a booking. I allow them to select their Account from a picklist.
What I am trying to do, is set the ‘Record Owner’ of the Booking to be the Account Owner already assigned under the Account (not the current user that’s set for the page). I have tried setting as reference (MyCustomObject__c.OwnerId = Account__r.OwnerId) but no luck.
Could you tell me how I can achieve this?
Many thanks in advance.
Regards
Alex
