I_BR_NFEPHARMACEUTICAL
Brazil Nota Fiscal Pharma Items
I_BR_NFEPHARMACEUTICAL is a CDS View in S/4HANA. Brazil Nota Fiscal Pharma Items. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_BR_NFePharmaceutical | view | from | BASIC | Brazil Nota Fiscal Pharmaceutical Item |
@AbapCatalog.sqlViewName: 'IBRNFEPHARMA'
@AbapCatalog.compiler.compareFilter: true
@VDM.viewType: #BASIC
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE,#CDS_MODELING_DATA_SOURCE]
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Brazil Nota Fiscal Pharma Items'
@AbapCatalog.preserveKey:true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@AccessControl.authorizationCheck: #CHECK
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.personalData.blocking: #NOT_REQUIRED
define view I_BR_NFePharmaceutical
as select from j_1bnfepharma
association [1..1] to I_Currency as _SalesDocumentCurrency on $projection.SalesDocumentCurrency = _SalesDocumentCurrency.Currency
association [1..1] to I_BR_NFDocument as _BR_NotaFiscal on $projection.BR_NotaFiscal = _BR_NotaFiscal.BR_NotaFiscal
{
key docnum as BR_NotaFiscal,
key itmnum as BR_NotaFiscalItem,
cast(cprodanvisa as logbr_anvisa_code preserving type) as BR_ANVISACode,
@Aggregation.default:#SUM
cast(vpmc as logbr_consumermaxprice) as MedicineConsumerMaxPrice,
cast(exemp_reason as logbr_exemp_reason preserving type) as BR_ANVISAExemptionReasonText,
//Currency for MedicineConsumerMaxPrice
@Semantics.currencyCode:true
_BR_NotaFiscal.SalesDocumentCurrency as SalesDocumentCurrency,
_SalesDocumentCurrency,
_BR_NotaFiscal
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BR_NFDOCUMENT",
"J_1BNFEPHARMA"
],
"ASSOCIATED":
[
"I_BR_NFDOCUMENT",
"I_CURRENCY"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/