the abandoned fba repricing feature

* Merge master into branch (#15)

* Bug fix

* Bug fix when retriving shipment stock status id

* Various bug fixs and improvements to stock SKU reconciliation

* Last MWS report import date time saved

* master into branch (#16)

* Bug fix

* Bug fix when retriving shipment stock status id

* Various bug fixs and improvements to stock SKU reconciliation

* Last MWS report import date time saved

* wip

* wip

* wip

* wip

* wip

* some extra tidying up to get it to complie and the main merge is complete

* wip
This commit is contained in:
Bobbie Hodgetts
2024-04-17 13:23:33 +01:00
committed by GitHub
parent a7bc00e73a
commit f1d7119306
19 changed files with 355 additions and 44 deletions

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace bnhtrade.Core.Test.AmazonMWS
{
public class Report
{
private string sqlConnectionString;
public Report(string sqlConnectionString)
{
this.sqlConnectionString = sqlConnectionString;
// method you want to start here
GetRport();
}
public void GetRport()
{
string mwsReportEnum = "_GET_FBA_FULFILLMENT_INVENTORY_RECEIPTS_DATA_";
DateTime start = new DateTime(2020, 10, 01);
DateTime finish = new DateTime(2020, 11, 03);
var result = new bnhtrade.Core.AmazonReport().GetMwsReportByPeriod(mwsReportEnum, start, finish, 12, 30);
}
}
}

View File

@@ -24,7 +24,7 @@ namespace bnhtrade.Core.Test.Export
var memStream = new MemoryStream();
filestream.CopyTo(memStream);
var logicBit = new Core.Logic.Export.AmazonSubmitFile(sqlConnectionString);
var logicBit = new Core.Logic.Export.AmazonSubmitFile();
logicBit.SubmitInventoryLoader(memStream);
}

View File

@@ -15,7 +15,7 @@ namespace bnhtrade.Core.Test.Sku
this.sqlConnectionString = sqlConnectionString;
// method you want to start here
UpdateFbaPricing();
GetSkuInfo();
}
@@ -24,5 +24,14 @@ namespace bnhtrade.Core.Test.Sku
var instance = new bnhtrade.Core.Logic.Sku.Price.FbaPricing(sqlConnectionString);
instance.Update();
}
public void GetSkuInfo()
{
var inst = new bnhtrade.Core.Logic.Sku.GetSkuInfo();
inst.IncludeConditionInfo = true;
inst.IncludeProductInfo = true;
inst.IncludeTaxCodeInfo = true;
var ldskjflkdsa = inst.BySkuNumber("001234-10");
}
}
}