Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Some Retailtransactiontable records did not sync

(0) ShareShare
ReportReport
Posted on by 505

Good day.

i have a strange issue.

A few records in the RetailTransactionTable did not sync to AX from the beginning of the month. i can see the records in the RetailtransactionSalesTrans and RetailTransactionPaymentTrans. How can i replicate these transactions to AX in order to post them?

Any help in this regard would be appreciated.

Version AX 2012 R2

*This post is locked for comments

  • Rodolfo Recalde Profile Picture
    on at
    RE: Some Retailtransactiontable records did not sync

    Sorry, this procedure is only for R3 version.

  • B.W Profile Picture
    505 on at
    RE: Some Retailtransactiontable records did not sync

    Good day Sridharan and Rodolfo.

    Thank you for your response. i do not have a table like that in the store DB.

    when i run the script against the store DB, i get 'Invalid object name'

    We are using AX 2012 R2.

  • Rodolfo Recalde Profile Picture
    on at
    RE: Some Retailtransactiontable records did not sync

    Channel DB is in the store. Sridharan Jeyaram said.

    For now, just take the step by step of the incident 3211092 in LCS.

    Do not change the replication counter.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Some Retailtransactiontable records did not sync

    Hi,

    crt.TABLEREPLICATIONLOG will be available in store database. This table wont be available in AX and Message database. Rodlfo is asking you to check in Store (Channel) database.

    Sridharan J

  • B.W Profile Picture
    505 on at
    RE: Some Retailtransactiontable records did not sync

    Good day Rodolfo.

    Thank you for your reply. Where is this crt.TABLEREPLICATIONLOG table?

    what is the Channel Database?

    i have checked the AX database and the POS_Msg database.

    could i just set the replication counter to 0 for the particular table in AX? would that replicate everything in the table up to AX again?

  • Rodolfo Recalde Profile Picture
    on at
    RE: Some Retailtransactiontable records did not sync

    Hi B.A.

    Take a look in incident  3211092 - Transactions are not getting pulled to store HQ in LCS:

     

    MITIGATION

    How does Async Client know what records to upload during a P job?

    In the channel database the following table is checked for each table:

    SELECT ISNULL(MAX(FilterMax), 0) FROM crt.TABLEREPLICATIONLOG WHERE TABLENAME='ax.RETAILTRANSACTIONSALESTRANS' AND FILTERFIELDNAME = 'REPLICATIONCOUNTERFROMORIGIN'

    This check is done with all the tables that is sent to the HQ.
    So one thing you could do is to force the Channel Database into thinking that the records haven’t been uploaded to Async Server. If that table was cleared out it would “reset” the channel database and it would re-upload all records into a new RPF file.  This should be OK since any duplicate transactions would be ignored by AX.

    Follow this steps:


    1. Stop the AsyncClient in the StoreDB machine
    2. Make a backup of the Channel Database
    3. Delete records from the table crt.TABLEREPLICATIONLOG
    4. Start the Async Client
    5. Run the P-job

     

    3211092 Transactions are not getting pulled to store HQ

     

    See this Links:

    https://community.dynamics.com/ax/f/33/p/218402/586395

    https://community.dynamics.com/ax/f/33/t/212770

    https://community.dynamics.com/ax/f/33/t/147643

     

    I Hope this Helps!

    Regards,

    Rodolfo Recalde.

     

  • B.W Profile Picture
    505 on at
    RE: Some Retailtransactiontable records did not sync

    Good day Ducle91.

    The posting is not the problem.

    the problem appears to be that not all information for certain transactions for that particular day has replicated correctly. i can see information regarding the particular transactions in the RetailtransactionSalesTrans and RetailTransactionPaymentTrans tables but not in the RetailTransactionTable.

    i would like to know how to replicate the missing data in the RetailTransactionTable.

  • Community Member Profile Picture
    on at
    RE: Some Retailtransactiontable records did not sync

    Maybe you can try "Post Statement" you can find that under Retail>Periodic>POS Posting>Post Statement. Then select the store you want to post.

  • B.W Profile Picture
    505 on at
    RE: Some Retailtransactiontable records did not sync

    Good day.

    Yes i have, P Jobs run every 10 minutes. other transactions have replicated since then for that particular store. how do i replicate just the missing transactions.  

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Some Retailtransactiontable records did not sync

    Have you tried running the P-job?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans