web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Opening Product Entity throws a script error

(1) ShareShare
ReportReport
Posted on by 10
When opening a Product on D365 for Sales (Enterprise license) we suddenly start getting this error:
 
TypeError: Cannot read properties of null (reading 'getValue')
    at ProductMainSystemLibraryWebResource._updateQuantityOnHandDecimals (https://tierraloucrm.crm4.dynamics.com/%7b000000010819179%7d/webresources/ProductManagement/Product/Product_main_system_library.js:646:52)
    at ProductMainSystemLibraryWebResource.formOnLoad (https://tierraloucrm.crm4.dynamics.com/%7b000000010819179%7d/webresources/ProductManagement/Product/Product_main_system_library.js:260:27)
    at b._executeFunctionInternal (https://content.powerapps.com/resource/uci-infra-bus/scripts/app.57fc1d4d8a4de34108fb4a1118eeb7b2.js:14:1208161)
    at b.execute (https://content.powerapps.com/resource/uci-infra-bus/scripts/app.57fc1d4d8a4de34108fb4a1118eeb7b2.js:14:1206595)
    at https://content.powerapps.com/resource/uci-infra-bus/scripts/app.57fc1d4d8a4de34108fb4a1118eeb7b2.js:4:137147
    at i (https://content.powerapps.com/resource/uci-infra-bus/scripts/app.57fc1d4d8a4de34108fb4a1118eeb7b2.js:14:99082)
    at re._executeIndividualEvent (https://content.powerapps.com/resource/uci-infra-bus/scripts/app.57fc1d4d8a4de34108fb4a1118eeb7b2.js:4:137121)
    at re._executeEventHandler (https://content.powerapps.com/resource/uci-infra-bus/scripts/app.57fc1d4d8a4de34108fb4a1118eeb7b2.js:4:133939)
    at Object.execute (https://content.powerapps.com/resource/uci-infra-bus/scripts/app.57fc1d4d8a4de34108fb4a1118eeb7b2.js:4:130992)
    at w._executeSyncAction (https://content.powerapps.com/resource/uci-infra-bus/scripts/app.57fc1d4d8a4de34108fb4a1118eeb7b2.js:14:549524)

Error Details:
Event Name: onload
Function Name: Mscrm.ProductMainSystemLibraryWebResource.formOnLoad
Web Resource Name: ProductManagement/Product/Product_main_system_library.js
Solution Name: msdynce_ProductManagementPatch
Publisher Name: MicrosoftCorporation
 
Categories:
I have the same question (0)
  • SDV-365Titans Profile Picture
    10 on at
    looks like Microsoft released an updated script that's causing this error? But why and how can we resolve this? 
    One weird thing is that the Bundle Products tab is not loading anymore.
  • KFlanagan Profile Picture
    8 on at
    Some general questions to see if it helps you. 
    they are not in any given order just some questions to ask yourself to help troubleshoot. 
    As I am not sure what that web resource is doing. 
     
    - I wonder when you review in power apps and look at the events If you have the ability to better troubleshoot what that web resource is actually doing? 
     
    - Have you opened up a MS Ticket? 
     
    - Normally with Script errors it came for us or our consultant. so we have to then review the web resource and figure out what causes the error
     
    - When you test this in your sandbox environment did it work and then production if started the error? 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 130 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 117

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans