ALAppExtensions
ALAppExtensions copied to clipboard
Event Request: Table 1060 - "Payment Service Setup" - OnBeforeCanUsePaymentMethod
Please could we have the following event added:
local procedure CanUsePaymentMethod(PaymentMethodCode: Code[10]): Boolean
var
PaymentMethod: Record "Payment Method";
IsHandled: Boolean;
Result: Boolean;
begin
OnBeforeCanUsePaymentMethod(PaymentMethodCode, Result, IsHandled)
if IsHandled then
exit(Result);
if not PaymentMethod.Get(PaymentMethodCode) then
exit(true);
exit(PaymentMethod."Bal. Account No." = '');
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeCanUsePaymentMethod(PaymentMethodCode: Code[10]; var Result: Boolean; var IsHandled: Boolean)
begin
end;
Many Thanks
Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52831.