fixed keys

This commit is contained in:
D065023
2019-12-06 10:54:45 +01:00
parent dfe876e2cf
commit 12aee3e38c
7 changed files with 80 additions and 37 deletions

View File

@@ -75,6 +75,7 @@ annotate my.Authors with {
annotate my.ShippingAddresses with {
AddressID @title:'{i18n>AddressID}';
BusinessPartner @UI.hidden;
CityName @title:'{i18n>CityName}';
StreetName @title:'{i18n>StreetName}';
PostalCode @title:'{i18n>PostalCode}';

View File

@@ -30,6 +30,7 @@ annotate AdminService.Orders with {
SearchSupported: 'true',
Parameters: [
{ $Type: 'Common.ValueListParameterOut', LocalDataProperty: 'shippingAddress_AddressID', ValueListProperty: 'AddressID'},
{ $Type: 'Common.ValueListParameterOut', LocalDataProperty: 'shippingAddress_BusinessPartner', ValueListProperty: 'BusinessPartner'},
{ $Type: 'Common.ValueListParameterDisplayOnly', ValueListProperty: 'PostalCode'},
{ $Type: 'Common.ValueListParameterDisplayOnly', ValueListProperty: 'CityName'},
{ $Type: 'Common.ValueListParameterDisplayOnly', ValueListProperty: 'StreetName'},
@@ -40,10 +41,11 @@ annotate AdminService.Orders with {
EffectTypes : #ValueChange,
SourceProperties : [shippingAddress_AddressID],
TargetProperties : [
shippingAddress.HouseNumber,
shippingAddress.StreetName,
shippingAddress.CityName,
shippingAddress.PostalCode
shippingAddress.Country,
shippingAddress.HouseNumber,
shippingAddress.StreetName,
shippingAddress.CityName,
shippingAddress.PostalCode
]
}
}
@@ -82,7 +84,7 @@ annotate AdminService.Orders with @(
{Value: createdBy, Label:'Customer'},
{Value: createdAt, Label:'Date'},
{Value: OrderNo },
{Value: 'shippingAddress_AddressID', Label: 'Address ID'}
{Value: 'shippingAddress', Label: 'Address ID'}
],
HeaderFacets: [
{$Type: 'UI.ReferenceFacet', Label: '{i18n>Created}', Target: '@UI.FieldGroup#Created'},