This commit is contained in:
@@ -942,7 +942,7 @@ namespace AyaNova.PlugIn.V8
|
||||
if (ShouldExportCustom)
|
||||
d.customFields = CustomFieldData(c, DateCustomFields);
|
||||
|
||||
var rMainObject = await util.PostAsync(RavenObjectName, d.ToString());
|
||||
var rMainObject = await util.PostAsync("loan-unit", d.ToString());
|
||||
long RavenId = util.IdFromResponse(rMainObject);
|
||||
AddMap(c.ID, RavenId);
|
||||
|
||||
@@ -972,7 +972,7 @@ namespace AyaNova.PlugIn.V8
|
||||
repost = true;
|
||||
}
|
||||
if (repost)
|
||||
await util.PutAsync(RavenObjectName, d.ToString());
|
||||
await util.PutAsync("loan-unit", d.ToString());
|
||||
//-----
|
||||
|
||||
//Event log fixup
|
||||
@@ -1024,7 +1024,7 @@ namespace AyaNova.PlugIn.V8
|
||||
if (ShouldExportCustom)
|
||||
d.customFields = CustomFieldData(c, DateCustomFields);
|
||||
|
||||
var rMainObject = await util.PostAsync(RavenObjectName, d.ToString());
|
||||
var rMainObject = await util.PostAsync("part", d.ToString());
|
||||
long RavenId = util.IdFromResponse(rMainObject);
|
||||
AddMap(c.ID, RavenId);
|
||||
|
||||
@@ -1595,7 +1595,7 @@ namespace AyaNova.PlugIn.V8
|
||||
if (IsDuplicateMapItem(c.ID, c.WorkorderQuote.QuoteNumber.ToString(), progress)) continue;
|
||||
var ObjectTID = new TypeAndID(RootObjectTypes.WorkorderQuote, c.ID);
|
||||
//make one on the server to update
|
||||
var rMainObject = await util.PostAsync(RavenObjectName + "/Create?serial=" + c.WorkorderQuote.QuoteNumber);
|
||||
var rMainObject = await util.PostAsync("quote" + "/Create?serial=" + c.WorkorderQuote.QuoteNumber);
|
||||
long RavenId = util.IdFromResponse(rMainObject);
|
||||
AddMap(c.ID, RavenId);
|
||||
|
||||
@@ -1640,7 +1640,7 @@ namespace AyaNova.PlugIn.V8
|
||||
repost = true;
|
||||
}
|
||||
if (repost)
|
||||
await util.PutAsync(RavenObjectName, d.ToString());
|
||||
await util.PutAsync("quote", d.ToString());
|
||||
//-----
|
||||
|
||||
//Event log fixup
|
||||
@@ -1679,7 +1679,7 @@ namespace AyaNova.PlugIn.V8
|
||||
if (IsDuplicateMapItem(c.ID, c.WorkorderPreventiveMaintenance.PreventiveMaintenanceNumber.ToString(), progress)) continue;
|
||||
var ObjectTID = new TypeAndID(RootObjectTypes.WorkorderPreventiveMaintenance, c.ID);
|
||||
//make one on the server to update
|
||||
var rMainObject = await util.PostAsync(RavenObjectName + "/Create?serial=" + c.WorkorderPreventiveMaintenance.PreventiveMaintenanceNumber);
|
||||
var rMainObject = await util.PostAsync("pm" + "/Create?serial=" + c.WorkorderPreventiveMaintenance.PreventiveMaintenanceNumber);
|
||||
long RavenId = util.IdFromResponse(rMainObject);
|
||||
AddMap(c.ID, RavenId);
|
||||
|
||||
@@ -1724,7 +1724,7 @@ namespace AyaNova.PlugIn.V8
|
||||
repost = true;
|
||||
}
|
||||
if (repost)
|
||||
await util.PutAsync(RavenObjectName, d.ToString());
|
||||
await util.PutAsync("pm", d.ToString());
|
||||
//-----
|
||||
|
||||
//Event log fixup
|
||||
|
||||
Reference in New Issue
Block a user