Patch level : 4.0 no patch

Files correlati     :   crpa0.exe
Ricompilazione Demo : [ ]
Commento            :

corrette get dal file di input


git-svn-id: svn://10.65.10.50/trunk@14248 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2006-08-13 15:59:51 +00:00
parent ba0b6eb599
commit 6e272c6119

@ -560,7 +560,7 @@ void TIni2Sql::validate(const TString& elabfield, TString& str)
TToken_string key;
if (code == "_ELSPESAMOV") // per righe movimenti
{
key = _inputfile->get("CODCONTO", "108");
key = _inputfile->get("CODCONTO");
key.insert("|", 6);
key.insert("|", 3);
}
@ -588,7 +588,7 @@ void TIni2Sql::validate(const TString& elabfield, TString& str)
}
else if (code == "_CODART") // campo CODART per movimenti
{
str = _inputfile->get("CODCONTO", "108");
str = _inputfile->get("CODCONTO");
str.format("%d-%d-%ld", atoi(str.left(3)), atoi(str.mid(3,3)), atol(str.right(6)));
}
else if (code == "_IMPORTORMOV") // campo importo per righe movimenti