update x recupero altri BATCH splitted
This commit is contained in:
@@ -479,10 +479,8 @@ namespace NKC_WF.Controllers
|
||||
// NKC2: se è un batch ti dipo descendant
|
||||
if (ComLib.BType(rispNest.BatchID) == BatchType.Descendant)
|
||||
{
|
||||
// verifico se ce ne siano altri NON validati
|
||||
|
||||
// invio il PRIMO batch descendant
|
||||
var tabDesc = ComLib.BatchDescendant(rispNest.BatchID);
|
||||
// verifico se ce ne siano altri NON validati (ma splitted)
|
||||
var tabDesc = ComLib.BatchOtherDescendant(rispNest.BatchID);
|
||||
if (tabDesc != null && tabDesc.Count > 0)
|
||||
{
|
||||
// ciclo x tutte le righe che NON fossero con nesting effettuato
|
||||
@@ -491,6 +489,7 @@ namespace NKC_WF.Controllers
|
||||
// se NON effettuato
|
||||
if (item.STATUS == 2)
|
||||
{
|
||||
// invio il PRIMO batch descendant
|
||||
ComLib.sendBatchReq(item.BatchID, "Nesting", 2, false);
|
||||
// registro su DB nesting iniziato...
|
||||
DLMan.taBL.updateStatus(item.BatchID, (int)BatchStatus.NestRequested, "", -1);
|
||||
|
||||
Reference in New Issue
Block a user