
Hi,
I have created a Extension class for a form(DirPartyQuickCreateForm).
In this i need to declare some global variables since Over-layering is not recommended i need to declare these variables in extension.
When i tried to declare cust table im facing an error "Fields defined on an extension can only be private,internal or public but not protected.
Thanks and Regards
Vignesh Thirunavukkarasu
*This post is locked for comments
I have the same question (0)Because extension classes are final, methods/declarations can't be marked as protected and if there is no access modifier defined then the variable declaration is protected.
Hence, the most simple thing to do is to declare it as either public/private/internal variable. Example:
public CustTable custTable;