A_BR_NFAdditionImportDoc

DDL: A_BR_NFADDITIONIMPORTDOC SQL: ABRNFADDIMPDOC Type: view BASIC Package: GLO_LOG_BR

Brazil NF Import Document Additions

A_BR_NFAdditionImportDoc is a Basic CDS View that provides data about "Brazil NF Import Document Additions" in SAP S/4HANA. It reads from 1 data source (I_BR_NFAdditionImportDoc) and exposes 12 fields with key fields BR_NotaFiscal, BR_NotaFiscalItem, BR_NFImportDocument, BR_NFAddition, BR_NFItemSequenceNumber. It has 1 association to related views. Part of development package GLO_LOG_BR.

Data Sources (1)

SourceAliasJoin Type
I_BR_NFAdditionImportDoc I_BR_NFAdditionImportDoc from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_BR_NFDocument _BR_NFDoc $projection.BR_NotaFiscal = _BR_NFDoc.BR_NotaFiscal

Annotations (17)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName ABRNFADDIMPDOC view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Brazil NF Import Document Additions view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
OData.entitySet.name A_BR_NFAdditionImportDoc view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled false view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY BR_NotaFiscal BR_NotaFiscal
KEY BR_NotaFiscalItem BR_NotaFiscalItem
KEY BR_NFImportDocument BR_NFImportDocument
KEY BR_NFAddition BR_NFAddition
KEY BR_NFItemSequenceNumber BR_NFItemSequenceNumber
BR_NFForeignManufacturer BR_NFForeignManufacturer
BR_NFAdditionItemDiscountAmt BR_NFAdditionItemDiscountAmt
BR_NFDrawbackConcession
BR_NFImportDrawbackConcession BR_NFImportDrawbackConcession
SalesDocumentCurrency SalesDocumentCurrency
_BR_NFDoc _BR_NFDoc
_BR_NFItem _BR_NFItem
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'ABRNFADDIMPDOC'
@VDM.viewType: #BASIC
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Brazil NF Import Document Additions'
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #S
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations:true
@OData.entitySet.name : 'A_BR_NFAdditionImportDoc'
@ObjectModel: {
  createEnabled: true,
  updateEnabled: true,
  deleteEnabled: false
}
define view A_BR_NFAdditionImportDoc
  as select from I_BR_NFAdditionImportDoc
  association        to parent A_BR_NFItem as _BR_NFItem on  $projection.BR_NotaFiscal     = _BR_NFItem.BR_NotaFiscal
                                                         and $projection.BR_NotaFiscalItem = _BR_NFItem.BR_NotaFiscalItem
  association [1..1] to A_BR_NFDocument    as _BR_NFDoc  on  $projection.BR_NotaFiscal = _BR_NFDoc.BR_NotaFiscal
{
      //I_BR_NFAdditionImportDoc

      @ObjectModel.foreignKey.association: '_BR_NFDoc'
  key BR_NotaFiscal,
      @ObjectModel.foreignKey.association: '_BR_NFItem'
  key BR_NotaFiscalItem,
  key BR_NFImportDocument,
  key BR_NFAddition,
  key BR_NFItemSequenceNumber, 
      BR_NFForeignManufacturer,
      @Semantics.amount.currencyCode:'SalesDocumentCurrency'
      BR_NFAdditionItemDiscountAmt,
      cast('' as j_1bnfe_imp_draw_back) as BR_NFDrawbackConcession,
      BR_NFImportDrawbackConcession,
      @Semantics.currencyCode:true
      SalesDocumentCurrency,
      /* Associations */
      @ObjectModel.association.type: [#TO_COMPOSITION_ROOT]
      _BR_NFDoc,
      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT]
      _BR_NFItem
}