case 4341
This commit is contained in:
@@ -230,6 +230,4 @@ namespace AyaNova.Api.Controllers
|
|||||||
|
|
||||||
}//eoc
|
}//eoc
|
||||||
|
|
||||||
// internal record PostalAddressRecord(string PostAddress, string PostCity, string PostRegion, string PostCountry, string PostCode);
|
|
||||||
// internal record AddressRecord(string Address, string City, string Region, string Country, decimal? Latitude, decimal? Longitude);
|
|
||||||
}//eons
|
}//eons
|
||||||
@@ -487,6 +487,7 @@ namespace AyaNova.Biz
|
|||||||
newObj.City = cust.City;
|
newObj.City = cust.City;
|
||||||
newObj.Region = cust.Region;
|
newObj.Region = cust.Region;
|
||||||
newObj.Country = cust.Country;
|
newObj.Country = cust.Country;
|
||||||
|
newObj.AddressPostal = cust.AddressPostal;
|
||||||
newObj.Latitude = cust.Latitude;
|
newObj.Latitude = cust.Latitude;
|
||||||
newObj.Longitude = cust.Longitude;
|
newObj.Longitude = cust.Longitude;
|
||||||
|
|
||||||
@@ -5270,6 +5271,7 @@ namespace AyaNova.Biz
|
|||||||
//o.CompleteByDate=??
|
//o.CompleteByDate=??
|
||||||
wo.ContractId = p.ContractId;
|
wo.ContractId = p.ContractId;
|
||||||
wo.Country = p.Country;
|
wo.Country = p.Country;
|
||||||
|
wo.AddressPostal = p.AddressPostal;
|
||||||
wo.CreatedDate = DateTime.UtcNow;
|
wo.CreatedDate = DateTime.UtcNow;
|
||||||
wo.CustomerContactName = p.CustomerContactName;
|
wo.CustomerContactName = p.CustomerContactName;
|
||||||
wo.CustomerId = p.CustomerId;
|
wo.CustomerId = p.CustomerId;
|
||||||
|
|||||||
@@ -175,6 +175,7 @@ namespace AyaNova.Biz
|
|||||||
vc.Add(vnd.City, "vndcity", vid);
|
vc.Add(vnd.City, "vndcity", vid);
|
||||||
vc.Add(vnd.Region, "vndregion", vid);
|
vc.Add(vnd.Region, "vndregion", vid);
|
||||||
vc.Add(vnd.Country, "vndcountry", vid);
|
vc.Add(vnd.Country, "vndcountry", vid);
|
||||||
|
vc.Add(vnd.AddressPostal,"vndaddresspostal",vid);
|
||||||
vc.Add(vnd.Latitude.ToString(), "vndlat", vid);
|
vc.Add(vnd.Latitude.ToString(), "vndlat", vid);
|
||||||
vc.Add(vnd.Longitude.ToString(), "vndlong", vid);
|
vc.Add(vnd.Longitude.ToString(), "vndlong", vid);
|
||||||
vc.Add(vnd.PostAddress, "vndpostaddr", vid);
|
vc.Add(vnd.PostAddress, "vndpostaddr", vid);
|
||||||
@@ -201,6 +202,7 @@ namespace AyaNova.Biz
|
|||||||
po.VendorCityViz = vc.Get("vndcity", vid);
|
po.VendorCityViz = vc.Get("vndcity", vid);
|
||||||
po.VendorRegionViz = vc.Get("vndregion", vid);
|
po.VendorRegionViz = vc.Get("vndregion", vid);
|
||||||
po.VendorCountryViz = vc.Get("vndcountry", vid);
|
po.VendorCountryViz = vc.Get("vndcountry", vid);
|
||||||
|
po.VendorAddressPostalViz = vc.Get("vndaddresspostal",vid);
|
||||||
po.VendorLatitudeViz = vc.GetAsDecimal("vndlat", vid);
|
po.VendorLatitudeViz = vc.GetAsDecimal("vndlat", vid);
|
||||||
po.VendorLongitudeViz = vc.GetAsDecimal("vndlong", vid);
|
po.VendorLongitudeViz = vc.GetAsDecimal("vndlong", vid);
|
||||||
po.VendorPostAddressViz = vc.Get("vndpostaddr", vid);
|
po.VendorPostAddressViz = vc.Get("vndpostaddr", vid);
|
||||||
|
|||||||
@@ -461,6 +461,7 @@ namespace AyaNova.Biz
|
|||||||
newObj.City = cust.City;
|
newObj.City = cust.City;
|
||||||
newObj.Region = cust.Region;
|
newObj.Region = cust.Region;
|
||||||
newObj.Country = cust.Country;
|
newObj.Country = cust.Country;
|
||||||
|
newObj.AddressPostal = cust.AddressPostal;
|
||||||
newObj.Latitude = cust.Latitude;
|
newObj.Latitude = cust.Latitude;
|
||||||
newObj.Longitude = cust.Longitude;
|
newObj.Longitude = cust.Longitude;
|
||||||
|
|
||||||
|
|||||||
@@ -572,6 +572,7 @@ namespace AyaNova.Biz
|
|||||||
newObj.City = cust.City;
|
newObj.City = cust.City;
|
||||||
newObj.Region = cust.Region;
|
newObj.Region = cust.Region;
|
||||||
newObj.Country = cust.Country;
|
newObj.Country = cust.Country;
|
||||||
|
newObj.AddressPostal = cust.AddressPostal;
|
||||||
newObj.Latitude = cust.Latitude;
|
newObj.Latitude = cust.Latitude;
|
||||||
newObj.Longitude = cust.Longitude;
|
newObj.Longitude = cust.Longitude;
|
||||||
|
|
||||||
|
|||||||
@@ -110,6 +110,11 @@ namespace AyaNova.Models
|
|||||||
public string VendorRegionViz { get; set; }
|
public string VendorRegionViz { get; set; }
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
public string VendorCountryViz { get; set; }
|
public string VendorCountryViz { get; set; }
|
||||||
|
|
||||||
|
[NotMapped]
|
||||||
|
public string VendorAddressPostalViz { get; set; }
|
||||||
|
|
||||||
|
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
public decimal? VendorLatitudeViz { get; set; }
|
public decimal? VendorLatitudeViz { get; set; }
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
|
|||||||
Reference in New Issue
Block a user