[ExtensionOf(formDataSourceStr(LogisticsPostalAddress, TaxRegistration))]
final class LogisticsPostalAddress_TaxRegistration_Fds_Extension
{
public void delete() // not called
{
Info("fds delete extension");
next delete();
}
public boolean validateDelete() // called
{
Info("fds validateDelete extension");
return next validateDelete();
}
}
[ExtensionOf(tableStr(TaxRegistration))]
final class TaxRegistration_Dbt_Extension
{
void delete()
{
if (this.isFormDataSource())
info("table delete is FDS");
else
info("table delete is not FDS"); // goes this way
next delete();
}
public boolean validateDelete()
{
if (this.isFormDataSource())
info("table validateDelete is FDS"); // properly shown
else
info("table validateDelete is not FDS");
return next validateDelete();
}
}
Martin Dráb
510
Most Valuable Professional
Saalim Ansari
315
Adis
312
Super User 2025 Season 1