This commit is contained in:
2021-08-18 21:36:15 +00:00
parent 25ef4ebf31
commit a420eaf540

View File

@@ -2492,8 +2492,8 @@ namespace AyaNova.PlugIn.V8
d.active = false;//assume it's no longer active
d.name = d.name + " (v8 migrate required)";
d.notes = d.notes + "\nThis record created automatically by v8 migrate because a migrated record is using this as a Service rate but it was changed in v7 to a Travel rate";
d.remove("id");
d.remove("concurrency");
d.Remove("id");
d.Remove("concurrency");
long ravenId = util.IdFromResponse((await util.PostAsync("service-rate", d.ToString())));
ServiceRateMap.Add(rateId, ravenId);
return ravenId;
@@ -2519,8 +2519,8 @@ namespace AyaNova.PlugIn.V8
d.active = false;//assume it's no longer active
d.name = d.name + " (v8 migrate required)";
d.notes = d.notes + "\nThis record created automatically by v8 migrate because a migrated record is using this as a Travel rate but it was changed in v7 to a Service rate";
d.remove("id");
d.remove("concurrency");
d.Remove("id");
d.Remove("concurrency");
long ravenId = util.IdFromResponse((await util.PostAsync("travel-rate", d.ToString())));
TravelRateMap.Add(rateId, ravenId);
return ravenId;