Parziale integrazione INVE/Arca x lettura lotti
This commit is contained in:
@@ -1054,6 +1054,27 @@ namespace MP.Data.Controllers
|
||||
return fatto;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recupero Righe pending da ODL
|
||||
/// </summary>
|
||||
/// <param name="idxODL"></param>
|
||||
/// <returns></returns>
|
||||
public List<ST_ActRow> STAR_pendByOdl(int idxODL)
|
||||
{
|
||||
List<ST_ActRow> dbResult = new List<ST_ActRow>();
|
||||
using (var dbCtx = new MoonProContext(_configuration))
|
||||
{
|
||||
var IdxODL = new SqlParameter("@IdxODL", idxODL);
|
||||
|
||||
dbResult = dbCtx
|
||||
.DbSetStActRow
|
||||
.FromSqlRaw("exec dbo.stp_ST_AR_getPendingOdl @IdxODL", IdxODL)
|
||||
.AsNoTracking()
|
||||
//.AsEnumerable()
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
/// <summary>
|
||||
/// Recupero Righe (Actual) della scheda tecnica da GRUPPO + ODL
|
||||
/// </summary>
|
||||
@@ -1072,7 +1093,7 @@ namespace MP.Data.Controllers
|
||||
.DbSetStActRow
|
||||
.FromSqlRaw("exec dbo.stp_ST_AR_getByGrpOdl @CodGruppo, @IdxODL", CodGruppo, IdxODL)
|
||||
.AsNoTracking()
|
||||
.AsEnumerable()
|
||||
//.AsEnumerable()
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
@@ -1098,7 +1119,7 @@ namespace MP.Data.Controllers
|
||||
.DbSetStActRow
|
||||
.FromSqlRaw("exec dbo.stp_ST_AR_getGrpOdlLabel @CodGruppo, @Label, @IdxODL", CodGruppo, Label, IdxODL)
|
||||
.AsNoTracking()
|
||||
.AsEnumerable()
|
||||
//.AsEnumerable()
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
|
||||
Reference in New Issue
Block a user