web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

DirPartyQuickCreateForm datasource LogisticsPostalAddress

(1) ShareShare
ReportReport
Posted on by 32

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?

I have the same question (0)
  • Rajmund Profile Picture
    32 on at

    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?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
BillurSamdancioglu Profile Picture

BillurSamdancioglu 95 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 76 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans