Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Unable to Save the changes new DirtPatyTable field displayed on Employee Form?

(0) ShareShare
ReportReport
Posted on by 3,175

Hi,  I have added a new field called "Nick Name" on DirParty Table and displaying it on the Employee form.

This field on Employee form looks editable, but when i edit it is not saving the changes.  I am able to edit it on DirPartyTable Form.

any guidance would be great .

Thanks.

*This post is locked for comments

  • San Artham Profile Picture
    3,175 on at
    Re: Unable to Save the changes new DirtPatyTable field displayed on Employee Form?

    Thanks Ken

  • Verified answer
    Community Member Profile Picture
    on at
    Re: Unable to Save the changes new DirtPatyTable field displayed on Employee Form?

    Hi Santosh,

    Why not just create the new field in the emplTable?  Unless you need a nick name for each contact person, I don't see why you need to add it to dirPartyTable

  • San Artham Profile Picture
    3,175 on at
    Re: Unable to Save the changes new DirtPatyTable field displayed on Employee Form?

    Hi Denis,  then looks like i have to write code to allow my User to update this Nick Name field in the Employee form. can you tell me where would be the appropriate place to write this.

    Thanks.

  • Denis Patrakov Profile Picture
    on at
    Re: Unable to Save the changes new DirtPatyTable field displayed on Employee Form?

    If you're talking about EmplTable form then it's not intended to be used to edit anything directly in the DirPartyTable. If you look at \Forms\EmplTable\Data Sources\DirPartyTable\Methods\write then you'll see that the call to super() (where the changes are actually written to the database) is commented out:
    public void write()
    {
        // super();
        Address_ds.allowCreate(true);
    }

    That's why when you save the changes none of them are written to the DirPartyTable.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
Zain Mehmood Profile Picture

Zain Mehmood 6 Moderator

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans