This commit is contained in:
@@ -25,10 +25,10 @@ namespace AyaNova.Models
|
||||
public long PartId { get; set; }
|
||||
[Required]
|
||||
public long PartWarehouseId { get; set; }
|
||||
|
||||
public long? SourceId { get; set; }
|
||||
|
||||
public long? SourceId { get; set; }
|
||||
public AyaType? SourceType { get; set; }
|
||||
|
||||
|
||||
[Required]
|
||||
public decimal Quantity { get; set; }
|
||||
[Required]
|
||||
@@ -39,7 +39,7 @@ namespace AyaNova.Models
|
||||
|
||||
public PartInventory()
|
||||
{
|
||||
EntryDate = DateTime.UtcNow;
|
||||
EntryDate = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace AyaNova.Models
|
||||
public class dtPartInventory
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
public uint Concurrency { get; set; }//wtf? This is never an update, shouldn't this be not here?
|
||||
|
||||
[Required]
|
||||
public string Description { get; set; }
|
||||
@@ -66,6 +66,27 @@ namespace AyaNova.Models
|
||||
|
||||
}//eoc
|
||||
|
||||
//internal purchase order version
|
||||
public class dtPOPartInventory
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Description { get; set; }
|
||||
|
||||
[Required]
|
||||
public long PartId { get; set; }
|
||||
[Required]
|
||||
public long PartWarehouseId { get; set; }
|
||||
|
||||
[Required]
|
||||
public decimal Quantity { get; set; }
|
||||
|
||||
public long? SourceId { get; set; }
|
||||
public AyaType? SourceType { get; set; }
|
||||
|
||||
}//eoc
|
||||
|
||||
|
||||
}//eons
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user