Patch level : 10.0 254

Files correlati     :  ve0.exe profili documento delle vendite e delle lavanderie
Ricompilazione Demo : [ ]
Commento            :

Corretta la generazione della maschere dei documenti, i campi del piede non erano numerici


git-svn-id: svn://10.65.10.50/trunk@18465 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2009-03-09 15:51:28 +00:00
parent f69c697ba8
commit cf979a5e25

View File

@ -1139,6 +1139,8 @@ void TMask_generator::load_table()
s = f.line();
if (s.find("Version") > -1)
s = f.line();
if (s.find("File") > -1)
s = f.line();
int totitem = 0;
while (s.find("Fields") > -1)
{
@ -1146,13 +1148,13 @@ void TMask_generator::load_table()
for (int i = 0; i < items; i++)
{
int pos = totitem + i;
if (strstr(s.get(i),"S0") != NULL)
if (strstr(s.get(i),"S0,") != NULL)
s0pos = pos;
if (strstr(s.get(i),"I0") != NULL)
if (strstr(s.get(i),"I0,") != NULL)
i0pos = pos;
if (strstr(s.get(i),"B0") != NULL)
if (strstr(s.get(i),"B0,") != NULL)
b0pos = pos;
if (strstr(s.get(i),"B1") != NULL)
if (strstr(s.get(i),"B1,") != NULL)
b1pos = pos;
}
totitem += items;