Hi,
I want to disable confirm button in PurchTable Form, I have written below code but it's not working anyone suggests me how to disable button
[ExtensionOf(classStr(PurchTableInteraction))]
Final class PurchTableInteraction_Extension
{
protected void enableHeaderUpdateJournalActions()
{
next enableHeaderUpdateJournalActions();
page = this.page();
purchTable = page.activeRecord(identifierStr(PurchTable));
if(PurchParameters.Test_DisableButton)
{
page.actionPaneControlEnabled(formControlStr(PurchTable, buttonConfirmationRequest),true);
page.actionPaneControlEnabled(formControlStr(PurchTable, buttonConfirm), true);
}
}
}
Thanks in advance.