[ExtensionOf(formstr(LogisticsPostalAddress))]
public final class LogisticsPostalAddressForm_Extension
{
public void updateDesign()
{
FormBuildDesign formBuildDesign_WOOM = this.form().design();
FormBuildCheckBoxControl wareHouseOnlyCBCtrl;
wareHouseOnlyCBCtrl = formBuildDesign.control('LogisticsPostalAddress_WarehouseOnly');
next updateDesign();
switch (callerTableId)
{
case tableNum(CustTable):
wareHouseOnlyCBCtrl.visible(true);
break;
}
}
}
ExtensionOf(formstr(LogisticsPostalAddress))]
public final class LogisticsPostalAddressForm_Extension
{
public void updateDesign()
{
next updateDesign();
switch (callerTableId)
{
case tableNum(CustTable):
LogisticsPostalAddress_WarehouseOnly_WOOM.visible(true);
break;
}
}
}
wareHouseOnlyCBCtrl = formBuildDesign.control('LogisticsPostalAddress_WarehouseOnly');
[ExtensionOf(formstr(LogisticsPostalAddress))]
public final class LogisticsPostalAddressForm_Extension
{
public void updateDesign()
{
FormRun formRun = this;
FormCheckBoxControl wareHouseOnlyCBCtrl = formRun.design().controlname(formControlStr(LogisticsPostalAddress, YourCheckBoxName)) as FormCheckBoxControl ;
next updateDesign();
switch (callerTableId)
{
case tableNum(CustTable):
wareHouseOnlyCBCtrl.visible(true);
break;
}
}
}
Thanks,
Waed Ayyad
If this helped, please mark it as "Verified" for others facing the same issue
Sohaib Cheema
878
User Group Leader
André Arnaud de Cal...
681
Super User 2025 Season 2
Martin Dráb
496
Most Valuable Professional