case 4341
This commit is contained in:
@@ -329,6 +329,7 @@ ayServerMetaData:
|
|||||||
"CompanyCity": "Port Wilfred",
|
"CompanyCity": "Port Wilfred",
|
||||||
"CompanyRegion": "ExampleRegion",
|
"CompanyRegion": "ExampleRegion",
|
||||||
"CompanyCountry": "ExampleCountry",
|
"CompanyCountry": "ExampleCountry",
|
||||||
|
"CompanyAddressPostal": "12398218",
|
||||||
"CompanyLatitude": 13.6747,
|
"CompanyLatitude": 13.6747,
|
||||||
"CompanyLongitude": -70.6925
|
"CompanyLongitude": -70.6925
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -282,6 +282,14 @@ LEFT JOIN LATERAL
|
|||||||
SqlValueColumnName = "acustomer.country"
|
SqlValueColumnName = "acustomer.country"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostal",
|
||||||
|
FieldKey = "customeraddresspostal",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "acustomer.postcodestreet"
|
||||||
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new DataListFieldDefinition
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "AddressLatitude",
|
TKey = "AddressLatitude",
|
||||||
|
|||||||
@@ -215,6 +215,14 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "aheadoffice.country"
|
SqlValueColumnName = "aheadoffice.country"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostal",
|
||||||
|
FieldKey = "headofficeaddresspostal",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "aheadoffice.postcodestreet"
|
||||||
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new DataListFieldDefinition
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "AddressLatitude",
|
TKey = "AddressLatitude",
|
||||||
|
|||||||
@@ -233,6 +233,14 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "apm.country"
|
SqlValueColumnName = "apm.country"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostal",
|
||||||
|
FieldKey = "workorderaddresspostal",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "apm.postcodestreet"
|
||||||
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new DataListFieldDefinition
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "AddressLatitude",
|
TKey = "AddressLatitude",
|
||||||
|
|||||||
@@ -372,6 +372,14 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "apm.country"
|
SqlValueColumnName = "apm.country"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostal",
|
||||||
|
FieldKey = "workorderaddresspostal",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "apm.postcodestreet"
|
||||||
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new DataListFieldDefinition
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "AddressLatitude",
|
TKey = "AddressLatitude",
|
||||||
|
|||||||
@@ -476,6 +476,14 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "apm.country"
|
SqlValueColumnName = "apm.country"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostal",
|
||||||
|
FieldKey = "workorderaddresspostal",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "apm.postcodestreet"
|
||||||
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new DataListFieldDefinition
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "AddressLatitude",
|
TKey = "AddressLatitude",
|
||||||
|
|||||||
@@ -492,6 +492,14 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "apm.country"
|
SqlValueColumnName = "apm.country"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostal",
|
||||||
|
FieldKey = "workorderaddresspostal",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "apm.postcodestreet"
|
||||||
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new DataListFieldDefinition
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "AddressLatitude",
|
TKey = "AddressLatitude",
|
||||||
|
|||||||
@@ -481,6 +481,14 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "apm.country"
|
SqlValueColumnName = "apm.country"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostal",
|
||||||
|
FieldKey = "workorderaddresspostal",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "apm.postcodestreet"
|
||||||
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new DataListFieldDefinition
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "AddressLatitude",
|
TKey = "AddressLatitude",
|
||||||
|
|||||||
@@ -496,6 +496,14 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "apm.country"
|
SqlValueColumnName = "apm.country"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostal",
|
||||||
|
FieldKey = "workorderaddresspostal",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "apm.postcodestreet"
|
||||||
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new DataListFieldDefinition
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "AddressLatitude",
|
TKey = "AddressLatitude",
|
||||||
|
|||||||
@@ -490,6 +490,14 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "apm.country"
|
SqlValueColumnName = "apm.country"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostal",
|
||||||
|
FieldKey = "workorderaddresspostal",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "apm.postcodestreet"
|
||||||
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new DataListFieldDefinition
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "AddressLatitude",
|
TKey = "AddressLatitude",
|
||||||
|
|||||||
@@ -463,6 +463,14 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "apm.country"
|
SqlValueColumnName = "apm.country"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostal",
|
||||||
|
FieldKey = "workorderaddresspostal",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "apm.postcodestreet"
|
||||||
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new DataListFieldDefinition
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "AddressLatitude",
|
TKey = "AddressLatitude",
|
||||||
|
|||||||
@@ -450,6 +450,14 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "apm.country"
|
SqlValueColumnName = "apm.country"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostal",
|
||||||
|
FieldKey = "workorderaddresspostal",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "apm.postcodestreet"
|
||||||
|
});
|
||||||
|
|
||||||
FieldDefinitions.Add(new DataListFieldDefinition
|
FieldDefinitions.Add(new DataListFieldDefinition
|
||||||
{
|
{
|
||||||
TKey = "AddressLatitude",
|
TKey = "AddressLatitude",
|
||||||
|
|||||||
@@ -856,6 +856,11 @@ namespace AyaNova.Util
|
|||||||
ho.City = Fake.Address.City();
|
ho.City = Fake.Address.City();
|
||||||
ho.Region = Fake.Address.State();
|
ho.Region = Fake.Address.State();
|
||||||
ho.Country = Fake.Address.Country();
|
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.Phone1 = Fake.Phone.PhoneNumber();
|
||||||
ho.Phone2 = Fake.Phone.PhoneNumber();
|
ho.Phone2 = Fake.Phone.PhoneNumber();
|
||||||
@@ -902,6 +907,11 @@ namespace AyaNova.Util
|
|||||||
o.City = Fake.Address.City();
|
o.City = Fake.Address.City();
|
||||||
o.Region = Fake.Address.State();
|
o.Region = Fake.Address.State();
|
||||||
o.Country = Fake.Address.Country();
|
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.Phone1 = Fake.Phone.PhoneNumber();
|
||||||
o.Phone2 = Fake.Phone.PhoneNumber();
|
o.Phone2 = Fake.Phone.PhoneNumber();
|
||||||
@@ -989,6 +999,12 @@ namespace AyaNova.Util
|
|||||||
o.Region = Fake.Address.State();
|
o.Region = Fake.Address.State();
|
||||||
o.Country = Fake.Address.Country();
|
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.Phone1 = Fake.Phone.PhoneNumber();
|
||||||
o.Phone2 = Fake.Phone.PhoneNumber();
|
o.Phone2 = Fake.Phone.PhoneNumber();
|
||||||
o.Phone3 = Fake.Phone.PhoneNumber();
|
o.Phone3 = Fake.Phone.PhoneNumber();
|
||||||
@@ -2131,6 +2147,12 @@ namespace AyaNova.Util
|
|||||||
o.Region = Fake.Address.State();
|
o.Region = Fake.Address.State();
|
||||||
o.Country = Fake.Address.Country();
|
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.Phone1 = Fake.Phone.PhoneNumber();
|
||||||
o.Phone2 = Fake.Phone.PhoneNumber();
|
o.Phone2 = Fake.Phone.PhoneNumber();
|
||||||
o.Phone3 = Fake.Phone.PhoneNumber();
|
o.Phone3 = Fake.Phone.PhoneNumber();
|
||||||
@@ -3903,6 +3925,7 @@ namespace AyaNova.Util
|
|||||||
o.City = cust.City;
|
o.City = cust.City;
|
||||||
o.Region = cust.Region;
|
o.Region = cust.Region;
|
||||||
o.Country = cust.Country;
|
o.Country = cust.Country;
|
||||||
|
o.AddressPostal = cust.AddressPostal;
|
||||||
|
|
||||||
|
|
||||||
if (cust.BillHeadOffice && cust.HeadOfficeId != null)
|
if (cust.BillHeadOffice && cust.HeadOfficeId != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user