This commit is contained in:
@@ -304,6 +304,7 @@ namespace AyaNova.PlugIn.V8
|
||||
//BIZ objects
|
||||
await ExportLocales(progress);
|
||||
await ExportStaffUsers(progress);
|
||||
await ExportRates(progress);
|
||||
await ExportContracts(progress);
|
||||
await ExportHeadOffices(progress);
|
||||
await ExportClients(progress);
|
||||
@@ -328,7 +329,7 @@ namespace AyaNova.PlugIn.V8
|
||||
//Must be after all root objects due to followups
|
||||
await ExportScheduleMarkers(progress);
|
||||
|
||||
await ExportRates(progress);
|
||||
|
||||
|
||||
|
||||
//NOTE: when get to PRIORITY, or WORKORDER STATUS be sure to add color code as per already done in USER export
|
||||
@@ -1839,6 +1840,9 @@ namespace AyaNova.PlugIn.V8
|
||||
Rates pl = Rates.GetItems(false);
|
||||
progress.Append("Exporting " + pl.Count.ToString() + " " + ObjectTypeName + "s");
|
||||
|
||||
//get the rate unit charge descriptions for export
|
||||
RateUnitChargeDescriptions rud = RateUnitChargeDescriptions.GetItems();
|
||||
|
||||
foreach (Rate i in pl)
|
||||
{
|
||||
if (!progress.KeepGoing) return;
|
||||
@@ -1852,6 +1856,12 @@ namespace AyaNova.PlugIn.V8
|
||||
d.active = i.Active;
|
||||
d.notes = i.Description;
|
||||
d.accountNumber = i.AccountNumber;
|
||||
RateUnitChargeDescription rd = rud[i.RateUnitChargeDescriptionID];
|
||||
if (rd != null)
|
||||
d.unit = rd.Name;
|
||||
d.cost = i.Cost;
|
||||
d.charge = i.Charge;
|
||||
|
||||
Tagit(i.RegionID, tags);
|
||||
Tagit(i.ClientGroupID, tags);
|
||||
SetTags(d, tags);
|
||||
|
||||
Reference in New Issue
Block a user