Skip to main content
Business Central forum
Unanswered

Facing error while changing Status of Sales Price List From "Draft" to "Active".

editSubscribe (0) ShareShare
ReportReport
Posted on by 2
We are creating Price List Lines through code, so for that purpose, firstly we are assigning the Price List Header's status = Draft. and after that creating/inserting Price List lines. Till here everything is working fine. But while again assigning price list Header status = Active, we are facing an error. 
The standard system code checks whether any duplicate price list lines are available or not, if yes then it is trying to open a page to show the same at that moment system gives a strange error. 
 
Categories:

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans