KVSKBAPmtQRCodeSrcSalesInv
Implements KVSKBAPaymentQRCodeSourceDoc. Summary: Implementation of KVSKBAPaymentQRCodeSourceDoc for a posted Sales Invoice Header, used to build a SEPA payment QR code ("GiroCode"/EPC069-12) for a posted sales invoice.
Procedures
SetDocument(Variant) :
Summary: Sets the posted sales invoice (as a Sales Invoice Header record) that the other methods on this interface will read payment data from.
procedure SetDocument(DocumentVariant: Variant):
Parameters:
DocumentVariant: The posted sales invoice record to read payment data from.
GetDocumentNo() : Code[20]
Summary: Returns the posted sales invoice's number.
procedure GetDocumentNo(): Code[20]
Returns: The posted sales invoice number as Code[20].
GetAmountIncludingVAT() : Decimal
Summary: Returns the posted sales invoice's amount including VAT, in the invoice's currency.
procedure GetAmountIncludingVAT(): Decimal
Returns: The posted sales invoice amount including VAT in the invoice currency as Decimal.
GetCurrencyCode() : Code[10]
Summary: Returns the posted sales invoice's currency code, or blank for the local currency (LCY).
procedure GetCurrencyCode(): Code[10]
Returns: The invoice currency code as Code[10], or blank if the local currency is used.
GetRemittanceInfo() : Text[140]
Summary: Returns the sales invoice's payment reference to use as remittance information, or, if the invoice has no payment reference, a fallback text based on the invoice number.
procedure GetRemittanceInfo(): Text[140]
Returns: The payment reference or fallback remittance text as Text[140].
GetBillToName() : Text[70]
Summary: Returns the sales invoice's bill-to name.
procedure GetBillToName(): Text[70]
Returns: The bill-to customer name as Text[70].
GetBillToAddress() : Text[70]
Summary: Returns the sales invoice's bill-to street address (without postal code/city).
procedure GetBillToAddress(): Text[70]
Returns: The bill-to street address as Text[70].
GetBillToPostCode() : Code[20]
Summary: Returns the sales invoice's bill-to postal code.
procedure GetBillToPostCode(): Code[20]
Returns: The bill-to postal code as Code[20].
GetBillToCity() : Text[35]
Summary: Returns the sales invoice's bill-to city.
procedure GetBillToCity(): Text[35]
Returns: The bill-to city as Text[35].
GetBillToCountryRegionCode() : Code[10]
Summary: Returns the sales invoice's bill-to country/region code, or blank for the company's own country/region.
procedure GetBillToCountryRegionCode(): Code[10]
Returns: The bill-to country/region code as Code[10], or blank if the company's own country/region is used.