Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Retail P-001 job not updating records

Posted on by Microsoft Employee

We have created couple of custom tables in channel database and successfully synced with HQ. But if we update these synced records later from channel database it is not reflecting on HQ. We even tried to increase the counter field(in our case REPLICATIONCOUNTERFROMORGIN) also but result was negative. As per my observation P jobs will only insert records but no update. Please confirm my observation or suggest me a way to achieve the same.

*This post is locked for comments

  • Suggested answer
    Rafal Profile Picture
    Rafal 15 on at
    RE: Retail P-001 job not updating records

    You need make sure that:

    1. The field in your channel DB custom table that async service uses to track changes usually REPLICATIONCOUNTERFROMORIGIN is incremented each time you make meaningful change. What is important it must be greater than max value in crt.TABLEREPLICATIONLOG for your custom table. This will make sure that changed records will be uploaded to the HQ each time you run the appropriate p-job2018_2D00_12_2D00_19_5F00_16_2D00_16_2D00_32.png
    2. Remember that retail will bulk insert all new/changed records from your channel DB to HQ SQL TempDB. The trick is to alter standard code on the tempDB table - the one responsible for transferring records from TempDB to your AX tables. So please alter method InsertToRegularTable() of the tempDb Table2018_2D00_12_2D00_19_5F00_16_2D00_16_2D00_32.png

    Happy DAXing :-)

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans