Correzioni alle aperture e chiusure

git-svn-id: svn://10.65.10.50/trunk@1397 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
nik 1995-05-25 16:34:54 +00:00
parent 075bef2571
commit 6f35d24c4e
3 changed files with 709 additions and 434 deletions

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,7 @@ STRING F_CHIUSURA 3
BEGIN
PROMPT 2 4 "Codice causale chiusura "
HELP "Codice causale che genera il movimento di chiusura"
USE LF_CAUSALI KEY 1
USE LF_CAUSALI KEY 1 SELECT MOVAP="C"
FLAGS "UZ"
DISPLAY "Codice" CODCAUS
DISPLAY "Descrizione @50" DESCR
@ -39,7 +39,7 @@ STRING F_APERTURA 3
BEGIN
PROMPT 2 5 "Codice causale apertura "
HELP "Codice causale che genera il movimento di apertura"
COPY USE F_CHIUSURA
USE LF_CAUSALI KEY 1 SELECT MOVAP="A"
FLAGS "UZ"
COPY DISPLAY F_CHIUSURA
OUTPUT F_APERTURA CODCAUS

View File

@ -176,7 +176,8 @@ void TSaldo_agg::registra()
if (saldi.read(_isequal, _lock) != NOERR)
{
saldi.zero();
saldi.put(SLD_ANNOES, anno_es());
// saldi.put(SLD_ANNOES, anno_es());
saldi.put(SLD_ANNOES, atoi(hobj->key().left(4)) );
saldi.put(SLD_GRUPPO, tcon.gruppo());
saldi.put(SLD_CONTO, tcon.conto());
saldi.put(SLD_SOTTOCONTO, tcon.sottoconto());