I_CAINVCGDOCRELATION

CDS View

Fakturierungsbelegobjektverknüpfungen

I_CAINVCGDOCRELATION is a CDS View in S/4HANA. Fakturierungsbelegobjektverknüpfungen. It contains 8 fields. 6 CDS views read from this table.

CDS Views using this table (6)

ViewTypeJoinVDMDescription
A_CAInvcgDocRelation view_entity from CONSUMPTION Invoicing Document Relation
C_CAInvcgDocRelation view_entity from CONSUMPTION Fakturierungsbeleg Objektverknüpfungen
I_CABillPrntBillgPlnItem view_entity from COMPOSITE Abrechnungsplanpositionen
I_CABillPrntInvcgDocBillgReq view_entity from COMPOSITE Fakturierungsbelegobjektverknüpfungen
I_CABillPrntInvcgDocRltn view_entity from COMPOSITE Fakturierungsbelegobjektverknüpfungen
P_PT_CAOriginalDocument view_entity from CONSUMPTION Portugal Contract Accounting Original Document

Fields (8)

KeyField CDS FieldsUsed in Views
KEY CAInvcgCreationDate CAInvcgCreationDate 2
KEY CAInvcgReferenceObject CAInvcgReferenceObject 4
KEY CAInvoicingDocument CAInvoicingDocument 5
KEY CAReferenceObjectID CAReferenceObjectID 2
CAInvcgIsDocumentPosted CAInvcgIsDocumentPosted 2
CAInvcgIsDocumentPreliminary CAInvcgIsDocumentPreliminary 2
CAInvcgIsDocumentSimulated CAInvcgIsDocumentSimulated 2
CAReferenceObjectAddlText CAReferenceObjectAddlText 2
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Fakturierungsbelegobjektverknüpfungen'
@VDM.viewType: #BASIC
@Analytics.dataExtraction.enabled: true
@ObjectModel: {
  usageType: {
    serviceQuality: #A,
    sizeCategory: #XL,
    dataClass: #TRANSACTIONAL
  },
  modelingPattern: #NONE,
  sapObjectNodeType.name: 'ContrAcctgInvcgDocRelation',
  supportedCapabilities: [
    #SQL_DATA_SOURCE,
    #CDS_MODELING_DATA_SOURCE,
    #CDS_MODELING_ASSOCIATION_TARGET,
    #EXTRACTION_DATA_SOURCE
  ]
}
@Metadata.ignorePropagatedAnnotations: true
define view entity I_CAInvcgDocRelation
  as select from dfkkinvdoc_x
  association [0..1] to I_CAInvcgReferenceObj as _CAInvcgReferenceObj on $projection.CAInvcgReferenceObject = _CAInvcgReferenceObj.CAInvcgReferenceObject
  association [0..1] to I_CAInvcgDocHeader    as _CAInvcgDocHeader    on $projection.CAInvoicingDocument = _CAInvcgDocHeader.CAInvoicingDocument
{
      @ObjectModel.foreignKey.association: '_CAInvcgReferenceObj'
  key refobjname                                                    as CAInvcgReferenceObject,
  key refobjvalue                                                   as CAReferenceObjectID,
      @Semantics.systemDate.createdAt: true
  key crdate                                                        as CAInvcgCreationDate,
      @ObjectModel.foreignKey.association: '_CAInvcgDocHeader'
  key invdocno                                                      as CAInvoicingDocument,
      invoiced                                                      as CAInvcgIsDocumentPosted,
      simulated                                                     as CAInvcgIsDocumentSimulated,
      cast(preliminary as inv_preliminary_gfn_kk preserving type)   as CAInvcgIsDocumentPreliminary,
      cast(refobjvalue2 as inv_refobjvalue2_gfn_kk preserving type) as CAReferenceObjectAddlText,

      // Make association public

      _CAInvcgReferenceObj,
      _CAInvcgDocHeader
}