This commit is contained in:
2021-01-13 01:12:30 +00:00
parent e0d8aaf8c7
commit 2cf173a663
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ namespace AyaNova.Models
public decimal Cost { get; set; }
[Required]
public decimal Retail { get; set; }
public long? UnitOfMeasureId { get; set; }
public string UnitOfMeasure { get; set; }
public string UPC { get; set; }
[Required]
public bool TrackSerialNumber { get; set; }
@@ -80,7 +80,7 @@ CREATE TABLE [dbo].[APART](
[AALTERNATIVEWHOLESALERNUMBER] [nvarchar](255) NULL,
[ACOST] [decimal](19, 5) NULL,
[ARETAIL] [decimal](19, 5) NULL,
[AUNITOFMEASUREID] [uniqueidentifier] NULL,
[AUNITOFMEASUREID] [uniqueidentifier] NULL,//convert to text and store inside the part instead of in another table to reduce join dependencies
[APARTASSEMBLYID] [uniqueidentifier] NULL,//DROP, Migrate into new partassemblyitem
[AUPC] [nvarchar](255) NULL,
[ATRACKSERIALNUMBER] [bit] NOT NULL,