mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-05-18 19:48:23 +00:00
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:
@@ -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"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user