case 4341

This commit is contained in:
2022-12-13 22:24:06 +00:00
parent b090c1040d
commit 722b968aa5
6 changed files with 14 additions and 2 deletions

View File

@@ -146,6 +146,7 @@ namespace AyaNova.Biz
l.Add(new FormField { TKey = "AddressCity", FieldKey = "City" });
l.Add(new FormField { TKey = "AddressStateProv", FieldKey = "Region" });
l.Add(new FormField { TKey = "AddressCountry", FieldKey = "Country" });
l.Add(new FormField { TKey = "AddressPostal", FieldKey = "AddressPostal" });
l.Add(new FormField { TKey = "AddressLatitude", FieldKey = "Latitude" });
l.Add(new FormField { TKey = "AddressLongitude", FieldKey = "Longitude" });
l.Add(new FormField { TKey = "AddressPostalDeliveryAddress", FieldKey = "PostAddress" });
@@ -195,7 +196,8 @@ namespace AyaNova.Biz
l.Add(new FormField { TKey = "AddressDeliveryAddress", FieldKey = "Address" });
l.Add(new FormField { TKey = "AddressCity", FieldKey = "City" });
l.Add(new FormField { TKey = "AddressStateProv", FieldKey = "Region" });
l.Add(new FormField { TKey = "AddressCountry", FieldKey = "Country" });
l.Add(new FormField { TKey = "AddressCountry", FieldKey = "Country" });
l.Add(new FormField { TKey = "AddressPostal", FieldKey = "AddressPostal" });
l.Add(new FormField { TKey = "AddressLatitude", FieldKey = "Latitude" });
l.Add(new FormField { TKey = "AddressLongitude", FieldKey = "Longitude" });
l.Add(new FormField { TKey = "AddressPostalDeliveryAddress", FieldKey = "PostAddress" });
@@ -701,6 +703,7 @@ namespace AyaNova.Biz
l.Add(new FormField { TKey = "AddressCity", FieldKey = "City" });
l.Add(new FormField { TKey = "AddressStateProv", FieldKey = "Region" });
l.Add(new FormField { TKey = "AddressCountry", FieldKey = "Country" });
l.Add(new FormField { TKey = "AddressPostal", FieldKey = "AddressPostal" });
l.Add(new FormField { TKey = "AddressLatitude", FieldKey = "Latitude" });
l.Add(new FormField { TKey = "AddressLongitude", FieldKey = "Longitude" });
@@ -788,6 +791,7 @@ namespace AyaNova.Biz
l.Add(new FormField { TKey = "AddressCity", FieldKey = "City" });
l.Add(new FormField { TKey = "AddressStateProv", FieldKey = "Region" });
l.Add(new FormField { TKey = "AddressCountry", FieldKey = "Country" });
l.Add(new FormField { TKey = "AddressPostal", FieldKey = "AddressPostal" });
l.Add(new FormField { TKey = "AddressLatitude", FieldKey = "Latitude" });
l.Add(new FormField { TKey = "AddressLongitude", FieldKey = "Longitude" });
l.Add(new FormField { TKey = "AddressPostalDeliveryAddress", FieldKey = "PostAddress" });

View File

@@ -120,7 +120,8 @@ namespace AyaNova.Biz
vc.Add(ds.Address, "custaddr", pid);
vc.Add(ds.City, "custcity", pid);
vc.Add(ds.Region, "custregion", pid);
vc.Add(ds.Country, "custcountry", pid);
vc.Add(ds.Country, "custcountry", pid);
vc.Add(ds.AddressPostal, "custaddresspostal", pid);
vc.Add(ds.Latitude.ToString(), "custlat", pid);
vc.Add(ds.Longitude.ToString(), "custlong", pid);
vc.Add(ds.PostAddress, "custpostaddr", pid);
@@ -143,6 +144,7 @@ namespace AyaNova.Biz
po.DropShipToCustomerCityViz = vc.Get("custcity", pid);
po.DropShipToCustomerRegionViz = vc.Get("custregion", pid);
po.DropShipToCustomerCountryViz = vc.Get("custcountry", pid);
po.DropShipToCustomerAddressPostalViz = vc.Get("custaddresspostal", pid);
po.DropShipToCustomerLatitudeViz = vc.GetAsDecimal("custlat", pid);
po.DropShipToCustomerLongitudeViz = vc.GetAsDecimal("custlong", pid);
po.DropShipToCustomerPostAddressViz = vc.Get("custpostaddr", pid);

View File

@@ -66,6 +66,9 @@ namespace AyaNova.Models
public string DropShipToCustomerRegionViz { get; set; }
[NotMapped]
public string DropShipToCustomerCountryViz { get; set; }
[NotMapped]
public string DropShipToCustomerAddressPostalViz { get; set; }
[NotMapped]
public decimal? DropShipToCustomerLatitudeViz { get; set; }
[NotMapped]