2016-03-20

[AX2012] Enable/Disable Buttons on PurchTable or SalesTable Form by Code

To enable or disable buttons on PurchTableListPage, PurchTable, SalesTableListPage or SalesTable form, you can edit on these classes:
  • PurchTableListPageInteraction
  • PurchTableInteraction
  • PurchTableInteractionHelper
  • SalesTableListPageInteraction
  • SalesTableInteraction
  • SalesTableInteractionHelper
You can add some additional code to enable or disable buttons, for example buttonConfirm in PurchaseTable form. Find this button name in PurchTableInteraction class and add your code.
These class can affect PurchTableListPage or SalesTableListPage forms.