Hi i have Problem to set a few fields mandatory. For example LogisticsPostalAddress.Street
I tied to do it on datasource form bu isnt working. Last thing what i was tring is od the table
[ExtensionOf(tableStr(LogisticsPostalAddress))]
final class LogisticsPostalAddressTable_ARG_Extension
{
void initValue()
{
next initValue();
this.setMandatoryFields();
}
void setMandatoryFields()
{
FormDataSource dataSource = this.dataSource();
/dataSource.object(fieldNum(LogisticsPostalAddress, Street)).mandatory(true);
/dataSource.object(fieldNum(LogisticsPostalAddress, StreetNumber)).mandatory(true);
}
But this isnt working when i create custotomer this field still cut be empty and saved.
Know somebody so kind of issue and can help?
Hi i have Problem to set a few fields mandatory. For example LogisticsPostalAddress.Street
I tried to do it on datasource form but isnt working. Last thing what i was triyng is on the table
[ExtensionOf(tableStr(LogisticsPostalAddress))]
final class LogisticsPostalAddressTable_ARG_Extension
{
void initValue()
{
next initValue();
this.setMandatoryFields();
}
void setMandatoryFields()
{
FormDataSource dataSource = this.dataSource();
/dataSource.object(fieldNum(LogisticsPostalAddress, Street)).mandatory(true);
/dataSource.object(fieldNum(LogisticsPostalAddress, StreetNumber)).mandatory(true);
}
But this isnt working when i create customer, this field still cut be empty and saved.
Know somebody so kind of issue and can help?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156