CORRETTO CONTAPEZZI!!!!
This commit is contained in:
@@ -309,8 +309,16 @@ namespace MTC_Adapter
|
||||
{
|
||||
string prgName = elencoDatiProd[nRecCur - 1].fileName;
|
||||
prgName = prgName.Substring(prgName.LastIndexOf(@"\") + 1);
|
||||
istPathPartId[0] = prgName;
|
||||
istPathPartCount[0] = Convert.ToUInt32(elencoDatiProd[nRecCur - 1].qta);
|
||||
// se il mio articolo NON cambia imposto qta come SOMMATA...
|
||||
if (istPathPartId[0] == prgName)
|
||||
{
|
||||
istPathPartCount[0] += Convert.ToUInt32(elencoDatiProd[nRecCur - 1].qta);
|
||||
}
|
||||
else
|
||||
{
|
||||
istPathPartId[0] = prgName;
|
||||
istPathPartCount[0] = Convert.ToUInt32(elencoDatiProd[nRecCur - 1].qta);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user