Patch level : 12.0 368
Files correlati : ve0.exe ve6.exe Corretta contabilizzzione Bustaplast git-svn-id: svn://10.65.10.50/branches/R_10_00@23688 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
26dad27136
commit
4ff1d4185b
@ -1210,7 +1210,11 @@ error_type TContabilizzazione::compile_head_mov(TDocumento& doc)
|
||||
{
|
||||
if (_nump_iva) // Reperisce l'ultimo numero di protocollo dal registro IVA
|
||||
{
|
||||
ult_prot = registro.protocol() + 1;
|
||||
static int _ult_prot = -1;
|
||||
if (_ult_prot < 0)
|
||||
_ult_prot = registro.protocol();
|
||||
_ult_prot++;
|
||||
ult_prot = _ult_prot;
|
||||
if (ult_prot <= 0)
|
||||
{
|
||||
_error = ultprot_error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user