microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
733 stars 243 forks source link

Modify Page Properties with Page Extension - Editable, InsertAllowed, DeleteAllowed #4006

Open j-wilder opened 5 years ago

j-wilder commented 5 years ago

I am loving the VSC environment with AL but I have come across something that I think is a pretty big bummer. Maybe I am missing something. I want to change the Editable property on Page 20 General Ledger Entry from No to Yes. Also want to change the InsertAllowed and DeleteAllowed to No. I do not see that I can do this with a page extension. Can someone confirm this?

Also I hope modifying the Editable property of fields is going to be added in the future to Page Extension object (Enabled is there but doesn't have the same effect as it disables any OnLookup code).

StanislawStempin commented 5 years ago

These are not possible right now but we plan to enable modification of these properties in the future. I will use this issue for tracking.

ghost commented 5 years ago

Another - vote - for making the making these properties available when modifying existing pages - so you can lock down fields by making them editalbe = false if needed. The insert/delete/modify allowed properties should be made avail as well

fgilsc commented 5 years ago

It's very necessary

ThomasBrodkorb commented 4 years ago

please consider usagecategory, caption, and so on as well. Make PromotedActionCategories extendable.

chris-amco commented 4 years ago

I've hit the same issue. My scenario : sales orders are imported from an external source. I want to list these orders separately from ordinary sales orders and display them in a customised Sales Order page. Users must be able to modify these orders but not create or delete them. I prefer to extend the standard Sales Order page rather than make a copy of it. (I'm trying to use the approach described here : https://www.altoolbox.com/post/how-to-split-documents-without-duplicating-pages) I also would like PromotedActionCategories to be extendable.

dzzzb commented 3 years ago

Please upvote this Idea for UsageCategory: https://experience.dynamics.com/ideas/idea/?ideaid=cdc99444-4b97-e911-80e7-0003ff68d318

For others, please check if they exist on BCIdeas and if so upvote; if not, please consider creating them (so I don't have to :P)

atoader commented 3 years ago

We are working on consolidating feedback received across multiple channels to a single location so that we can better prioritize suggestions that involve multiple areas of the product Would you mind closing this issue and posting it in our Ideas forum at https://aka.ms/BusinessCentralideas or vote up the idea if it is already there?