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
    gisiquei 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
    Bipin D365 28,961 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 Profile Picture
    Aric Levin 30,188 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,399 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans