case 4341

This commit is contained in:
2022-12-13 23:09:34 +00:00
parent 3abe0c0379
commit 4d1c95c375
13 changed files with 113 additions and 1 deletions

View File

@@ -329,6 +329,7 @@ ayServerMetaData:
"CompanyCity": "Port Wilfred",
"CompanyRegion": "ExampleRegion",
"CompanyCountry": "ExampleCountry",
"CompanyAddressPostal": "12398218",
"CompanyLatitude": 13.6747,
"CompanyLongitude": -70.6925
}

View File

@@ -282,6 +282,14 @@ LEFT JOIN LATERAL
SqlValueColumnName = "acustomer.country"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressPostal",
FieldKey = "customeraddresspostal",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlValueColumnName = "acustomer.postcodestreet"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressLatitude",

View File

@@ -215,6 +215,14 @@ namespace AyaNova.DataList
SqlValueColumnName = "aheadoffice.country"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressPostal",
FieldKey = "headofficeaddresspostal",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlValueColumnName = "aheadoffice.postcodestreet"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressLatitude",

View File

@@ -233,6 +233,14 @@ namespace AyaNova.DataList
SqlValueColumnName = "apm.country"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressPostal",
FieldKey = "workorderaddresspostal",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlValueColumnName = "apm.postcodestreet"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressLatitude",

View File

@@ -372,6 +372,14 @@ namespace AyaNova.DataList
SqlValueColumnName = "apm.country"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressPostal",
FieldKey = "workorderaddresspostal",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlValueColumnName = "apm.postcodestreet"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressLatitude",

View File

@@ -476,6 +476,14 @@ namespace AyaNova.DataList
SqlValueColumnName = "apm.country"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressPostal",
FieldKey = "workorderaddresspostal",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlValueColumnName = "apm.postcodestreet"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressLatitude",

View File

@@ -492,6 +492,14 @@ namespace AyaNova.DataList
SqlValueColumnName = "apm.country"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressPostal",
FieldKey = "workorderaddresspostal",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlValueColumnName = "apm.postcodestreet"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressLatitude",

View File

@@ -481,6 +481,14 @@ namespace AyaNova.DataList
SqlValueColumnName = "apm.country"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressPostal",
FieldKey = "workorderaddresspostal",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlValueColumnName = "apm.postcodestreet"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressLatitude",

View File

@@ -496,6 +496,14 @@ namespace AyaNova.DataList
SqlValueColumnName = "apm.country"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressPostal",
FieldKey = "workorderaddresspostal",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlValueColumnName = "apm.postcodestreet"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressLatitude",

View File

@@ -490,6 +490,14 @@ namespace AyaNova.DataList
SqlValueColumnName = "apm.country"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressPostal",
FieldKey = "workorderaddresspostal",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlValueColumnName = "apm.postcodestreet"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressLatitude",

View File

@@ -463,6 +463,14 @@ namespace AyaNova.DataList
SqlValueColumnName = "apm.country"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressPostal",
FieldKey = "workorderaddresspostal",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlValueColumnName = "apm.postcodestreet"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressLatitude",

View File

@@ -450,6 +450,14 @@ namespace AyaNova.DataList
SqlValueColumnName = "apm.country"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressPostal",
FieldKey = "workorderaddresspostal",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlValueColumnName = "apm.postcodestreet"
});
FieldDefinitions.Add(new DataListFieldDefinition
{
TKey = "AddressLatitude",

View File

@@ -856,6 +856,11 @@ namespace AyaNova.Util
ho.City = Fake.Address.City();
ho.Region = Fake.Address.State();
ho.Country = Fake.Address.Country();
ho.PostAddress = Fake.Address.StreetAddress();
ho.PostCity = ho.City;
ho.PostRegion = ho.Region;
ho.PostCountry = ho.Country;
ho.AddressPostal = ho.PostCode = Fake.Address.ZipCode();
ho.Phone1 = Fake.Phone.PhoneNumber();
ho.Phone2 = Fake.Phone.PhoneNumber();
@@ -902,6 +907,11 @@ namespace AyaNova.Util
o.City = Fake.Address.City();
o.Region = Fake.Address.State();
o.Country = Fake.Address.Country();
o.PostAddress = Fake.Address.StreetAddress();
o.PostCity = o.City;
o.PostRegion = o.Region;
o.PostCountry = o.Country;
o.AddressPostal = o.PostCode = Fake.Address.ZipCode();
o.Phone1 = Fake.Phone.PhoneNumber();
o.Phone2 = Fake.Phone.PhoneNumber();
@@ -989,6 +999,12 @@ namespace AyaNova.Util
o.Region = Fake.Address.State();
o.Country = Fake.Address.Country();
o.PostAddress = Fake.Address.StreetAddress();
o.PostCity = o.City;
o.PostRegion = o.Region;
o.PostCountry = o.Country;
o.AddressPostal = o.PostCode = Fake.Address.ZipCode();
o.Phone1 = Fake.Phone.PhoneNumber();
o.Phone2 = Fake.Phone.PhoneNumber();
o.Phone3 = Fake.Phone.PhoneNumber();
@@ -2131,6 +2147,12 @@ namespace AyaNova.Util
o.Region = Fake.Address.State();
o.Country = Fake.Address.Country();
o.PostAddress = Fake.Address.StreetAddress();
o.PostCity = o.City;
o.PostRegion = o.Region;
o.PostCountry = o.Country;
o.AddressPostal = o.PostCode = Fake.Address.ZipCode();
o.Phone1 = Fake.Phone.PhoneNumber();
o.Phone2 = Fake.Phone.PhoneNumber();
o.Phone3 = Fake.Phone.PhoneNumber();
@@ -3903,6 +3925,7 @@ namespace AyaNova.Util
o.City = cust.City;
o.Region = cust.Region;
o.Country = cust.Country;
o.AddressPostal = cust.AddressPostal;
if (cust.BillHeadOffice && cust.HeadOfficeId != null)