Patch level : 12.0 494
Files correlati : cg4.exe Aggiunta creazione registri dichiarazioni d'intenti all'apertura esercizio git-svn-id: svn://10.65.10.50/branches/R_10_00@24250 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
862b0795fc
commit
a761af19ec
@ -143,7 +143,8 @@ bool TAp_eser::apertura_es()
|
|||||||
cur.freeze();
|
cur.freeze();
|
||||||
for (cur = 0L; cur.pos() < items; ++cur)
|
for (cur = 0L; cur.pos() < items; ++cur)
|
||||||
{
|
{
|
||||||
if (tabreg.get_int("I0") == 5)
|
const int tipo = tabreg.get_int("I0");
|
||||||
|
if (tipo == 5 || tipo == 10)
|
||||||
{
|
{
|
||||||
TString16 cod(tabreg.get("CODTAB"));
|
TString16 cod(tabreg.get("CODTAB"));
|
||||||
|
|
||||||
@ -159,7 +160,11 @@ bool TAp_eser::apertura_es()
|
|||||||
tabreg.put("D3", data);
|
tabreg.put("D3", data);
|
||||||
tabreg.zero("R1");
|
tabreg.zero("R1");
|
||||||
tabreg.zero("R2");
|
tabreg.zero("R2");
|
||||||
|
if (tipo == 10)
|
||||||
|
{
|
||||||
|
tabreg.zero("I3");
|
||||||
|
tabreg.zero("I4");
|
||||||
|
}
|
||||||
reg.write();
|
reg.write();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user