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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

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
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 53 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans