@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@VDM.viewType: #CONSUMPTION
@EndUserText.label : 'Purchasing Documents VH for DDF'
@Search.searchable: true
@Consumption.ranked: true
define view entity C_DspDocFlwPurchaseDocVH
as select from I_PurchasingDocument
{
@UI.selectionField: [ {position: 10 }]
@UI.lineItem: [ {position: 10 }]
@Search: { defaultSearchElement: true , ranking: #HIGH, fuzzinessThreshold: 0.9 }
key PurchasingDocument,
@UI.lineItem: [ {position: 20 }]
@Search: { defaultSearchElement: true , ranking: #LOW, fuzzinessThreshold: 0.8 }
@Semantics.text: true
_PurchasingDocumentType._Text[1:Language = $session.system_language].PurchasingDocumentTypeName,
@UI.selectionField: [ {position: 20 }]
@UI.lineItem: [ {position: 30 }]
@Search: { defaultSearchElement: true , ranking: #LOW }
@ObjectModel.text.reference.association : '_CompanyCode'
CompanyCode,
@UI.selectionField: [ {position: 30 }]
@UI.lineItem: [ {position: 40 }]
@Search: { defaultSearchElement: true , ranking: #LOW }
cast ( CreationDate as fac_ddf_document_date preserving type ) as CreationDate,
@UI.selectionField: [ {position: 40 }]
@UI.lineItem: [ {position: 50 }]
@Search: { defaultSearchElement: true , ranking: #LOW }
@ObjectModel.text.reference.association : '_PurchasingOrganization'
PurchasingOrganization,
@UI.selectionField: [ {position: 50 }]
@UI.lineItem: [ {position: 60 }]
@Search: { defaultSearchElement: true , ranking: #LOW }
@ObjectModel.text.reference.association : '_Supplier'
Supplier,
@UI.hidden: true
cast ( PurchasingDocument as fac_ddf_anchor_document ) as AnchorDocument,
@UI.hidden: true
cast ( 'BUS2012' as swo_objtyp) as ReferenceDocumentType,
@Consumption.hidden: true
IsEndOfPurposeBlocked,
@Consumption.hidden: true
PurchasingDocumentType,
@Consumption.hidden: true
PurchasingDocumentCategory,
@Consumption.hidden: true
PurchasingDocumentOrigin,
@Consumption.hidden: true
PurchasingGroup,
_CompanyCode,
_PurchasingOrganization,
_Supplier
}
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_PURCHASINGDOCUMENT",
"I_PURCHASINGDOCUMENTTYPE",
"I_PURCHASINGDOCUMENTTYPETEXT"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_PURCHASINGORGANIZATION",
"I_SUPPLIER"
],
"BASE":
[
"I_PURCHASINGDOCUMENT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
C_DspDocFlwPurchaseDocVH view_entity