Patch level : 10 personalizzazione SRM

Files correlati     :
Ricompilazione Demo : [ ]
Commento            : corretta tabella clineti/articoli/fornitori: posso inserire un solo fornitore


git-svn-id: svn://10.65.10.50/branches/R_10_00@21286 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
cris 2010-12-13 12:13:26 +00:00
parent e6b30be1c5
commit 464ef0777b

@ -89,8 +89,14 @@ void TTabmod_caf_msk::registra()
}
else
{
const long forn1 = atol(row.get(sheet.cid2index(S_FORN1)));
const long forn2 = atol(row.get(sheet.cid2index(S_FORN2)));
long forn1 = 0;
long forn2 = 0;
const char* s1 = row.get(sheet.cid2index(S_FORN1));
if (s1 != NULL)
forn1 = atol(s1);
const char* s2 = row.get(sheet.cid2index(S_FORN2));
if (s2 != NULL)
forn2 = atol(s2);
caf.put("CODTAB", codtab);
caf.put("I0", forn1);
caf.put("I1", forn2);