C_SlOrWtCrWorkflowTaskCard

DDL: C_SLORWTCRWORKFLOWTASKCARD Type: view_entity CONSUMPTION Package: ODATA_SD_SALESORDER_WRF

Sls Ord Without Chrg Workflow Task Card

C_SlOrWtCrWorkflowTaskCard is a Consumption CDS View that provides data about "Sls Ord Without Chrg Workflow Task Card" in SAP S/4HANA. It reads from 1 data source (I_SalesOrderWithoutCharge) and exposes 11 fields with key field SalesOrderWithoutCharge. It has 1 association to related views. Part of development package ODATA_SD_SALESORDER_WRF.

Data Sources (1)

SourceAliasJoin Type
I_SalesOrderWithoutCharge SalesOrderWithoutCharge from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_SlsOrdWthoutChrgPartner _SoldToParty $projection.SalesOrderWithoutCharge = _SoldToParty.SalesOrderWithoutCharge and _SoldToParty.PartnerFunction = 'AG'

Annotations (7)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Sls Ord Without Chrg Workflow Task Card view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY SalesOrderWithoutCharge I_SalesOrderWithoutCharge SalesOrderWithoutCharge
SoldToPartyName _SoldToParty FullName
SoldToParty I_SalesOrderWithoutCharge SoldToParty
PurchaseOrderByCustomer I_SalesOrderWithoutCharge PurchaseOrderByCustomer
SalesOrderWithoutChargeDate I_SalesOrderWithoutCharge SalesOrderWithoutChargeDate
SDDocumentReasonText
SDDocumentReason I_SalesOrderWithoutCharge SDDocumentReason
SalesOrderWithoutChargeType I_SalesOrderWithoutCharge SalesOrderWithoutChargeType
OrganizationDivision I_SalesOrderWithoutCharge OrganizationDivision
SalesOrganization I_SalesOrderWithoutCharge SalesOrganization
DistributionChannel I_SalesOrderWithoutCharge DistributionChannel
@VDM.viewType: #CONSUMPTION
@AccessControl: {
  authorizationCheck: #MANDATORY,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@Metadata:{
  ignorePropagatedAnnotations: true
}
@EndUserText.label: 'Sls Ord Without Chrg Workflow Task Card'
@ObjectModel: {
  usageType: {
    dataClass: #MIXED,
    serviceQuality: #X,
    sizeCategory: #XL
  }
}
@Workflow: { enabledFor: [ #CUSTOM_TASK_ATTRIBUTES] }
define view entity C_SlOrWtCrWorkflowTaskCard
  as select from I_SalesOrderWithoutCharge as SalesOrderWithoutCharge
  association [0..1] to I_SlsOrdWthoutChrgPartner as _SoldToParty on  $projection.SalesOrderWithoutCharge = _SoldToParty.SalesOrderWithoutCharge
                                                                  and _SoldToParty.PartnerFunction        = 'AG'
{
  key SalesOrderWithoutCharge.SalesOrderWithoutCharge,
  
      @UI.hidden: true
      @Semantics.text:true
      _SoldToParty.FullName as SoldToPartyName,

      @ObjectModel.text.element: ['SoldToPartyName']
      SalesOrderWithoutCharge.SoldToParty,

      SalesOrderWithoutCharge.PurchaseOrderByCustomer,

      SalesOrderWithoutCharge.SalesOrderWithoutChargeDate,
      
      @Semantics.text:true
      SalesOrderWithoutCharge._SDDocumentReason._Text[1:Language=$session.system_language].SDDocumentReasonText,

      @ObjectModel.text.element: ['SDDocumentReasonText']
      SalesOrderWithoutCharge.SDDocumentReason,

      //For Authorization Check

      @Consumption.hidden: true
      SalesOrderWithoutCharge.SalesOrderWithoutChargeType,

      @Consumption.hidden: true
      SalesOrderWithoutCharge.OrganizationDivision,

      @Consumption.hidden: true
      SalesOrderWithoutCharge.SalesOrganization,

      @Consumption.hidden: true
      SalesOrderWithoutCharge.DistributionChannel
}