Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Receiving Error Message When Trying to Generate Code

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I'm following the process I always follow when trying to set up new 4 digit client codes.

Process:

Fill out CRM Dynamics 365 Sales Form and save and it generates a 4 digit code that applies to our client.

Issue:

Today it was working all morning then after lunch I tried it again and an error message appears: "Code Range For Broker Is Empty".

pastedimage1594250567779v2.png

I've never seen this message before. Also, I asked our I.T. to see if updates were completed today and they confirmed following:

1. Confirm there were no changes or deployments made over lunch.

2. They looked at Service Health in Office 365 and there are no service issues being reported.

3. They checked and didn't see any alerts in either.

I.T. opened up a ticket with Microsoft but looking to see what this error message could mean?

Note:

There is a field on the form that shows as "Code" which is blank until I save my entries on my form then this field automatically gets generated with a 4 digit code.

  • Suggested answer
    gisiquei Profile Picture
    on at
    RE: Receiving Error Message When Trying to Generate Code

    Hi there, I could not find the meaning of this message, but seems the issue is related to some customization on form,  to help to isolate it I would suggest to:

    Create a copy of your current form, on this copied form remove all js libraries and functions (onload, onsave and on change), make sure there are no enabled business rule,  publish and test the copied form

    ness rules enabled.

    I would suggest to to take a look if exist custom plug-in steps and workflows enabled, if yes disable them to help to isolate.

    Finally as the message is not common keep touch with Support team to map the message

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Receiving Error Message When Trying to Generate Code

    Hi,

    Check your Javascript code on the form and see if you have added alert with this message.

    I am pretty this is coming from Javascript code. Plugin error message will be displayed in different dialog as Businee process error.

    If found helpful, Please mark my answer verified.

  • Aric Levin - MVP Profile Picture
    30,188 Moderator on at
    RE: Receiving Error Message When Trying to Generate Code

    Hi CRMGirl,

    As I can't exactly see what custom logic was implemented within your solution, it is a little hard to diagnose.

    This seems like it might be an error message from within your application or custom code.

    I would request your dev team to check of any changes that were implemented or verify the logic that generated that 4 digit code.

    Hope this helps.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans