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

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Denis Patrakov Profile Picture
    on at

    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.

  • San Artham Profile Picture
    3,175 on at

    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.

  • Verified answer
    Community Member Profile Picture
    on at

    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

    Thanks Ken

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans