Amazon inventory ledger testing and implementation

Tested what I can until more data for the Amazon Ledger Detail table comes in
This commit is contained in:
Bobbie Hodgetts
2024-11-21 17:50:18 +00:00
committed by GitHub
parent 7a12b49b44
commit c8689e3bba
10 changed files with 134 additions and 184 deletions
@@ -54,7 +54,7 @@ namespace bnhtrade.Core.Model.Stock
{
var result = new List<ValidationResult>();
if (Logic.Validate.Format.DateTime(TransactionDate))
if (Logic.Validate.Format.DateTime(TransactionDate) == false)
{
result.Add(new ValidationResult("Invalid transaction date"));
}
@@ -62,7 +62,7 @@ namespace bnhtrade.Core.Model.Stock
{
result.Add(new ValidationResult("Invalid transaction type code"));
}
if (Logic.Validate.Format.SkuNumber(SkuNumber))
if (Logic.Validate.Format.SkuNumber(SkuNumber) == false)
{
result.Add(new ValidationResult("Invalid SKU number"));
}