I_BR_NFEXPORTDOCUMENT

CDS View

Brazil Nota Fiscal Export Document

I_BR_NFEXPORTDOCUMENT is a CDS View in S/4HANA. Brazil Nota Fiscal Export Document. It contains 1 fields. 3 CDS views read from this table.

CDS Views using this table (3)

ViewTypeJoinVDMDescription
A_BR_NFExportDocument view from BASIC Brazil Nota Fiscal Export Document
I_BR_NFItemExportDocument_C view from COMPOSITE Brazil Nota Fiscal Item Exportation
P_BR_ReportingNFExportKey view inner CONSUMPTION Nota Fiscal References by NFe Key

Fields (1)

KeyField CDS FieldsUsed in Views
BR_NFItemExprtNFeAccessKey BR_NFItemExprtNFeAccessKey 1
@AbapCatalog.sqlViewName: 'IBRNFITEMEXPORT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Brazil Nota Fiscal Export Document'
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE,#CDS_MODELING_DATA_SOURCE]
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey:true
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.personalData.blocking: #NOT_REQUIRED

define view I_BR_NFExportDocument
  as select from j_1bnfe_export
  association [1..1] to I_BR_NFItem     as _BR_NotaFiscalItem on $projection.BR_NotaFiscalItem = _BR_NotaFiscalItem.BR_NotaFiscalItem
                                                             and $projection.BR_NotaFiscal = _BR_NotaFiscalItem.BR_NotaFiscal
  association [1..1] to I_UnitOfMeasure as _BaseUnit          on $projection.BaseUnit = _BaseUnit.UnitOfMeasure
{
  key j_1bnfe_export.docnum                                                 as BR_NotaFiscal,
  key j_1bnfe_export.itmnum                                                 as BR_NotaFiscalItem,
  key cast(j_1bnfe_export.exp_seq as logbr_nfe_expseq preserving type)      as BR_NFItemExprtSqncNumber,

      @Semantics.unitOfMeasure:true
      _BR_NotaFiscalItem.BaseUnit                                           as BaseUnit,
      _BR_NotaFiscalItem,
      _BaseUnit,

      cast(j_1bnfe_export.nre as logbr_nfe_nre preserving type)             as BR_NFItemExprtRegNumber,
      cast(j_1bnfe_export.chnfe as logbr_nfe_chnfe preserving type)         as BR_NFItemExprtNFeAccessKey,
      @Semantics.quantity.unitOfMeasure:'BaseUnit'
      @Aggregation.default:#SUM
      cast(j_1bnfe_export.qexport as logbr_nfe_qexport preserving type)     as BR_NFItemExportRealQty,
      
      @VDM.lifecycle.status: #DEPRECATED
      @VDM.lifecycle.successor: 'BR_NFExportDrawbackConcession'
      cast('' as j_1bnfe_exp_draw_back) as BR_NFItmExprtDrwbkConcession,
      cast(j_1bnfe_export.ndraw as logbr_nfe_exp_draw_back preserving type) as BR_NFExportDrawbackConcession
      
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BR_NFITEM",
"J_1BNFE_EXPORT"
],
"ASSOCIATED":
[
"I_BR_NFITEM",
"I_UNITOFMEASURE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/