i’m modifying the New Release Product form (EcoResProductCreate) and I’m trying to set the value of a reference group (ProductDimensionGroup) to a default value. I tried to set it to a RecId of the origin table EcoResProductDimensionGroup but it didn’t work for me!
The code that I tried to execute was in the initDefaultControlValues method:
select RecId,Name from _ecoResProductDimensionGroup;
ProductDimensionGroup.value(_ecoResProductDimensionGroup.RecId);
It didn’t work for me and the drop down list text says “unknown”! Any advise?!!
Thanks!