Powered By Blogger

Disable Button(standard)

 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

DisableStandredButton

 My requirement is to disable the delete button for journals that were posted:- After Posting the button is enabled fig:- Line level also th...