Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

econnect sp throwing error while updating a customer

Posted on by Microsoft Employee
Hi All, I have two company databases.I need to synchronize the customer information ,ie if I create/update/Delete a customer record in one database it should create/update/Delete the customer in other database. I have a trigger on RM00101 for INSERT,UPDATE AND DELETE which will call the econnect procedure. For INSERT AND UPDATE the trigger will call taUpdateCreateCustomerRcd . For delete the trigger will call taDeleteCustomerRcd The insert and delete is working fine for me. But while updating a record in the customer maintenance window, throws the message without clearing the window even though the tables were getting updated. " This customer record has been updated since you opened this window.Changes won't be saved." The flags passing in the procedure are @I_vUseCustomerClass = 0, @I_vCreateAddress = 1, @I_vUpdateIfExists = 1, @I_vRequesterTrx = 0 please help me to solve this problem.

*This post is locked for comments

  • Re: econnect sp throwing error while updating a customer

    Hi Ranjith,

     I understand that you have written a trigger on and update to the RM00101 table that when an update is done it will fire the trigger which in turn calls the econnect stored procedure. I am thinking that when the trigger fires and calls eConnect procedure to update the RM00101 in the other company, then the trigger on the RM00101 on the other company is firing and updating the RM00101 in the company you are currently in.

    What I would like you to try is to turn off any triggers on the RM00101 table on the other company that you are synchronizing to and see if that gets rid of the error or if it still occurs.

     

     

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans