Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Answered

"There was an error with this field's customized event"

(0) ShareShare
ReportReport
Posted on by 155

Hello,

Overnight, this error has started appearing for any of our users NOT using the new unified interface whenever they try and add product on an order.

"There was an error with this field's customized event" 

Field:productid

Event:onchange

Error:undefined

Things to note:

I have not done any custom JS, all customization have been drag and drop through the form editor.

There isn't (nor has there ever been) a field called "productid" on the "order line" quick create form, or the order form. 

I'm assuming this has something to do with the custom  "Order line" entity view ( we have been using this view forever with no issue though) as it's the only place that has a field called "productid"

This is not stopping anyone from placing the product on the order. Once you clear the error, it appears to have had no impact on the user, and order can continue being placed. 

So why is this error appearing all of a sudden? How do i get it to go away? This is having no effect on anyone that we can see other than being an annoying pop up. 

1754.pastedimage1572307913548v2.png

8037.pastedimage1572307438140v1.png

  • Verified answer
    LeoAlt Profile Picture
    LeoAlt 16,331 on at
    RE: "There was an error with this field's customized event"

    Hi Eturyu,

    Thanks for your reply, accordin to your screenshot, the libraries in your form are all default ones, these should not cause errors. I suggest that you could contact with Microsoft Support Team to ask engineers help you resolve the error in the server client.

    Best Regards,

    Leo

  • Eturyu Profile Picture
    Eturyu 155 on at
    RE: "There was an error with this field's customized event"

    Hi Again,

    Had a thought, although there is no event or library on "productid" on the quick create version of the form, I went to look at the non-quick create form and found no events, but yes to libraries. 

    As the quick create form really just populates the main form, could this be where the issue lies?

    pastedimage1572821210943v1.png

  • Eturyu Profile Picture
    Eturyu 155 on at
    RE: "There was an error with this field's customized event"

    Hi Leo,

    Thanks for coming back to me, The form i am using (shown in my images above) is the default quick create. Some fields are not visible by default, and have been moved slightly to other sections of the form, but are all present. Using the screenshot you  gave as an example, if anything, i actually have an EXTRA field for some reason.

    I don't believe the form is missing any required fields, having compared the one we have been using to your image (comparison below), it seems everything is present that needs to be. 

    Any other ideas?

    pastedimage1572574262115v1.png

  • LeoAlt Profile Picture
    LeoAlt 16,331 on at
    RE: "There was an error with this field's customized event"

    Hi Eturyu,

    Thanks so much for your details.

    "Custom JS function" is what you understand, it's the js functions added on the form/fileds events.

    Obviously, there is no js functions in your form and we could rule out this possibility.

    Then I saw that the Order line quick create form lack some required fields, did you try the default quick create form again?

    pastedimage1572401552870v1.png

    Best Regards,

    Leo

  • Eturyu Profile Picture
    Eturyu 155 on at
    RE: "There was an error with this field's customized event"

    Hi Beth,

    I have had a quick browse through the security roles, and nothing stands out as wrong. It's affecting all users who have chosen to not yet gone to the unified interface. System admin all the way down to field staff.

    In security roles, i couldn't find a permission called "Order Line" or anything of the sort. So, although i didn't note any changes, are you able to suggest which tab or permission i should be focusing on for the "order line" entity quick create form?

  • Eturyu Profile Picture
    Eturyu 155 on at
    RE: "There was an error with this field's customized event"

    Hi Leo,

    Out of curiosity, what counts as a custom JS function? I've checked things like business rules, and the "on change" "on load" and library sections of the field. As far as i am aware there are none on this form.

    This image is from the "field" section of the entity, no business rules or anything special, is there any other area i should be checking?:

    pastedimage1572393617657v1.pngpastedimage1572393644662v2.png

    The next set of images is from the default  quick create form, only changes to this form are to make specific fields not visible.

    -Have tried making them all visible again (no change)

    -no business rules or "events/libraries" on form

    pastedimage1572393840140v3.png

    Next images are of the field in question:

    pastedimage1572393986569v5.pngpastedimage1572394021950v6.png

  • Suggested answer
    bac26 Profile Picture
    bac26 2,268 on at
    RE: "There was an error with this field's customized event"

    You might have had a minor update over the evening.  Check your security roles and see if something changed with access to those fields.    Might or might not be it, but if nothing truly changed, I have seen that in other products so it is worth the look

  • LeoAlt Profile Picture
    LeoAlt 16,331 on at
    RE: "There was an error with this field's customized event"

    Hi partner,

    I saw that this should be a custom quick craete form and It lacks several required fields.

    The "productid" feild is the "Existing product".

    pastedimage1572320383466v1.png

    So I suggest that you could do the following checks.

    1.Go to the Order Line Quick Create form and remove all custom js functions.

    2.Try the default Quick Create form and see if the error show again.

    Hope it helps.

    Best Regards,

    Leo

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans