4
Is it possible to add event triggers ( on before, on after... ) into this function to be able to change the qr iban before printing it ?
Thanks per advance,
table 11510 "Swiss QR-Bill Buffer"
local procedure ValidateIBAN()
var
CompanyInformation: Record "Company Information";
begin
CompanyInformation.Get();
if "IBAN Type" = "IBAN Type"::"QR-IBAN" then begin
CompanyInformation.TestField("Swiss QR-Bill IBAN");
IBAN := SwissQRBillMgt.FormatIBAN(CompanyInformation."Swiss QR-Bill IBAN");
end else begin
CompanyInformation.TestField(IBAN);
IBAN := SwissQRBillMgt.FormatIBAN(CompanyInformation.IBAN);
end;
end;
Thanks per advance,
table 11510 "Swiss QR-Bill Buffer"
local procedure ValidateIBAN()
var
CompanyInformation: Record "Company Information";
begin
CompanyInformation.Get();
if "IBAN Type" = "IBAN Type"::"QR-IBAN" then begin
CompanyInformation.TestField("Swiss QR-Bill IBAN");
IBAN := SwissQRBillMgt.FormatIBAN(CompanyInformation."Swiss QR-Bill IBAN");
end else begin
CompanyInformation.TestField(IBAN);
IBAN := SwissQRBillMgt.FormatIBAN(CompanyInformation.IBAN);
end;
end;
STATUS DETAILS
Declined
Business Central Team (administrator)