Recently while working in one of the customer environment we found sales order is automatically submitted to BC without pricing details as we soon as order is created like below:
I am going to share some details how I fixed this issue.
This environment has Sales order integration enabled and we have developed a custom workflow for customer where they create order from the Customer Asset. While troubleshooting, when we try to create order using a console app we saw order is created correctly with price calculation based on the order line items but not automatically submitted. Another thing we noticed that when some users was creating orders from the UI those were not submitted automatically but when some user was creating order those were submitted automatically without any price calculation from the line items. This finding directed us to look into difference between user profiles and while looking documentation we found this:
So we changed below setting to false for the user (earlier it was true)
After disabling this setting, automatic submission of the order stopped and we were able to see the price calculation happening without any issue.
In this post we saw how we can resolve Sales to NAV integration issue where price is not calculating based on the order line product before sending order to BC.
Hope it will help someone!
Keep learning, Keep sharing !!