Why some entity methods are not accessible in initNewItem()?

I am trying to access entity methods to set values but some of the set methods are not accessible via an object. Relationship is association. Why some are accessible and some are not? Is there any way of enabling access for some particular methods? Please do help me. Thanks

Hi,

Could you please describe in more details the problem you face?

Regards,
Gleb