KVSKBAPaymentQRCodeGenerator
Summary: Generates the payment QR code (both the payment text and the QR code image) for a specific QR code payment standard (e.g. EPC069-12 "GiroCode"). To support an additional QR code standard in the future, implement this interface in a new codeunit and register it as the Implementation of a new value on the KVSKBAPaymentQRCodeType enum - no changes to KVSKBAPaymentQRCodeMgmt are required.
Procedures
BuildQRCodeText(Enum KVSKBAPaymentQRCodeDocType, Variant) : Text
Summary: Builds the payment string for the given posted document, using the beneficiary (payee) information from Company Information and the document data provided by the KVSKBAPaymentQRCodeSourceDoc implementation registered for SourceDocType.
procedure BuildQRCodeText(SourceDocType: Enum "KVSKBAPaymentQRCodeDocType"; DocumentVariant: Variant): Text
Parameters:
SourceDocType: The type of the source document, e.g. Sales Invoice or Service Invoice.DocumentVariant: The posted document (matching SourceDocType) to build the payment QR code text for.
Returns: The payment string to encode into the QR code.
GenerateQRCodeImage(Enum KVSKBAPaymentQRCodeDocType, Variant, Codeunit Temp Blob) : Boolean
procedure GenerateQRCodeImage(SourceDocType: Enum "KVSKBAPaymentQRCodeDocType"; DocumentVariant: Variant; var QRCodeImageTempBlob: Codeunit "Temp Blob"): Boolean