This commit is contained in:
@@ -2492,8 +2492,8 @@ namespace AyaNova.PlugIn.V8
|
|||||||
d.active = false;//assume it's no longer active
|
d.active = false;//assume it's no longer active
|
||||||
d.name = d.name + " (v8 migrate required)";
|
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.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("id");
|
||||||
d.remove("concurrency");
|
d.Remove("concurrency");
|
||||||
long ravenId = util.IdFromResponse((await util.PostAsync("service-rate", d.ToString())));
|
long ravenId = util.IdFromResponse((await util.PostAsync("service-rate", d.ToString())));
|
||||||
ServiceRateMap.Add(rateId, ravenId);
|
ServiceRateMap.Add(rateId, ravenId);
|
||||||
return ravenId;
|
return ravenId;
|
||||||
@@ -2519,8 +2519,8 @@ namespace AyaNova.PlugIn.V8
|
|||||||
d.active = false;//assume it's no longer active
|
d.active = false;//assume it's no longer active
|
||||||
d.name = d.name + " (v8 migrate required)";
|
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.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("id");
|
||||||
d.remove("concurrency");
|
d.Remove("concurrency");
|
||||||
long ravenId = util.IdFromResponse((await util.PostAsync("travel-rate", d.ToString())));
|
long ravenId = util.IdFromResponse((await util.PostAsync("travel-rate", d.ToString())));
|
||||||
TravelRateMap.Add(rateId, ravenId);
|
TravelRateMap.Add(rateId, ravenId);
|
||||||
return ravenId;
|
return ravenId;
|
||||||
|
|||||||
Reference in New Issue
Block a user