i have created Details transaction form and added Dialogue form when pressed (+New) button . when I add data into feilds of dialogue form I want to save data into Detail Transaction form when i press (OK ) Button.
.
(IN my senario it saves data on refreshing after pressing ok button )
first pic is from Details Transaction
second pic is from Dialogue form.
Hi jd junaid,
On the dialog form - Get the caller form DataSource - On closeOk method you can call the DataSource research method to refresh caller DataSource.
Thanks,
Girish S.
Hi Girish,
How exactly i can do this?
could you help me with code.
Refer to the below blog.
Write the logic given in the below blog for refresh on dialog form closeOk method.
https://axnotesblog.wordpress.com/2019/03/14/refresh-caller-form-in-d365fo/
ok thanks. ;)
Girish ,
i am facing a problem when i enter data into dialogue form and press ok button the data is stored but when i enter scond record it still shows data saved in previous data .
how to correct?
Does the DataSource of the Details master form and dialog form are same?
Dialog form will be opened against the current record in the details master form you have selected. So, it will update the values to current record only. It won't update for all the records in the table.
Yes girish,
Data source for both forms are same.
i saved data with this purch id on dialogue form butwhen i click ok(with overriddern method(closeok)) it shows the previous purch id and previous data in fields.
when i press OK button i want it to store fresh record data into details form .
I cannot understand your issues.
Can you tell me what functionality you are doing?
What is the purpose of dialog form?
Thanks
i am inserting data from ' dialogue form ' into 'details transaction form ' .
when i click NEW it takes me to dialogue form where i insert data into fields.when i enter OK button on dialogue form i want it to insert data into fields of details transaction form every time.
but when i press ok button it shows previously saved data every time but not the new data .
Detail master form will have Grid view and details view.
So I understand that you will be clicking new button from grid view and upon entering data in dialog form - details form will be opening.
Can you tell me how you are calling the details form?Meaning upon clicking ok button on dialog form how you are calling details form.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 696 Super User 2025 Season 2
CA Neeraj Kumar 569
Martin Dráb 551 Most Valuable Professional