I would like to transfer / forward the proposal reference No. and Date, to two different Sale Order complementary attributes (Type: 1. String & 2. Date) to appear at Sale orders when creating sales order from Proposal.
I know it can be done with Computed field but having issue with the code to define the reference & date.
I tried the following for ref. but it is fetching the wrong Proposal reference
Actualy, with your formula, you are loading the Proposal, with the
Means the third party ID…
First try to just put print_r($objectoffield) in the computed field.
It will display all the field of the object.
Try to see what is the name of the reference id of the proposal.
then replace socid by the good attribute on your formula and it should work.
I ran the print_r($objectoffield) and found the reference id as [ref] => TE/CT02/302 (showing the right proposal no as TE/CT02/302 ) then I changed thr code to