Skip to main content

Notifications

Announcements

No record found.

How to invisible any fact box(form part) by code in D365. #ax #dynamics #D365

Hey there, I'm going to discuss how we can invisible any fact box(form part) by code in D365.
I wrote my code in the init() method Coc where I invisible the 'DetailsFBox' fact box.
 
// Coc of form's init()
 public void init()
    {
        next init();
 
        PartList partList = new PartList(this);
 
        FormPartReferenceControl formPartControlOrderedReserve = partList.getPartControlByFormName(formStr(DetailsFBox));
 
        formPartControlOrderedReserve.visible(false);
}

Comments

*This post is locked for comments