@VDM.viewType: #CONSUMPTION
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'Customer'
@ObjectModel.supportedCapabilities: [#VALUE_HELP_PROVIDER]
@ObjectModel.modelingPattern:#NONE
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MASTER
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@Search.searchable: true
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Customers by All Addresses'
@Consumption.ranked: true
@Feature: 'SW:BPCUSTOMER_MULTIPLE_ADDRESSES, SW: BPCUSTOMER_MULTIPLE_ADDRESSES2'
// @Feature: 'SW:ZNO_LIGHTWEIGHT_SWITCH_01' - added for testing in local systems.
define view entity C_BPCustomerMultiAddrVH
as select from I_BPCustomerMultiAddrVH as BPCustomerMultiAddrVH
{
@UI.hidden: true
key BPCustomerMultiAddrVH.AddressID,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #LOW
@UI.lineItem: [{ position:80, importance: #LOW }]
@UI.selectionField: [{ position: 80 }]
key BPCustomerMultiAddrVH.BusinessPartner,
@ObjectModel.text.element: ['CustomerName']
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
@UI: {
lineItem: [{ position: 10, importance: #HIGH }],
selectionField: [{ position: 10 }] }
key BPCustomerMultiAddrVH.Customer,
@UI: {
lineItem: [{ position: 20, importance: #HIGH }] }
@EndUserText.label: 'Customer Name'
@Semantics.text: true
BPCustomerMultiAddrVH.CustomerName,
@EndUserText.label: 'Standard Address'
@EndUserText.quickInfo: 'Standard Address Indicator'
@UI.lineItem: [{ position:30, importance:#LOW}]
@UI.selectionField: [{ position: 20 }]
BPCustomerMultiAddrVH.StandardUsage,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #LOW
@UI.lineItem: [{ position:40, importance:#LOW}]
@UI.selectionField: [{ position: 30 }]
BPCustomerMultiAddrVH.Country,
// @EndUserText.label: 'City'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #LOW
@UI.lineItem: [{ position:50, importance:#HIGH}]
@UI.selectionField: [{ position: 40 }]
BPCustomerMultiAddrVH.CityName,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #LOW
@UI.lineItem: [{ position:60, importance:#HIGH}]
@UI.selectionField: [{ position: 50 }]
BPCustomerMultiAddrVH.StreetName,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #LOW
@UI.lineItem: [{ position:70, importance:#LOW}]
@UI.selectionField: [{ position: 60 }]
BPCustomerMultiAddrVH.HouseNumber,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #LOW
@UI.lineItem: [{ position:80, importance:#HIGH}]
@UI.selectionField: [{ position: 70 }]
BPCustomerMultiAddrVH.PostalCode,
@Search: {
defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.8 }
@EndUserText.label: 'Name 1'
BPCustomerMultiAddrVH.OrganizationBPName1,
@Search: {
defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.8 }
@EndUserText.label: 'Name 2'
BPCustomerMultiAddrVH.OrganizationBPName2,
@EndUserText.label: 'Search Term 1'
@Search: {
defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.8 }
BPCustomerMultiAddrVH.AddressSearchTerm1,
@EndUserText.label: 'Search Term 2'
@Search: {
defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.8 }
BPCustomerMultiAddrVH.AddressSearchTerm2,
@EndUserText.label: 'Valid From'
@Search: {
defaultSearchElement:false,
ranking: #LOW }
BPCustomerMultiAddrVH.AddressValidityStartDate,
@Search: {
defaultSearchElement:false,
ranking: #LOW }
@EndUserText.label: 'Valid To'
BPCustomerMultiAddrVH.AddressValidityEndDate,
@Consumption.hidden: true
@UI.hidden: true
BPCustomerMultiAddrVH.CustomerAccountGroup,
@Consumption.hidden: true
@UI.hidden: true
BPCustomerMultiAddrVH.AuthorizationGroup,
@Consumption.hidden: true
@UI.hidden: true
@Semantics.booleanIndicator: true
BPCustomerMultiAddrVH.IsBusinessPurposeCompleted,
// Fields added For Data Controller in DCL .... RESTRICTED FIELDS, NOT TO BE CONSUMED.
@UI.hidden: true
@Consumption.filter.hidden: true
BPCustomerMultiAddrVH.DataControllerSet,
@UI.hidden: true
@Consumption.filter.hidden: true
BPCustomerMultiAddrVH.DataController1,
@UI.hidden: true
@Consumption.filter.hidden: true
BPCustomerMultiAddrVH.DataController2,
@UI.hidden: true
@Consumption.filter.hidden: true
BPCustomerMultiAddrVH.DataController3,
@UI.hidden: true
@Consumption.filter.hidden: true
BPCustomerMultiAddrVH.DataController4,
@UI.hidden: true
@Consumption.filter.hidden: true
BPCustomerMultiAddrVH.DataController5,
@UI.hidden: true
@Consumption.filter.hidden: true
BPCustomerMultiAddrVH.DataController6,
@UI.hidden: true
@Consumption.filter.hidden: true
BPCustomerMultiAddrVH.DataController7,
@UI.hidden: true
@Consumption.filter.hidden: true
BPCustomerMultiAddrVH.DataController8,
@UI.hidden: true
@Consumption.filter.hidden: true
BPCustomerMultiAddrVH.DataController9,
@UI.hidden: true
@Consumption.filter.hidden: true
BPCustomerMultiAddrVH.DataController10
// @Consumption.hidden: true
// @UI.hidden: true
// BPCustomerMultiAddrVH.BusinessPartnerType,
// @Consumption.hidden: true
// @UI.hidden: true
// BPCustomerMultiAddrVH.AddressUsage
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BPCUSTOMERMULTIADDRVH"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/