Patch level : 10.0 690

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

corretta generazion del numero documento fornitore


git-svn-id: svn://10.65.10.50/trunk@20308 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2010-04-01 23:33:37 +00:00
parent dd830a10e8
commit 9645f8a124
2 changed files with 1 additions and 2 deletions

Binary file not shown.

View File

@ -85,7 +85,6 @@ const long TSbill2ricl(char & t, int gr, int co, long so)
return codricl;
}
TTS_sender& app() { return (TTS_sender&)main_app(); }
///////////////////////////////////////////////////////////
@ -1094,7 +1093,7 @@ void TTS_sender::add_header(const TRecordset& mov, const bool fullhesd)
set("TRF-DATA-DOC", datadoc.string(full, '\0'));
TString numdoc(mov.get(MOV_NUMDOC).as_string());
TString16 codice = moviva ? scod2ricl("TSREG", mov.get(MOV_REG)) : EMPTY_STRING;
TString16 codice = moviva ? scod2ricl("TSREG", mov.get(MOV_REG)) : "000";
numdoc.left(6);
if (numdoc.full())