Skip to main content

Notifications

Announcements

No record found.

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

Synch order from retail to HQ generate linedisc/linepercent issues

Posted on by 49
Hello all, 
 
I'm facing a weird issue in the synch order process from retail.
When we try to synch order from retail the process create a SalesTable and his SalesLine(s) in the right way but, I don't know why, the SL are always being updated and it changes the values of the lineDisc and linePercent.

I'm trying to go deep in the troubleshooting and after so much debug I'm not able to undestand how the SalesOrder/SalesLine are being created. 
I put some breakpoints in the SalesOrder/SalesLine insert and update method, in the AOSValidateInsert and AOSValidateUpdate and also in the write method but they have never been hitten.

I think that the process comes in the RetailTransactionServiceOrders class in the method called createOrUpdateRetailOrderHeader in which create a map, the RetailOrderHeaderMap. Maybe when this map is inserted the process create the SalesOrder row in the SalesTable.

Has anyone faced the same issue?
Could someone explain me how this process works?

Thank you for you time

//
  • CAugusto Profile Picture
    CAugusto 49 on at
    Synch order from retail to HQ generate linedisc/linepercent issues
    Hi Mohamed,
     
    I loaded only the breakpoints I needed in the specified moment to avoid VS reboot.
    VS2019 version had some troubles and, when in you are in debugging mode and you try to load all the modules, VS sometimes restart.

    Unfortunately that's not the answer to my question.

    Thank you for the answer
  • Verified answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,536 Super User 2024 Season 2 on at
    Synch order from retail to HQ generate linedisc/linepercent issues
    Hi,
     
    You must load the symboles.
    Best regards,
    Mohamed Amine MAHMOUDI

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans