R_COLLSPROMISETOPAYINVOICETP

CDS View

Promise To Pay Invoice

R_COLLSPROMISETOPAYINVOICETP is a CDS View in S/4HANA. Promise To Pay Invoice. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_CollsPromiseToPayInvoiceTP view_entity projection CONSUMPTION Promise To Pay Invoice
@AccessControl: { authorizationCheck: #CHECK,
                  personalData:       { blocking: #BLOCKED_DATA_EXCLUDED } }
@EndUserText: { label: 'Promise To Pay Invoice' }
@VDM: { viewType:  #TRANSACTIONAL,
        lifecycle: { contract: { type: #SAP_INTERNAL_API } } } 
@ObjectModel: { usageType:                      { serviceQuality: #X,
                                                  sizeCategory:   #L,
                                                  dataClass:      #TRANSACTIONAL },
                modelCategory:                  #BUSINESS_OBJECT,
                transactionalProcessingEnabled: true,
                semanticKey: ['AccountingDocument'],
                representativeKey: 'LinkedInvoiceKey' }

define view entity R_CollsPromiseToPayInvoiceTP
  as select from P_CollsPromiseToPayInvoice

  // VDM Associations

  // Currency

  association [0..1] to I_Currency                   as _Currency            on $projection.Currency = _Currency.Currency

  // Promise To Pay

  association        to parent R_CollsPromiseToPayTP as _CollsPromiseToPayTP on $projection.PromiseToPayUUID = _CollsPromiseToPayTP.PromiseToPayUUID

{
 
      // VDM Fields

  key PromiseToPayUUID,
  key LinkedInvoiceKey,
      CompanyCode,
      AccountingDocument,
      FiscalYear,
      AccountingDocumentItem,
      NetDueDate,
      OverdueDays,

      @Semantics: { amount: { currencyCode: 'Currency' } }
      @EndUserText: { label: 'Maximum Amount' }
      OpenAmountInDocumentCurrency,

      @Semantics: { amount: { currencyCode: 'Currency' } }
      @EndUserText: { label: 'Assigned Amount' }
      PromisedAmount,

      Currency,

      // Exposed Associations

      _CollectionsInvoice,
      _CompanyCode,
      _Currency,
      _CollsPromiseToPayTP
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_COLLSPROMISETOPAYINVOICE"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_CURRENCY",
"I_OPERATIONALACCTGDOCITEM",
"R_COLLSPROMISETOPAYTP"
],
"BASE":
[
"P_COLLSPROMISETOPAYINVOICE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/