here my requirement is disable the menuitem button in purchtable form (action pane)
button name - FinalizePurchaseOrder
code:
[ExtensionOf(classStr(PurchTableInteraction))]
public final class CRCPurchTableInteraction_Extension
{
/// <summary>
/// Enables or disables the menu items located on the header action pane tab page named Purchase.
/// </summary>
protected void enableHeaderPurchase()
{
next enableHeaderPurchase();
page.actionPaneControlEnabled(formControlStr(PurchTable, buttonFinalizePurchaseOrder), false);
}
}
No comments:
Post a Comment