Fix amazon settlement period and other updates

This commit is contained in:
2020-02-11 17:20:45 +00:00
committed by GitHub
parent 7e50da21e7
commit 56647c7648
10 changed files with 128 additions and 46 deletions

View File

@@ -107,7 +107,7 @@ namespace bnhtradeScheduledTasks
{
Console.Clear();
var task = new AmazonReport();
var task2 = new bnhtrade.Core.Logic.Export.AmazonSettlementData(sqlConnectionString);
var task2 = new bnhtrade.Core.Logic.Export.AmazonSettlement(sqlConnectionString);
task.UpdateAmazonSettlementData(sqlConnectionString);
task2.ToInvoice();
Console.WriteLine("Complete, press any key to continue...");
@@ -469,7 +469,7 @@ namespace bnhtradeScheduledTasks
var account = new AmazonReport();
var stock = new StockReconciliation();
var export = new bnhtrade.Core.Logic.Export.AmazonSettlementData(sqlConnectionString);
var export = new bnhtrade.Core.Logic.Export.AmazonSettlement(sqlConnectionString);
bool accountUpdate = false;
bool stockUpdate = false;