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

Notifications

Announcements

No record found.

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,436 Super User 2025 Season 2 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,774 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans