C_RecrrgSuplrInvcTmpl

DDL: C_RECRRGSUPLRINVCTMPL Type: view_entity CONSUMPTION Package: ODATA_RECUR_SUPPLIER_INVOICES

Recurring Supplier Invoice Template

C_RecrrgSuplrInvcTmpl (Consumption)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

RecurringSupplierInvoiceTmpl · Financial Operations

C_RecrrgSuplrInvcTmpl is a Consumption CDS View that provides data about "Recurring Supplier Invoice Template" in SAP S/4HANA. It reads from 1 data source (I_RecrrgSuplrInvcTmpl) and exposes 82 fields with key field RecrrgSuplrInvcTmplUUID. It has 6 associations to related views. Part of development package ODATA_RECUR_SUPPLIER_INVOICES.

SAP Help Documentation

CategoryCDS Views for Invoice Management
Purpose
This CDS view allows you to check invoice-related information and recurrence pattern details for creating recurring supplier invoices. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the Company Code ( BUKRS ) restriction type set to read access. This restriction type is edited in the Maintain Business Roles app.

Structure
Important Fields Important fields in this view include the following: Field Name Description ISEUTRIANGULARDEAL EU Triangular Deal FIXEDCASHDISCOUNT Fixed WITHHOLDINGTAXISENABLED Indicator RECURRENCEPATTERN Recurrence Pattern RECURRENCEENDTYPE End Recurrence By FOREIGNCRCYAMTCNVRSNRULE Conversion Rule BUSINESSSECTIONCODE Section Code CREATIONDATE Created On TRANSACTIONCURRENCY Transaction Currency CASHDISCOUNT1DAYS Days 1 CASHDISCOUNT2DAYS Days 2 NETPAYMENTDAYS Days Net LOCALCURRENCY Local Currency TAXDETERMINATIONDATE Tax Date RECURRENCESTARTDATE Recurrence Start Date NEXTOCCURRENCEDATE Next Run LASTOCCURRENCEDATE End Date FIRSTOCCURRENCEDATE Start Date RECRRGSUPLRINVCTMPLUUID GUID of Recurring Supplier Invoice Template RECURRENCEDAYOFMONTH Occur Day in a Month RECURRENCEDAYOFWEEK Occur Day in a Week RECURRENCEINTERVALINWEEKS Interval in Weeks RECURRENCEINTERVALINMONTHS Interval in Months NUMBEROFOCCURRENCES Number of Occurrences NUMBEROFPOSTEDINVOICES Number of Posted Occurrences NUMBEROFNOTPOSTEDINVOICES Number of Unposted Occurrences RECURRENCEINTERVALINDAYS Interval in Days CASHDISCOUNT1PERCENT CD Percentage 1 CASHDISCOUNT2PERCENT CD Percentage 2 EXCHANGERATE Exchange Rate GLACCOUNT G/L Account RECRRGSUPPLIERINVOICETEMPLATE Document Number INVOICINGPARTY Invoicing Party IN_GSTPARTNER GST Partner PAYTSLIPWTHREFREFERENCE POR Reference Number TAXBASEAMOUNTINTRANSCRCY Value-Added Tax Amt TOTALAMOUNTINLOCALCURRENCY Amount in LC TOTALAMOUNTINTRANSACTIONCRCY Gross Invoice Amount MANUALCASHDISCOUNTAMOUNT Cash Discount Amount NEXTOCCURRENCEAMOUNTINTC Next Posting Amount CREATEDBYUSER Entered By ACCOUNTINGDOCUMENTTYPE Document Type TAXCODE Tax Code ASSIGNMENTREFERENCE Assignment DOCUMENTITEMTEXT Text DOCUMENTREFERENCEID Reference TAXJURISDICTION Tax Jurisdiction PAYMENTTERMS Terms of Payment BUSINESSPLACE Business Place HOUSEBANK House Bank HOUSEBANKACCOUNT Account ID ACCOUNTINGDOCUMENTHEADERTEXT Document Header Text PAYMENTMETHOD Payment Method CREATEDBYUSERNAME Created By REPORTINGCOUNTRY Reporting Ctry/Reg. COMPANYCODECOUNTRY Company Code Country/Region PAYMENTREFERENCE Payment Reference IBAN IBAN SWIFTCODE SWIFT/BIC SUPPLYINGCOUNTRY Supplying Ctry/Reg. PAYMENTMETHODSUPPLEMENT Pmt Meth. Supplement STATECENTRALBANKPAYMENTREASON SCB Indicator SUPPLIERBANKTYPE Partner Bank Type SUPLRINVCPAYMENTBLOCKINGREASON Payment Block RECURRENCEPATTERNNAME Recurrence Pattern Name RECURRENCEENDTYPENAME Recurrence End Type Name REFERENCEACCOUNTFORIBAN Reference Account PAYTSLIPWTHREFCHECKDIGIT Check Digit SUPPLIERVATREGISTRATION VAT Registration No. SETTLMTCOCODETAXCOUNTRY Tax Ctry/Reg. CoCode IN_GSTPLACEOFSUPPLY Place of Supply BPBANKACCOUNTALIASNAME Bank Account Alias PAYMENTSYSTEM Payment System ALIASTYPE Alias Type PAYTSLIPWTHREFSUBSCRIBER PBC/POR Number QUICKRESPONSEIBAN QR-IBAN IN_INVOICEREFERENCENUMBER Invoice Ref. Number ONETIMEACCTCNTRYSPECIFICREF1 Country/Region Specific Reference 1 COMPANYCODE Company Code TAXCOUNTRY Tax Ctry/Reg.

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

CategoryConsumption
StateC1
Line of BusinessFinancial Operations
Application ComponentFI-FIO-AP-2CL
CapabilitiesData Source for Data Extraction
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageFinancial Operations for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view allows you to check invoice-related information and recurrence pattern details for creating recurring supplier invoices.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_RecrrgSuplrInvcTmpl _Tmpl from

Associations (6)

CardinalityTargetAliasCondition
[0..*] C_RecrrgSuplrInvcTmplItem _RecrrgSuplrInvcTmplItem $projection.RecrrgSuplrInvcTmplUUID = _RecrrgSuplrInvcTmplItem.RecrrgSuplrInvcTmplUUID
[0..*] C_RecrrgSuplrInvcTmplInstce _RecrrgSuplrInvcTmplInstce $projection.RecrrgSuplrInvcTmplUUID = _RecrrgSuplrInvcTmplInstce.RecrrgSuplrInvcTmplUUID
[0..*] C_RecrrgSuplrInvcTmplWhgdTax _RecrrgSuplrInvcTmplWhgdTax $projection.RecrrgSuplrInvcTmplUUID = _RecrrgSuplrInvcTmplWhgdTax.RecrrgSuplrInvcTmplUUID
[0..1] I_RecurrencePattern _RecurrencePatternText $projection.RecurrencePattern = _RecurrencePatternText.RecurrenceType
[0..1] I_RecurrencePatternEndType _RecurrenceEndTypeText $projection.RecurrenceEndType = _RecurrenceEndTypeText.RecurrenceEndType
[0..1] I_SupplierBankDetails _BPBankAlias $projection.SupplierBankType = _BPBankAlias.BPBankAccountInternalID and $projection.ReferenceAccountForIBAN = _BPBankAlias.Supplier

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Recurring Supplier Invoice Template view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.modelingPattern #NONE view
ObjectModel.sapObjectNodeType.name RecurringSupplierInvoiceTmpl view
VDM.viewType #CONSUMPTION view
Analytics.dataExtraction.enabled true view

Fields (82)

KeyFieldSource TableSource FieldDescription
KEY RecrrgSuplrInvcTmplUUID I_RecrrgSuplrInvcTmpl RecrrgSuplrInvcTmplUUID GUID of Recurring Supplier Invoice Template
RecrrgSupplierInvoiceTemplate I_RecrrgSuplrInvcTmpl RecrrgSupplierInvoiceTemplate Document Number of a Recurring Supplier Invoice Template
AccountingDocumentType I_RecrrgSuplrInvcTmpl AccountingDocumentType Journal Entry Type
CompanyCode I_RecrrgSuplrInvcTmpl CompanyCode Receiver Company Code
DocumentReferenceID I_RecrrgSuplrInvcTmpl DocumentReferenceID Reference Document Number
AccountingDocumentHeaderText I_RecrrgSuplrInvcTmpl AccountingDocumentHeaderText Document Header Text
TotalAmountInTransactionCrcy I_RecrrgSuplrInvcTmpl TotalAmountInTransactionCrcy Gross Invoice Amount in Document Currency
InvoicingParty I_RecrrgSuplrInvcTmpl InvoicingParty Different Invoicing Party
ExchangeRate I_RecrrgSuplrInvcTmpl ExchangeRate Exchange rate
TotalAmountInLocalCurrency I_RecrrgSuplrInvcTmpl TotalAmountInLocalCurrency Signed Amount in Local Currency (Long)
TransactionCurrency I_RecrrgSuplrInvcTmpl TransactionCurrency Transaction Currency
LocalCurrency I_RecrrgSuplrInvcTmpl LocalCurrency Local Currency
AssignmentReference I_RecrrgSuplrInvcTmpl AssignmentReference Assignment Reference
SupplierBankType I_RecrrgSuplrInvcTmpl SupplierBankType Partner Bank Type
IBAN I_RecrrgSuplrInvcTmpl IBAN IBAN (International Bank Account Number)
SWIFTCode I_RecrrgSuplrInvcTmpl SWIFTCode SWIFT/BIC for International Payments
PaymentSystemendasPaymentSystem
AliasTypeendasAliasType
ReportingCountry I_RecrrgSuplrInvcTmpl ReportingCountry Reporting Country/Region
CompanyCodeCountry I_RecrrgSuplrInvcTmpl CompanyCodeCountry Company Code Country/Region
SupplierVATRegistration I_RecrrgSuplrInvcTmpl SupplierVATRegistration VAT Registration Number
IsEUTriangularDeal I_RecrrgSuplrInvcTmpl IsEUTriangularDeal Indicator: Triangular Deal Within the EU
DocumentItemText I_RecrrgSuplrInvcTmpl DocumentItemText Item Text
CreatedByUser I_RecrrgSuplrInvcTmpl CreatedByUser Name of the Processor Who Entered the Object
CreatedByUserName I_RecrrgSuplrInvcTmpl CreatedByUserName Full Name of Person
CreationDate I_RecrrgSuplrInvcTmpl CreationDate Creation Date
StateCentralBankPaymentReason I_RecrrgSuplrInvcTmpl StateCentralBankPaymentReason State Central Bank Indicator
SupplyingCountry I_RecrrgSuplrInvcTmpl SupplyingCountry Supplying Country/Region
PaymentTerms I_RecrrgSuplrInvcTmpl PaymentTerms Key for Terms of Payment
PaymentMethod I_RecrrgSuplrInvcTmpl PaymentMethod Payment Method
PaymentReference I_RecrrgSuplrInvcTmpl PaymentReference Payment Reference
CashDiscount1Days I_RecrrgSuplrInvcTmpl CashDiscount1Days Days from Baseline Date for Payment
CashDiscount1Percent I_RecrrgSuplrInvcTmpl CashDiscount1Percent Cash Discount Percentage 1
CashDiscount2Days I_RecrrgSuplrInvcTmpl CashDiscount2Days Days from Baseline Date for Payment
CashDiscount2Percent I_RecrrgSuplrInvcTmpl CashDiscount2Percent Cash Discount Percentage 2
NetPaymentDays I_RecrrgSuplrInvcTmpl NetPaymentDays Net Payment Terms Period
HouseBank I_RecrrgSuplrInvcTmpl HouseBank Short Key for a House Bank
HouseBankAccount I_RecrrgSuplrInvcTmpl HouseBankAccount ID for Account Details
ManualCashDiscountAmount I_RecrrgSuplrInvcTmpl ManualCashDiscountAmount Cash Discount Amount
PaymentMethodSupplement I_RecrrgSuplrInvcTmpl PaymentMethodSupplement Payment method supplement
SuplrInvcPaymentBlockingReason I_RecrrgSuplrInvcTmpl SuplrInvcPaymentBlockingReason Payment Block Key
PaytSlipWthRefCheckDigit I_RecrrgSuplrInvcTmpl PaytSlipWthRefCheckDigit ISR Check Digit
PaytSlipWthRefReference I_RecrrgSuplrInvcTmpl PaytSlipWthRefReference POR Reference Number
PaytSlipWthRefSubscriber I_RecrrgSuplrInvcTmpl PaytSlipWthRefSubscriber POR Subscriber Number
TaxCode I_RecrrgSuplrInvcTmpl TaxCode Tax Code
FixedCashDiscount I_RecrrgSuplrInvcTmpl FixedCashDiscount Fixed Cash Discount
TaxBaseAmountInTransCrcy I_RecrrgSuplrInvcTmpl TaxBaseAmountInTransCrcy Tax Amount in Document Currency with +/- Sign
TaxDeterminationDate I_RecrrgSuplrInvcTmpl TaxDeterminationDate Date for Determining Tax Rates
TaxJurisdiction I_RecrrgSuplrInvcTmpl TaxJurisdiction Tax Jurisdiction
TaxCountry I_RecrrgSuplrInvcTmpl TaxCountry Tax Reporting Country/Region
WithholdingTaxIsEnabled I_RecrrgSuplrInvcTmpl WithholdingTaxIsEnabled recurring supplier invoice withholding tax enable indicator
GLAccount I_RecrrgSuplrInvcTmpl GLAccount General Ledger Account
SettlmtCoCodeTaxCountry I_RecrrgSuplrInvcTmpl SettlmtCoCodeTaxCountry Tax Country/Region Company Code
RecurrenceStartDate I_RecrrgSuplrInvcTmpl RecurrenceStartDate Recurrence Start Date
FirstOccurrenceDate I_RecrrgSuplrInvcTmpl FirstOccurrenceDate First Occurrence Date
NextOccurrenceDate I_RecrrgSuplrInvcTmpl NextOccurrenceDate Next Calculation Date of the Recurring Entry
NextOccurrenceAmountInTC I_RecrrgSuplrInvcTmpl NextOccurrenceAmountInTC Next Posting Amount
RecurrencePattern I_RecrrgSuplrInvcTmpl RecurrencePattern Recurrence Pattern
RecurrencePatternName Recurrence Pattern Name
RecurrenceIntervalInDays I_RecrrgSuplrInvcTmpl RecurrenceIntervalInDays Recurrence Frequency
RecurrenceIntervalInWeeks I_RecrrgSuplrInvcTmpl RecurrenceIntervalInWeeks Interval In Weeks
RecurrenceIntervalInMonths I_RecrrgSuplrInvcTmpl RecurrenceIntervalInMonths Interval in Months
RecurrenceDayOfMonth I_RecrrgSuplrInvcTmpl RecurrenceDayOfMonth Occurrence Day in a Month
RecurrenceDayOfWeek I_RecrrgSuplrInvcTmpl RecurrenceDayOfWeek Occurrence Day in a Week
RecurrenceEndType I_RecrrgSuplrInvcTmpl RecurrenceEndType End Recurrence By
RecurrenceEndTypeName Recurrence End Type Name
NumberOfOccurrences I_RecrrgSuplrInvcTmpl NumberOfOccurrences Number of Repetitions
NumberOfPostedInvoices I_RecrrgSuplrInvcTmpl NumberOfPostedInvoices Number of Posted Occurrences
NumberOfNotPostedInvoices I_RecrrgSuplrInvcTmpl NumberOfNotPostedInvoices Number of Unposted Occurrences
LastOccurrenceDate I_RecrrgSuplrInvcTmpl LastOccurrenceDate Recurrence End Date
ForeignCrcyAmtCnvrsnRule I_RecrrgSuplrInvcTmpl ForeignCrcyAmtCnvrsnRule Conversion Rule for Foreign Currency Amounts
BusinessPlace I_RecrrgSuplrInvcTmpl BusinessPlace Business place
BusinessSectionCode I_RecrrgSuplrInvcTmpl BusinessSectionCode Section Code
IN_GSTPartner I_RecrrgSuplrInvcTmpl IN_GSTPartner GST Partner
IN_GSTPlaceOfSupply I_RecrrgSuplrInvcTmpl IN_GSTPlaceOfSupply Place of Supply
IN_InvoiceReferenceNumber I_RecrrgSuplrInvcTmpl IN_InvoiceReferenceNumber Invoice Reference Number
QuickResponseIBAN I_RecrrgSuplrInvcTmpl QuickResponseIBAN QR-IBAN International Bank Account Number
OneTimeAcctCntrySpecificRef1 I_RecrrgSuplrInvcTmpl OneTimeAcctCntrySpecificRef1 Ctry/Reg. Specific Reference in the One Time Account Data
ReferenceAccountForIBAN I_RecrrgSuplrInvcTmpl ReferenceAccountForIBAN Reference Account for IBAN
_RecrrgSuplrInvcTmplItem _RecrrgSuplrInvcTmplItem
_RecrrgSuplrInvcTmplInstce _RecrrgSuplrInvcTmplInstce
_RecrrgSuplrInvcTmplWhgdTax _RecrrgSuplrInvcTmplWhgdTax

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_RecrrgSuplrInvcTmpl.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW C_RecrrgSuplrInvcTmpl AS
SELECT
  _Tmpl.RecrrgSuplrInvcTmplUUID AS RecrrgSuplrInvcTmplUUID,
  _Tmpl.RecrrgSupplierInvoiceTemplate AS RecrrgSupplierInvoiceTemplate,
  _Tmpl.AccountingDocumentType AS AccountingDocumentType,
  _Tmpl.CompanyCode AS CompanyCode,
  _Tmpl.DocumentReferenceID AS DocumentReferenceID,
  _Tmpl.AccountingDocumentHeaderText AS AccountingDocumentHeaderText,
  _Tmpl.TotalAmountInTransactionCrcy AS TotalAmountInTransactionCrcy,
  _Tmpl.InvoicingParty AS InvoicingParty,
  _Tmpl.ExchangeRate AS ExchangeRate,
  _Tmpl.TotalAmountInLocalCurrency AS TotalAmountInLocalCurrency,
  _Tmpl.TransactionCurrency AS TransactionCurrency,
  _Tmpl.LocalCurrency AS LocalCurrency,
  _Tmpl.AssignmentReference AS AssignmentReference,
  _Tmpl.SupplierBankType AS SupplierBankType,
  _Tmpl.IBAN AS IBAN,
  _Tmpl.SWIFTCode AS SWIFTCode,
  case when _Tmpl.SupplierBankType is initial then '' else _BPBankAlias._BusinessPartnerBankAlias.PaymentSystem end as PaymentSystem AS PaymentSystemendasPaymentSystem,
  case when _Tmpl.SupplierBankType is initial then '' else _BPBankAlias._BusinessPartnerBankAlias.AliasType end as AliasType AS AliasTypeendasAliasType,
  _Tmpl.ReportingCountry AS ReportingCountry,
  _Tmpl.CompanyCodeCountry AS CompanyCodeCountry,
  _Tmpl.SupplierVATRegistration AS SupplierVATRegistration,
  _Tmpl.IsEUTriangularDeal AS IsEUTriangularDeal,
  _Tmpl.DocumentItemText AS DocumentItemText,
  _Tmpl.CreatedByUser AS CreatedByUser,
  _Tmpl.CreatedByUserName AS CreatedByUserName,
  _Tmpl.CreationDate AS CreationDate,
  _Tmpl.StateCentralBankPaymentReason AS StateCentralBankPaymentReason,
  _Tmpl.SupplyingCountry AS SupplyingCountry,
  _Tmpl.PaymentTerms AS PaymentTerms,
  _Tmpl.PaymentMethod AS PaymentMethod,
  _Tmpl.PaymentReference AS PaymentReference,
  _Tmpl.CashDiscount1Days AS CashDiscount1Days,
  _Tmpl.CashDiscount1Percent AS CashDiscount1Percent,
  _Tmpl.CashDiscount2Days AS CashDiscount2Days,
  _Tmpl.CashDiscount2Percent AS CashDiscount2Percent,
  _Tmpl.NetPaymentDays AS NetPaymentDays,
  _Tmpl.HouseBank AS HouseBank,
  _Tmpl.HouseBankAccount AS HouseBankAccount,
  _Tmpl.ManualCashDiscountAmount AS ManualCashDiscountAmount,
  _Tmpl.PaymentMethodSupplement AS PaymentMethodSupplement,
  _Tmpl.SuplrInvcPaymentBlockingReason AS SuplrInvcPaymentBlockingReason,
  _Tmpl.PaytSlipWthRefCheckDigit AS PaytSlipWthRefCheckDigit,
  _Tmpl.PaytSlipWthRefReference AS PaytSlipWthRefReference,
  _Tmpl.PaytSlipWthRefSubscriber AS PaytSlipWthRefSubscriber,
  _Tmpl.TaxCode AS TaxCode,
  _Tmpl.FixedCashDiscount AS FixedCashDiscount,
  _Tmpl.TaxBaseAmountInTransCrcy AS TaxBaseAmountInTransCrcy,
  _Tmpl.TaxDeterminationDate AS TaxDeterminationDate,
  _Tmpl.TaxJurisdiction AS TaxJurisdiction,
  _Tmpl.TaxCountry AS TaxCountry,
  _Tmpl.WithholdingTaxIsEnabled AS WithholdingTaxIsEnabled,
  _Tmpl.GLAccount AS GLAccount,
  _Tmpl.SettlmtCoCodeTaxCountry AS SettlmtCoCodeTaxCountry,
  _Tmpl.RecurrenceStartDate AS RecurrenceStartDate,
  _Tmpl.FirstOccurrenceDate AS FirstOccurrenceDate,
  _Tmpl.NextOccurrenceDate AS NextOccurrenceDate,
  _Tmpl.NextOccurrenceAmountInTC AS NextOccurrenceAmountInTC,
  _Tmpl.RecurrencePattern AS RecurrencePattern,
  cast( _RecurrencePatternText._Text[ Language = $session.system_language ].RecurrenceTypeName as fap_rsiv_recurr_pattern preserving type ) AS RecurrencePatternName,
  _Tmpl.RecurrenceIntervalInDays AS RecurrenceIntervalInDays,
  _Tmpl.RecurrenceIntervalInWeeks AS RecurrenceIntervalInWeeks,
  _Tmpl.RecurrenceIntervalInMonths AS RecurrenceIntervalInMonths,
  _Tmpl.RecurrenceDayOfMonth AS RecurrenceDayOfMonth,
  _Tmpl.RecurrenceDayOfWeek AS RecurrenceDayOfWeek,
  _Tmpl.RecurrenceEndType AS RecurrenceEndType,
  cast( _RecurrenceEndTypeText._Text[ Language = $session.system_language ].RecurrenceEndTypeName as fap_rsiv_recurr_end_type preserving type ) AS RecurrenceEndTypeName,
  _Tmpl.NumberOfOccurrences AS NumberOfOccurrences,
  _Tmpl.NumberOfPostedInvoices AS NumberOfPostedInvoices,
  _Tmpl.NumberOfNotPostedInvoices AS NumberOfNotPostedInvoices,
  _Tmpl.LastOccurrenceDate AS LastOccurrenceDate,
  _Tmpl.ForeignCrcyAmtCnvrsnRule AS ForeignCrcyAmtCnvrsnRule,
  _Tmpl.BusinessPlace AS BusinessPlace,
  _Tmpl.BusinessSectionCode AS BusinessSectionCode,
  _Tmpl.IN_GSTPartner AS IN_GSTPartner,
  _Tmpl.IN_GSTPlaceOfSupply AS IN_GSTPlaceOfSupply,
  _Tmpl.IN_InvoiceReferenceNumber AS IN_InvoiceReferenceNumber,
  _Tmpl.QuickResponseIBAN AS QuickResponseIBAN,
  _Tmpl.OneTimeAcctCntrySpecificRef1 AS OneTimeAcctCntrySpecificRef1,
  _Tmpl.ReferenceAccountForIBAN AS ReferenceAccountForIBAN
FROM I_RecrrgSuplrInvcTmpl AS _Tmpl
LEFT OUTER JOIN C_RecrrgSuplrInvcTmplItem AS _RecrrgSuplrInvcTmplItem ON RecrrgSuplrInvcTmplUUID = _RecrrgSuplrInvcTmplItem.RecrrgSuplrInvcTmplUUID  -- association [0..*]
LEFT OUTER JOIN C_RecrrgSuplrInvcTmplInstce AS _RecrrgSuplrInvcTmplInstce ON RecrrgSuplrInvcTmplUUID = _RecrrgSuplrInvcTmplInstce.RecrrgSuplrInvcTmplUUID  -- association [0..*]
LEFT OUTER JOIN C_RecrrgSuplrInvcTmplWhgdTax AS _RecrrgSuplrInvcTmplWhgdTax ON RecrrgSuplrInvcTmplUUID = _RecrrgSuplrInvcTmplWhgdTax.RecrrgSuplrInvcTmplUUID  -- association [0..*]
LEFT OUTER JOIN I_RecurrencePattern AS _RecurrencePatternText ON RecurrencePattern = _RecurrencePatternText.RecurrenceType  -- association [0..1]
LEFT OUTER JOIN I_RecurrencePatternEndType AS _RecurrenceEndTypeText ON RecurrenceEndType = _RecurrenceEndTypeText.RecurrenceEndType  -- association [0..1]
LEFT OUTER JOIN I_SupplierBankDetails AS _BPBankAlias ON SupplierBankType = _BPBankAlias.BPBankAccountInternalID AND ReferenceAccountForIBAN = _BPBankAlias.Supplier  -- association [0..1]
;