Patch level : 10.1022
Files correlati : ve0.exe ve6.exe Ricompilazione Demo : [ ] Commento : Nelle contabilizzazioni a pareggio se non era valorizzato il conto analitico della ripartizione non venivausato il conto della riga git-svn-id: svn://10.65.10.50/branches/R_10_00@22257 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e6cae1810f
commit
0838913ed5
@ -222,6 +222,12 @@ bool TContabilizzazione_analitica::search_costo_ricavo(const TRiga_documento& r,
|
|||||||
int gr = tab.get_int(is_cli ? "I0" : "I3");
|
int gr = tab.get_int(is_cli ? "I0" : "I3");
|
||||||
int co = tab.get_int(is_cli ? "I1" : "I4");
|
int co = tab.get_int(is_cli ? "I1" : "I4");
|
||||||
long so = tab.get_long(is_cli ? "I2" : "I5");
|
long so = tab.get_long(is_cli ? "I2" : "I5");
|
||||||
|
if (t == RIGA_ATTREZZATURE || t == RIGA_RISORSE)
|
||||||
|
{
|
||||||
|
gr = tab.get_int("I3");
|
||||||
|
co = tab.get_int("I4");
|
||||||
|
so = tab.get_long("I5");
|
||||||
|
}
|
||||||
conto.set(gr,co,so);
|
conto.set(gr,co,so);
|
||||||
if (!is_cli && !conto.ok())
|
if (!is_cli && !conto.ok())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user