In Account Receivable ->Common ->Payments -> Payment Journal when I select one line and go to the "Lines" Tab. Their is "Approval" button on top and "Print" button is also . I need that when the voucher will approved after approval print button enable and before approval Disable.
*This post is locked for comments
thanks
You can write your code on active() method, something like this
if (ledgerJournalTable.WorkflowApprovalStatus != LedgerJournalWFApprovalStatus::Approved)
{
Print.enable(false);
}
so what i need to do
Hi DEEPAKNONU,
I think you need to do a customization to disable print button based on journal approval status.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156