Skip to main content
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 
  • MR-29040713-0 Profile Picture
    7 on at
    Error: The record in table Sales Price already exists. Identification fields and values
    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
  • Suggested answer
    KasparsSemjonovs Profile Picture
    4,448 Super User 2025 Season 1 on at
    Error: The record in table Sales Price already exists. Identification fields and values
    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
    Error: The record in table Sales Price already exists. Identification fields and values
    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
     
  • Mohamed Amine Mahmoudi Profile Picture
    24,665 Super User 2025 Season 1 on at
    Error: The record in table Sales Price already exists. Identification fields and values
    Hi,
     
    Can you please share with us the customization on sales price table ?
     
    Best regards,
    Mohamed Amine MAHMOUDI

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans