You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear team,
Could we get the event OnBeforeConfirmFinancialVoid on Codeunit 367 - "CheckManagement"
procedure FinancialVoidCheck(var CheckLedgEntry: Record "Check Ledger Entry")
var
ConfirmFinancialVoid: Page "Confirm Financial Void";
AmountToVoid: Decimal;
CheckAmountLCY: Decimal;
BalanceAmountLCY: Decimal;
IsHandled: Boolean;
begin
IsHandled := false;
OnBeforeFinancialVoidCheck(CheckLedgEntry, IsHandled);
if IsHandled then
exit;
FinancialVoidCheckPreValidation(CheckLedgEntry);
Clear(ConfirmFinancialVoid);
//
**_IsHandled := false;
OnBeforeConfirmFinancialVoid(CheckLedgEntry, IsHandled);
If not Handled then begin**
ConfirmFinancialVoid.SetCheckLedgerEntry(CheckLedgEntry);
if ConfirmFinancialVoid.RunModal() <> ACTION::Yes then
exit;
**end;_**
//
AmountToVoid := CalcAmountToVoid(CheckLedgEntry);
InitGenJnlLine(
GenJnlLine2, CheckLedgEntry."Document Type", CheckLedgEntry."Document No.", ConfirmFinancialVoid.GetVoidDate(),
GenJnlLine2."Account Type"::"Bank Account", CheckLedgEntry."Bank Account No.",
StrSubstNo(VoidingCheckMsg, CheckLedgEntry."Check No."));
...
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeConfirmFinancialVoid(var CheckLedgEntry: reccord "Check Ledger Entry"; var IsHandled: Boolean);
begin
end;
Thank you in advance!
Additional context
I'd like to have logic to handle confirmation page.
Internal work item: AB#561109
The text was updated successfully, but these errors were encountered:
Describe the request
Dear team,
Could we get the event OnBeforeConfirmFinancialVoid on Codeunit 367 - "CheckManagement"
Thank you in advance!
Additional context
I'd like to have logic to handle confirmation page.
Internal work item: AB#561109
The text was updated successfully, but these errors were encountered: