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 :
Finance | Project Operations, Human Resources, ...
Answered

Basic Dialog Form fields

(1) ShareShare
ReportReport
Posted on by 114
I have a form (QuotationTask) that has a pattern Details Transactions that has header and line and I made a dialog form with pattern Basic-Dialog that opens when I click new in the QuotationTaskForm..
 
The problem is: The fields of the dialog form always read the first record!
I have tried to override the initValue of the datasource but it doesn't help.. 
 
 
This is the dialog form.
 
I have the same question (0)
  • Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi,
     
    In the menu item of the dialog form set the Copy Caller Query property to yes.
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
  • Abdullah_Ahmed Profile Picture
    114 on at
    I'm sorry but how setting Copy Caller Query property to yes helps? because it now opens the cursor record in the QuotaionTask form.. I wanna set a new QuotationId and different values for other fields!
  • Verified answer
    Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi,
     
    Do you mean you want the function of the form to create new records? If yes, then set copy caller query to No and modify the Open mode property on the menu item to New.
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
  • Verified answer
    Martin Dráb Profile Picture
    237,972 Most Valuable Professional on at
    It seems that you want to create a new record. You have two options:
    1. Either don't use any data source at all. Use unbound dialog fields and create a record in code when closing the dialog.
    2. Or, if you want to use a data source, create a new record (myDataSource.create()). The default behavior of data sources is that they load existing records (according to the form query) and you need to create a new record (e.g. by pressing Ctrl+N) top create a new record. Here you'll do it in code.
  • Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi,

    Is your issue resolved?  If yes, mark the answers that helped you as verified.

    Thanks
    Waed Ayyad
  • Abdullah_Ahmed Profile Picture
    114 on at
    It's resolved.. I'm marking the answers but I don't know why it isn't reflecting on the system!
     
    thank you guys so much for your help
  • Anton Venter Profile Picture
    20,346 Super User 2025 Season 2 on at
    Which answer was the solution? I can mark it as the correct answer (hopefully it will reflect correctly).
  • Abdullah_Ahmed Profile Picture
    114 on at
    The 3rd and 4th replies answer the main question.. thank you all

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans