I_CAInvcgDocHeader

DDL: I_CAINVCGDOCHEADER Type: view_entity BASIC

Fakturierungsbelegkopf

Invoicing Document Header

I_CAInvcgDocHeader (Basic)

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

Contract Accounting Invoicing Document · Contract Accounting

I_CAInvcgDocHeader is a Basic CDS View that provides data about "Fakturierungsbelegkopf" in SAP S/4HANA. It reads from 1 data source (dfkkinvdoc_h) and exposes 96 fields with key field CAInvoicingDocument. It has 31 associations to related views.

SAP Help Documentation

CategoryCDS Views for Transaction Data
Purpose
This CDS view retrieves the invoicing document in Convergent Invoicing. Invoicing documents are created by an invoicing process in Convergent Invoicing. The invoicing document is a document by which the issuer informs the receiver about a claim or a credit. The invoicing document is the basis for creating correspondence in invoice printing, as well as for posting to Contract Accounting. This CDS view provides the data to answer the following business questions: What is the amount of a given invoicing document? When is the next invoice due for a customer? What was the total revenue for a given customer on a specific date? What was the total invoiced amount for a given customer last year? What was the total revenue on a specific date or over a specific period? What were the total discounts on a specific date? How many invoicing documents were reversed last year? 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 the following authorization objects assigned: F_KKINV (FI-CA Invoicing: Authorizations for Invoicing Document) F_KKINVBUK (FI-CA Invoicing: Invoicing Document, Company Code Authorization)

Structure
Important Fields Important fields in this view include the following: Field Name Description CAInvoicingDocument Invoicing Document Number BusinessPartner Business Partner Number ContractAccount Contract Account Number CompanyCode Company Code CAInvcgDocPeriodDate Invoicing Period TransactionCurrency Transaction Currency CAAmountInTransactionCurrency Amount in Transaction Currency with +/- Sign

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA-INV
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction
PackageContract Accounting for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves the invoicing document in Convergent Invoicing.</p> <p>Invoicing documents are created by an invoicing process in Convergent Invoicing. The invoicing document is a document by which the issuer informs the receiver about a claim or a credit. The invoicing document is the basis for creating correspondence in invoice printing, as well as for posting to Contract Accounting.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What is the amount of a given invoicing document?</p></li> <li><p>When is the next invoice due for a customer?</p></li> <li><p>What was the total revenue for a given customer on a specific date?</p></li> <li><p>What was the total invoiced amount for a given customer last year?</p></li> <li><p>What was the total revenue on a specific date or over a specific period?</p></li> <li><p>What were the total discounts on a specific date?</p></li> <li><p>How many invoicing documents were reversed last year?</p></li> </ul> <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
dfkkinvdoc_h dfkkinvdoc_h from

Associations (31)

CardinalityTargetAliasCondition
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_ContractAccountHeader _ContractAccountHeader $projection.ContractAccount = _ContractAccountHeader.ContractAccount
[0..1] I_ContractAccountPartner _ContractAccountPartner $projection.BusinessPartner = _ContractAccountPartner.BusinessPartner and $projection.ContractAccount = _ContractAccountPartner.ContractAccount
[0..1] I_ContractAccountHeader _AltvContractAcctForCollvBills $projection.AltvContractAcctForCollvBills = _AltvContractAcctForCollvBills.ContractAccount
[1..1] I_CAInvcgDocHeader _CAInvcgDocHeader $projection.CAInvoicingDocument = _CAInvcgDocHeader.CAInvoicingDocument
[0..1] I_CAInvcgDocHeader _CAInvcgReversalDocument $projection.CAInvcgReversalDocument = _CAInvcgReversalDocument.CAInvoicingDocument
[0..1] I_CAInvcgDocHeader _CAInvcgReversedDocument $projection.CAInvcgReversedDocument = _CAInvcgReversedDocument.CAInvoicingDocument
[0..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[0..1] I_CAInvcgPreliminaryCategory _CAInvcgPreliminaryCategory $projection.CAInvcgPreliminaryCategory = _CAInvcgPreliminaryCategory.CAInvcgPreliminaryCategory
[0..1] I_CAPreliminaryInvcgDocStatus _CAPreliminaryInvcgDocStatus $projection.CAPreliminaryInvcgDocStatus = _CAPreliminaryInvcgDocStatus.CAPreliminaryInvcgDocStatus
[0..1] I_CAInvcgDocReversalReason _CAInvcgDocReversalReason $projection.CAInvcgDocumentReversalReason = _CAInvcgDocReversalReason.CAInvcgDocumentReversalReason
[0..1] I_CAInvcgDocLockedforPrint _CAInvcgDocLockedforPrint $projection.CAInvcgDocIsLockedForPrinting = _CAInvcgDocLockedforPrint.CAInvcgDocIsLockedForPrinting
[0..1] I_CAInvcgProcess _CAInvcgProcess $projection.CAInvcgProcess = _CAInvcgProcess.CAInvcgProcess and $projection.CAApplicationArea = _CAInvcgProcess.CAApplicationArea
[0..1] I_CAInvcgCategory _CAInvcgCategory $projection.CAInvcgCategory = _CAInvcgCategory.CAInvcgCategory
[0..1] I_CAInvcgType _CAInvcgType $projection.CAInvcgType = _CAInvcgType.CAInvcgType and $projection.CAApplicationArea = _CAInvcgType.CAApplicationArea
[0..1] I_CAInvcgDocumentType _CAInvcgDocumentType $projection.CAInvcgDocumentType = _CAInvcgDocumentType.CAInvcgDocumentType and $projection.CAApplicationArea = _CAInvcgDocumentType.CAApplicationArea and _CAInvcgDocumentType.NameNumberRangeObject = 'FKKINVDOC'
[0..1] I_CASubApplication _CASubApplication $projection.CASubApplication = _CASubApplication.CASubApplication
[0..1] I_CAInvcgPeriodCat _CAInvcgPeriodCat $projection.CAInvcgDocPeriodCategory = _CAInvcgPeriodCat.CAInvcgPeriodCategory
[0..1] I_CAInvcgTargetProc _CAInvcgTargetProc $projection.CAInvcgTargetProcess = _CAInvcgTargetProc.CAInvcgTargetProcess
[0..1] I_CAApplicationArea _CAApplicationArea $projection.CAApplicationArea = _CAApplicationArea.CAApplicationArea
[0..1] I_CAInvcgCorrectionCat _CAInvcgCorrectionCat $projection.CAInvcgCorrectionCategory = _CAInvcgCorrectionCat.CAInvcgCorrectionCategory
[0..1] I_CAInvcgDocChrgDiscItems _CAInvcgDocChrgDiscItems $projection.CAInvcgDocHasChargeOrDiscItems = _CAInvcgDocChrgDiscItems.CAInvcgDocHasChargeOrDiscItems
[0..1] I_CAInvcgDocCreationMode _CAInvcgDocCreationMode $projection.CAInvcgDocCreationMode = _CAInvcgDocCreationMode.CAInvcgDocCreationMode
[0..1] I_CAInvcgMasterDataType _CAInvcgMasterDataType $projection.CAInvcgMasterDataType = _CAInvcgMasterDataType.CAInvcgMasterDataType
[0..1] I_CAInvcgDocTechDocType _CAInvcgDocTechDocType $projection.CAInvcgTechnicalDocumentType = _CAInvcgDocTechDocType.CAInvcgTechnicalDocumentType
[0..1] I_CAInvcgDocPartOfList _CAInvcgDocPartOfList $projection.CAInvcgDocIsPartOfList = _CAInvcgDocPartOfList.CAInvcgDocIsPartOfList
[0..1] I_CAInvcgBolloTaxPostStatus _CAInvcgBolloTaxPostStatus $projection.CAInvcgBolloTaxPostStatus = _CAInvcgBolloTaxPostStatus.CAInvcgBolloTaxPostStatus
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_CAReconciliationKey _CAReconciliationKey $projection.CAReconciliationKey = _CAReconciliationKey.CAReconciliationKey
[0..1] I_CAProviderContractHeader _ProviderContract $projection.CASubApplication = 'P' and $projection.CAContract = _ProviderContract.CAProviderContract
[0..1] E_CAInvcgDocHeader _Extension $projection.CAInvoicingDocument = _Extension.CAInvoicingDocument

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey CAInvoicingDocument view
ObjectModel.sapObjectNodeType.name ContrAcctgInvoicingDocument view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Fakturierungsbelegkopf view

Fields (96)

KeyFieldSource TableSource FieldDescription
KEY CAInvoicingDocument invdocno Number of Invoicing Document
CAApplicationArea applk Application Area
CAInvcgProcess inv_process Invoicing Process
CAInvcgType inv_type SAF-T Inv. Type
CAInvcgCategory inv_category Invoicing Category
CAInvcgTechnicalDocumentType Type of Technical Billing/Invoicing Document
CAInvcgTargetProcess targprocess Target Process That Invoices the Source Document
BusinessPartner Business Partner Number
ContractAccount vkont Contract Account Number
CAInvcgMasterDataType mdcat Type of Master Record for Convergent Invoicing
AltvContractAcctForCollvBills abwvk Alternative Contract Account for Collective Bills
CASubstituteDocumentNumber Number of the Substitute FI-CA Document
CreatedByUser crname Last Changed By
CAInvcgCreationDate crdate Creation Date of Invoicing Document
CAInvcgCreationTime crtime Time of Creation of Invoicing Document
CAInvcgDocCreationMode crmode Creation Mode of Invoicing Document
CAInvcgNmbrOfInvoicingDocItems recnum Total Number of Items of an Invoicing Document
CABllbleItmNumber Number of Billable Items
CAInvcgDocInternalNumber invrunno Internal Number of Invoicing Run
CAReconciliationKey fikey Reconciliation Key for General Ledger
CAPostingDate budat Posting Date in the Document
DocumentDate bldat Document Date in Document
CANetDueDate faedn Due date for net payment
CACashDiscountDueDate faeds Due Date for Cash Discount
CACashDiscountRate sktpz Cash Discount Percentage Rate
TransactionCurrency total_curr Transaction Currency
CAAmountInTransactionCurrency total_amt Amount in Transaction Currency with +/- Sign
CAInvcgIsDocumentPosted invoiced Invoicing Document Posted
CAInvcgIsDocumentSimulated simulated Invoicing Document Is Simulated
CAInvcgIsDocumentPreliminary Preliminary Invoice
CAInvcgPreliminaryCategory Preliminary Invoice Category
CAPrelimInvcgDocValue prlinv_cnt Counter for Consecutive Preliminary Invoices
CAPreliminaryInvcgDocStatus Status of Preliminary Invoice
CAInvcgDocumentReversalReason revreason Reversal Reason of Invoicing Document
CAInvcgReversalDocument Number of Reversal Invoicing Document
CAInvcgReversedDocument Number of Reversed Invoicing Document
CAInvcgCorrectionCategory Category of Invoice Correction
CAInvcgDocumentPrintDate printdate Print Date of Invoicing Document
CAInvcgDocIsLockedForPrinting printlock Invoicing Document Locked for Printing
CAPaymentFormNumber nrzas Payment Form Number
CAInvcgDocFormID form_id Form ID for Invoice Printing
ApplicationForm formkey Form Name
FormIDForAttachedPaymentMedium zlsch Form ID for Attached Payment Medium
CAInvcgDocumentType doctype TSW Document type
CAKeyIdentification exkid Key Identification
CAOfficialDocumentNumber Official Document Number
CAPartnerSettlementRule ptsrl Partner Settlement Rule
CompanyCode bukrs Company Code
BusinessPlace bupla Business place
CAContract vtref Reference Specifications from Contract
CASubApplication subap Subapplication in Contract Accounts Receivable and Payable
CAInvcgBaseDate invoice_basedate Baseline Date for Period Assignment in Invoicing
CAInvcgDocPeriodCategory invpercat Category of Invoicing Period
CAInvcgDocPeriodDate invperiod Invoicing Period
CAInvcgDocPeriodStartDate invperiod_from Start of Invoicing Period
CADunningCounter mazae Counter for several dunning notices to a business partner
CAInvcgDocHasChargeOrDiscItems Invoicing Document Contains Charge/Discount Items
CAInvcgDocHasControlDoc Control Document for Clrfctn Case
CAInvcgBolloTaxPostStatus bollotax Stamp Tax Posted
CAInvcgDocIsPartOfList xsubinv Invoicing Document Is Single Document of Invoicing List
CAInvcgDocHasObjectRelation xinvdoc_x Invoicing Document Contains Object Relationships
CAInvcgDocHasSEPAPreNotif sepa_prenot Invoicing Document Contains SEPA Pre-Notification
CAInvcgDocExternal External Invoicing Document
CAInvcgAdjustmentDocument adjustmentdoc Number of Adjustment Invoicing Document
CAInvcgAdjustedDocument Number of Adjusted Invoicing Document
NameNumberRangeObject Number Range Object
_BusinessPartner _BusinessPartner
_ContractAccountHeader _ContractAccountHeader
_ContractAccountPartner _ContractAccountPartner
_AltvContractAcctForCollvBills _AltvContractAcctForCollvBills
_CAReconciliationKey _CAReconciliationKey
_TransactionCurrency _TransactionCurrency
_CAInvcgPreliminaryCategory _CAInvcgPreliminaryCategory
_CAPreliminaryInvcgDocStatus _CAPreliminaryInvcgDocStatus
_CAInvcgProcess _CAInvcgProcess
_CAInvcgType _CAInvcgType
_CAInvcgCategory _CAInvcgCategory
_CAInvcgDocTechDocType _CAInvcgDocTechDocType
_CAInvcgTargetProc _CAInvcgTargetProc
_CAInvcgMasterDataType _CAInvcgMasterDataType
_CAInvcgDocCreationMode _CAInvcgDocCreationMode
_CAInvcgDocReversalReason _CAInvcgDocReversalReason
_CAInvcgReversalDocument _CAInvcgReversalDocument
_CAInvcgReversedDocument _CAInvcgReversedDocument
_CAInvcgCorrectionCat _CAInvcgCorrectionCat
_CAInvcgDocumentType _CAInvcgDocumentType
_CAInvcgDocLockedforPrint _CAInvcgDocLockedforPrint
_CAInvcgPeriodCat _CAInvcgPeriodCat
_CAInvcgDocChrgDiscItems _CAInvcgDocChrgDiscItems
_CAInvcgBolloTaxPostStatus _CAInvcgBolloTaxPostStatus
_CAInvcgDocPartOfList _CAInvcgDocPartOfList
_CompanyCode _CompanyCode
_CASubApplication _CASubApplication
_ProviderContract _ProviderContract
_CAInvcgDocHeader _CAInvcgDocHeader
_CAApplicationArea _CAApplicationArea

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 I_CAInvcgDocHeader.
-- 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 I_CAInvcgDocHeader AS
SELECT
  invdocno AS CAInvoicingDocument,
  applk AS CAApplicationArea,
  inv_process AS CAInvcgProcess,
  inv_type AS CAInvcgType,
  inv_category AS CAInvcgCategory,
  cast(techdoctype as techdoctype_gfn_kk preserving type) AS CAInvcgTechnicalDocumentType,
  targprocess AS CAInvcgTargetProcess,
  cast(gpart as bu_partner preserving type) AS BusinessPartner,
  vkont AS ContractAccount,
  mdcat AS CAInvcgMasterDataType,
  abwvk AS AltvContractAcctForCollvBills,
  cast(abwbl as abwbl_gfn_kk preserving type ) AS CASubstituteDocumentNumber,
  crname AS CreatedByUser,
  crdate AS CAInvcgCreationDate,
  crtime AS CAInvcgCreationTime,
  crmode AS CAInvcgDocCreationMode,
  recnum AS CAInvcgNmbrOfInvoicingDocItems,
  cast(bit_number as bit_number_gfn_kk preserving type) AS CABllbleItmNumber,
  invrunno AS CAInvcgDocInternalNumber,
  fikey AS CAReconciliationKey,
  budat AS CAPostingDate,
  bldat AS DocumentDate,
  faedn AS CANetDueDate,
  faeds AS CACashDiscountDueDate,
  sktpz AS CACashDiscountRate,
  total_curr AS TransactionCurrency,
  total_amt AS CAAmountInTransactionCurrency,
  invoiced AS CAInvcgIsDocumentPosted,
  simulated AS CAInvcgIsDocumentSimulated,
  cast(preliminary as inv_preliminary_gfn_kk preserving type) AS CAInvcgIsDocumentPreliminary,
  cast(prlinv_cat as prlinv_cat_gfn_kk preserving type) AS CAInvcgPreliminaryCategory,
  prlinv_cnt AS CAPrelimInvcgDocValue,
  cast(prlinv_status as prlinv_status_gfn_kk preserving type) AS CAPreliminaryInvcgDocStatus,
  revreason AS CAInvcgDocumentReversalReason,
  cast(reversaldoc as inv_reversaldoc_gfn_kk preserving type) AS CAInvcgReversalDocument,
  cast(reverseddoc as inv_reverseddoc_gfn_kk preserving type) AS CAInvcgReversedDocument,
  cast(corrcat as corrcat_gfn_kk preserving type) AS CAInvcgCorrectionCategory,
  printdate AS CAInvcgDocumentPrintDate,
  printlock AS CAInvcgDocIsLockedForPrinting,
  nrzas AS CAPaymentFormNumber,
  form_id AS CAInvcgDocFormID,
  formkey AS ApplicationForm,
  zlsch AS FormIDForAttachedPaymentMedium,
  doctype AS CAInvcgDocumentType,
  exkid AS CAKeyIdentification,
  cast(exbel as exbel_no_conv_kk) AS CAOfficialDocumentNumber,
  ptsrl AS CAPartnerSettlementRule,
  bukrs AS CompanyCode,
  bupla AS BusinessPlace,
  vtref AS CAContract,
  subap AS CASubApplication,
  invoice_basedate AS CAInvcgBaseDate,
  invpercat AS CAInvcgDocPeriodCategory,
  invperiod AS CAInvcgDocPeriodDate,
  invperiod_from AS CAInvcgDocPeriodStartDate,
  mazae AS CADunningCounter,
  cast(chgdoc_ex as chgdoc_ex_gfn_kk preserving type) AS CAInvcgDocHasChargeOrDiscItems,
  cast(cfcsimulated as inv_cfcsimulated_gfn_kk preserving type) AS CAInvcgDocHasControlDoc,
  bollotax AS CAInvcgBolloTaxPostStatus,
  xsubinv AS CAInvcgDocIsPartOfList,
  xinvdoc_x AS CAInvcgDocHasObjectRelation,
  sepa_prenot AS CAInvcgDocHasSEPAPreNotif,
  cast(ext_invdocno as ext_invdocno_gfn_kk preserving type) AS CAInvcgDocExternal,
  adjustmentdoc AS CAInvcgAdjustmentDocument,
  cast(adjusteddoc as adjustedinvdoc_gfn_kk preserving type) AS CAInvcgAdjustedDocument,
  cast('FKKINV' as nrobj) AS NameNumberRangeObject
FROM dfkkinvdoc_h
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccountHeader ON ContractAccount = _ContractAccountHeader.ContractAccount  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _ContractAccountPartner ON BusinessPartner = _ContractAccountPartner.BusinessPartner AND ContractAccount = _ContractAccountPartner.ContractAccount  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _AltvContractAcctForCollvBills ON AltvContractAcctForCollvBills = _AltvContractAcctForCollvBills.ContractAccount  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgDocHeader AS _CAInvcgDocHeader ON CAInvoicingDocument = _CAInvcgDocHeader.CAInvoicingDocument  -- association [1..1]
LEFT OUTER JOIN I_CAInvcgDocHeader AS _CAInvcgReversalDocument ON CAInvcgReversalDocument = _CAInvcgReversalDocument.CAInvoicingDocument  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgDocHeader AS _CAInvcgReversedDocument ON CAInvcgReversedDocument = _CAInvcgReversedDocument.CAInvoicingDocument  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgPreliminaryCategory AS _CAInvcgPreliminaryCategory ON CAInvcgPreliminaryCategory = _CAInvcgPreliminaryCategory.CAInvcgPreliminaryCategory  -- association [0..1]
LEFT OUTER JOIN I_CAPreliminaryInvcgDocStatus AS _CAPreliminaryInvcgDocStatus ON CAPreliminaryInvcgDocStatus = _CAPreliminaryInvcgDocStatus.CAPreliminaryInvcgDocStatus  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgDocReversalReason AS _CAInvcgDocReversalReason ON CAInvcgDocumentReversalReason = _CAInvcgDocReversalReason.CAInvcgDocumentReversalReason  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgDocLockedforPrint AS _CAInvcgDocLockedforPrint ON CAInvcgDocIsLockedForPrinting = _CAInvcgDocLockedforPrint.CAInvcgDocIsLockedForPrinting  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgProcess AS _CAInvcgProcess ON CAInvcgProcess = _CAInvcgProcess.CAInvcgProcess AND CAApplicationArea = _CAInvcgProcess.CAApplicationArea  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgCategory AS _CAInvcgCategory ON CAInvcgCategory = _CAInvcgCategory.CAInvcgCategory  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgType AS _CAInvcgType ON CAInvcgType = _CAInvcgType.CAInvcgType AND CAApplicationArea = _CAInvcgType.CAApplicationArea  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgDocumentType AS _CAInvcgDocumentType ON CAInvcgDocumentType = _CAInvcgDocumentType.CAInvcgDocumentType AND CAApplicationArea = _CAInvcgDocumentType.CAApplicationArea AND _CAInvcgDocumentType.NameNumberRangeObject = 'FKKINVDOC'  -- association [0..1]
LEFT OUTER JOIN I_CASubApplication AS _CASubApplication ON CASubApplication = _CASubApplication.CASubApplication  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgPeriodCat AS _CAInvcgPeriodCat ON CAInvcgDocPeriodCategory = _CAInvcgPeriodCat.CAInvcgPeriodCategory  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgTargetProc AS _CAInvcgTargetProc ON CAInvcgTargetProcess = _CAInvcgTargetProc.CAInvcgTargetProcess  -- association [0..1]
LEFT OUTER JOIN I_CAApplicationArea AS _CAApplicationArea ON CAApplicationArea = _CAApplicationArea.CAApplicationArea  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgCorrectionCat AS _CAInvcgCorrectionCat ON CAInvcgCorrectionCategory = _CAInvcgCorrectionCat.CAInvcgCorrectionCategory  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgDocChrgDiscItems AS _CAInvcgDocChrgDiscItems ON CAInvcgDocHasChargeOrDiscItems = _CAInvcgDocChrgDiscItems.CAInvcgDocHasChargeOrDiscItems  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgDocCreationMode AS _CAInvcgDocCreationMode ON CAInvcgDocCreationMode = _CAInvcgDocCreationMode.CAInvcgDocCreationMode  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgMasterDataType AS _CAInvcgMasterDataType ON CAInvcgMasterDataType = _CAInvcgMasterDataType.CAInvcgMasterDataType  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgDocTechDocType AS _CAInvcgDocTechDocType ON CAInvcgTechnicalDocumentType = _CAInvcgDocTechDocType.CAInvcgTechnicalDocumentType  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgDocPartOfList AS _CAInvcgDocPartOfList ON CAInvcgDocIsPartOfList = _CAInvcgDocPartOfList.CAInvcgDocIsPartOfList  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgBolloTaxPostStatus AS _CAInvcgBolloTaxPostStatus ON CAInvcgBolloTaxPostStatus = _CAInvcgBolloTaxPostStatus.CAInvcgBolloTaxPostStatus  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CAReconciliationKey AS _CAReconciliationKey ON CAReconciliationKey = _CAReconciliationKey.CAReconciliationKey  -- association [0..1]
LEFT OUTER JOIN I_CAProviderContractHeader AS _ProviderContract ON CASubApplication = 'P' AND CAContract = _ProviderContract.CAProviderContract  -- association [0..1]
LEFT OUTER JOIN E_CAInvcgDocHeader AS _Extension ON CAInvoicingDocument = _Extension.CAInvoicingDocument  -- association [0..1]
;