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);
}
*This post is locked for comments