Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

How to refresh form data base

(0) ShareShare
ReportReport
Posted on by 171
Hi Team,
 
I am following below link.
 
Here after call journalForm.runbaseMainStart(); i can see all the selected records are made same.
 
Exp:
If i select three records from form grid.
Test-001
Test-002
Test-003
 
After call  journalForm.runbaseMainStart(); all selected three records are made same.
Test-001
Test-001
Test-001
 
If i click on form refresh button again it came become original.
Test-001
Test-002
Test-003
 
After journalForm.runbaseMainStart(); I have refresh the data source using following code.
prodJournalTable_ds.refresh();
but it is not working.
 
Please let me know how to achieve this
  • Martin Dráb Profile Picture
    Martin Dráb 230,868 Most Valuable Professional on at
    How to refresh form data base
    Kevin's answer has nothing to do with the topic of this thread. I wonder if he's an AI bot or just a user who doesn't bother reading the question.
  • Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    How to refresh form data base
    Hi,
    Based on the problem you described, it seems that you have a problem refreshing the database. You can refer to the documentation here, which documents how to refresh the database and the prerequisites for refreshing the database: Refresh database - Finance & Operations | Dynamics 365 | Microsoft Learn.
    Best regards,
    Kevin
  • Bharani Preetham Peraka Profile Picture
    Bharani Preetham Pe... 3,587 Super User 2024 Season 1 on at
    How to refresh form data base
    Issue is not very clear. But as per my understanding, you were trying to update the said value to some other value in this journalForm.runbaseMainStart(). But have you checked same in SSMS if there were updated? If yes, you need to call reread or execute query in the form to see those changes.
  • Martin Dráb Profile Picture
    Martin Dráb 230,868 Most Valuable Professional on at
    How to refresh form data base
    I'm sorry, but I don't understand your description at all. What do you mean by saying that selected records are made? What does your statement "it came become original" mean? Please tell us more about what logic you implemented and what result you got.

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 Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,031 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,868 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans