Hi All,
I need to disable all the (child)buttons under a menu button(parent).
I need to use this in AccountsPayable->journals->paymentJournal->lines->JournalVoucher, here I want to disable all the child buttons of paymentStatus menu button, Later I’ll enable the buttons what I require.
Is there any way, instead of hard coding for all the buttons as button_name.enable(false), In future I may add some more statuses under paymentStatus, so I need to disable all the child buttons without hard coding.