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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Can I stop a grid from allowing its members to be opened/edited?

(0) ShareShare
ReportReport
Posted on by

Maybe someone can verify this for me as well but, my submitted orders allow a user to change values on the order products.  We are at Unified Interface, phase 2 and all.  I've tested one form using a regular view as well as MS's editable grid and in both cases these should be locked down.

The simplest solution would be some jscript that "disables" the grid if the order status is "Submitted".  Can that be done?

TIA

ps- Yes, order Submitted -- I have thrown the switch to have Sales integrated with an external accounting system

pps- and on top of that, I've written my own CalculatePrice plugin and shut off the out-of-the-box pricing -- if either of those things might be short circuiting the proper behaviour.

ppps- something is working right because even when the quantity is changed the CalculatePrice event is not firing as the extended amount doesn't update

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    You don't need a javascript, you can create a real time workflow on Order Product entity which trigger on change on 'Modified On' field and checks if the related order status is not active, if not active then cancel the workflow and set the error message under properties.

    Refer this:

    7610.SalesOrder.png

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 79 Super User 2026 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 62 Most Valuable Professional

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 42 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans