Thursday, March 10, 2016

How to Disable Creating New Vendor button on Procurement & Sourcing Module in Ax 2012

How to Disable Creating New Vendor button on Procurement & Sourcing Module in Ax 2012

GOTOà VendTableListPageInteraction Class àInitializedmethodà Write this below code :



this.listPage().actionPaneControlEnabled(formControlStr(VendTableListPage,Newvendor),false);


// here NewVendor is an button name  of formcontrol of VendTableListPage

Compile forward the VendTableListPageInteraction Class ,
Now open the All Vendors & see the following



No comments:

Post a Comment

Export a copy of the standard user acceptance testing (UAT) database

 Reference link: Export a copy of the standard user acceptance testing (UAT) database - Finance & Operations | Dynamics 365 | Microsoft ...