Tuesday 4 September 2018

Cannot create a record in Price history(MCRPriceHistory). Price/discount type: Item price, The record already exists.

I got the below error while trying to upload/creating the sales orders.

Cannot create a record in Price history(MCRPriceHistory). Price/discount type: Item price,
The record already exists.


Solution:

Change the Next number for the price/discount in number sequence.
In my case the next number was 1066 and I changed it to 1067

To find the number sequence.
Accounts receivable > accounts receivable parameters > Number sequence > price/discount journal number.

1 comment:

  1. Hi Guys,

    can you please tell, what is the root cause for the above error log..because same error triggered for me also.

    Thanks,
    Kumar

    ReplyDelete

Adding a newline into a string in C# and X++

Below is the sample code we can use for  adding a newline after every occurrence of "@" symbol in the string in C#   using System...