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)

Insert only on Specific Datasource on Grid

(0) ShareShare
ReportReport
Posted on by 90

I have my own Table that have relation with Worker table (hcmWorker, DirPerson, & DirPartyTable).

My table only keep the worker ID.

On grid i want to show the data from my table & display their name,addreess,etc based on the relation. Up until this step i have no problem, i can display the data as i want it to be.

Then i want to add new data to my table using CommandButton, but instead of inserting on my Table it also trying add new row to other table. is there a way for me to insert on my own table only. im trying to avoiding Display method here as it cant be filtered(Ctrl+G).

Thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    Hi ITIPG,

    Yes there is a way, you need to remove call to super() in datasource write() method. Look at InventJournalMovement form as an example, how InventDim data source is handled, you have it in grid but never let AX to insert a record from the form, it is always handled by code.

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