Aggiunta data obsolescenza in articoli

This commit is contained in:
michele 2025-02-14 10:11:24 +01:00
parent 3ad207ebc9
commit 63c361ea74
2 changed files with 5 additions and 4 deletions

View File

@ -15531,7 +15531,7 @@ namespace ApiPolo.Controllers
var art = await _articoliTable.Where(a => a.SlCodice.Equals(artcodice) && a.Azienda.Equals(ten)).ToListAsync(); var art = await _articoliTable.Where(a => a.SlCodice.Equals(artcodice) && a.Azienda.Equals(ten)).ToListAsync();
Articoli model = art.First(); Articoli model = art.First();
//model.dataCanc = DateTime.Now; model.DataObso = DateTime.Now;
try try
{ {

View File

@ -29,8 +29,9 @@ namespace ApiPolo.Models
public decimal? LiScont3 { get; set; } public decimal? LiScont3 { get; set; }
[Column(TypeName = "decimal(6,2)")] [Column(TypeName = "decimal(6,2)")]
public decimal? LiScont4 { get; set; } public decimal? LiScont4 { get; set; }
public string? GEST_MATR { get; set; } public string? Gest_Matr { get; set; }
public string? GEST_LOTTI { get; set; } public string? Gest_Lotti { get; set; }
public string? DESC_SUP { get; set; } public string? Desc_sup { get; set; }
public DateTime? DataObso { get; set; }
} }
} }