Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 908313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:41:50+00:00 2026-05-15T16:41:50+00:00

I am creating a new entity in CRM 4.0 to track our projects. One

  • 0

I am creating a new entity in CRM 4.0 to track our projects. One field is a Project Code, and I’d like to have a way to ensure that this field contains a unique value.

I understand that this is not a key, and it won’t be used as a key, but for human readability/tracking purposes, it would be nice if I could tell the user that the code he just entered has already been used.

I am thinking that a webservice/javascript call will be necessary, but I wanted to see if anyone else has tackled this issue already.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:41:50+00:00Added an answer on May 15, 2026 at 4:41 pm

    Depends on how foolproof you want it to be.

    • The web service call is pretty lightweight, but if two people save a record at the same time, it’s not going to detect it at that time, and dupe codes will happen.
    • A custom plugin would definitely detect dupe codes, but you don’t get any feedback until after the user attempts to save. There’s also still a small chance there could be repeat codes from users entering records.
    • The completely bulletproof way we’ve used is to have a plugin that checks a custom database table that we lock and then only let one plugin at a time through.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a new database model using Entity Framework 4.3 Code-FIrst; using Fluent
I have 2 custom fields in my WordPress system when creating new posts. One
I have index action, that print 1) form for creating new Entity; 2) list
I would like to have a map data type for one of my entity
When creating a new entity object that has a foreign key value I need
I have problem creating new instance of excel 2007 using VBA (from Access 2002).
When I'm creating new project with GWT plug in it creates a skeleton project
Can I avoid third party code from creating new threads, starting new VMs, or
I need UNION two tables with creating new field, where 1 for first table,
Whenever I'm creating a custom entity in CRM, the type is prefixed with new_.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.