Hi
I have created a dialog class and used the menuitem in salestable form once the process is over i want to disable the button i tried writing in click method of the menuitem .For example
void clicked()
{;
SJSSalesQtyUpdation.enabled(SalesLine.RecId && SalesLine.ApprovedBy );
super();
}
i tried writing before super and after super .but its not working pls help me
Regards
Manjusha.D
put this line in a new method and call that in the clicked method - put a break point in that method and check the condition.
What will happen if there are multiple lines and only some of them are approved???
hi
I did as u said but still it is disabling for all the records .it should happen only for current record
Regards
Manjusha.D
Try to place the code in active() method of the form data sourceā¦