web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Error: The record in table Sales Price already exists. Identification fields and values

(1) ShareShare
ReportReport
Posted on by 7
 
I already customize this sales price table line to add new field from region table.
 
But when i key in new line in the table line level, its not detected region field as identification field to be unique. Should be the infolog error is not there if the region is different. But now the if the region is changing, the error still there. how do i add region field to be one of the logic to detect if region field is same then pull the error, and if region field is different then accept the new line and save.
 
Is it something to do with key?
 
Thanks 
I have the same question (0)
  • Mohamed Amine Mahmoudi Profile Picture
    26,777 Super User 2026 Season 1 on at
    Hi,
     
    Can you please share with us the customization on sales price table ?
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • MR-29040713-0 Profile Picture
    7 on at
    Hi Mohamed,
     
    This is the table extension customization done in sales price table, simple one just to add new field regionccode from table region:

     
    and this is the customization that i add the field in table line in that page: 
     
     
    Regards,
    Aliff
     
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,811 Super User 2026 Season 1 on at
    You would need to add a new Key, that includes the new field, otherwise it is just an extra field, and the same validation exists, that the records cannot have duplicates, where all values in key fields are the same.
  • MR-29040713-0 Profile Picture
    7 on at
    Hi, 
    This is key setup inside sales price table extension:
     
     
    This is the list of keys inside sales price table:
    May i know how to add key? because when i add key and include region field in table extension, the error still there. How to add and make sure the validation include the region field?
     
    Thanks.
     
    Regards,
    Aliff

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,155 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,043 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 955 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans