C_CollsPromiseToPayInvoiceTP

DDL: C_COLLSPROMISETOPAYINVOICETP Type: view_entity CONSUMPTION

Promise To Pay Invoice

C_CollsPromiseToPayInvoiceTP is a Consumption CDS View that provides data about "Promise To Pay Invoice" in SAP S/4HANA. It reads from 1 data source (R_CollsPromiseToPayInvoiceTP) and exposes 16 fields with key fields PromiseToPayUUID, LinkedInvoiceKey.

Data Sources (1)

SourceAliasJoin Type
R_CollsPromiseToPayInvoiceTP R_CollsPromiseToPayInvoiceTP projection

Annotations (9)

NameValueLevelField
ObjectModel.representativeKey LinkedInvoiceKey view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #X view
VDM.viewType #CONSUMPTION view
EndUserText.label Promise To Pay Invoice view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.allowExtensions true view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY PromiseToPayUUID PromiseToPayUUID
KEY LinkedInvoiceKey LinkedInvoiceKey
CompanyCode CompanyCode
AccountingDocument AccountingDocument
FiscalYear FiscalYear
AccountingDocumentItem AccountingDocumentItem
NetDueDate NetDueDate
OverdueDays OverdueDays
OpenAmountInDocumentCurrency OpenAmountInDocumentCurrency
PromisedAmount PromisedAmount
Currency Currency
CompanyCodeName _CompanyCode CompanyCodeName
CurrencyNameasCurrencyNamelocalized
_CollectionsInvoice _CollectionsInvoice
_CompanyCode _CompanyCode
_Currency _Currency
@ObjectModel: { representativeKey: 'LinkedInvoiceKey',
                semanticKey:       [ 'AccountingDocument' ],
                usageType:         { dataClass:      #TRANSACTIONAL,
                                     sizeCategory:   #L,
                                     serviceQuality: #X } }
@VDM: { viewType: #CONSUMPTION }
@EndUserText: { label: 'Promise To Pay Invoice' }
@AccessControl: { authorizationCheck: #CHECK,
                  personalData: { blocking: #BLOCKED_DATA_EXCLUDED } }
@Metadata: { allowExtensions: true }

define view entity C_CollsPromiseToPayInvoiceTP
  as projection on R_CollsPromiseToPayInvoiceTP
{

      // VDM Fields

  key PromiseToPayUUID,
  key LinkedInvoiceKey,
      
      @ObjectModel: { text: { element: [ 'CompanyCodeName' ] } }
      CompanyCode,
      
      AccountingDocument,
      FiscalYear,
      AccountingDocumentItem,
      NetDueDate,
      OverdueDays,
      OpenAmountInDocumentCurrency,
      PromisedAmount,
      
      @ObjectModel: { text: { element: [ 'CurrencyName' ] } }
      Currency,

      // Text Elements

      _CompanyCode.CompanyCodeName as CompanyCodeName,
      _Currency._Text.CurrencyName as CurrencyName : localized,

      // Exposed Associations

      _CollectionsInvoice,
      _CollsPromiseToPayTP : redirected to parent C_CollsPromiseToPayTP,
      _CompanyCode,
      _Currency

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"I_CURRENCY",
"I_CURRENCYTEXT",
"R_COLLSPROMISETOPAYINVOICETP"
],
"ASSOCIATED":
[
"C_COLLSPROMISETOPAYTP",
"I_COMPANYCODE",
"I_CURRENCY",
"I_OPERATIONALACCTGDOCITEM",
"R_COLLSPROMISETOPAYTP"
],
"BASE":
[
"R_COLLSPROMISETOPAYINVOICETP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/