Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I’m having some trouble inserting lines into the Sales Line Discount table using Nav’s oData web API. I’m inserting a line that includes the Sales Code column, but Navision gives back an error message saying "Sales Code must be blank". However, I'm also setting Sales Type to Customer, which in turn requires that Sales Code must not be blank. In fact, if I repeat the same insert but leave Sales Code blank, it fails and says Sales Code must NOT be blank!
Here are the specifics of the insert:
Type = ItemUnit Of Measure Code = EASales Type = CustomerCode = TEST1234Minimum Quantity = 1Discount Price = 0.01Starting Date = 2019-08-01T:00:00:00Sales Code = 1111
It seems like Nav and/or oData is validating the Sales Code column before checking Sales Type - which doesn't make sense because the value of Sales Code is dependent on the value of Sales Type.. Any thoughts on what I could be doing wrong?
Which page did you publish, try to realign the sequence of fields on that page and it to the front and i.e. before the Sales Type field?
That fixed it - I had to move the Sales Type column above Sales Code in the Page I had published (it was a custom page). Thanks Suresh!
Business Applications communities