From f013e5f811704876ac6ce03d6056895f79aaf010 Mon Sep 17 00:00:00 2001 From: Alessandro Bonazzi Date: Tue, 13 Jun 2023 18:26:49 +0200 Subject: [PATCH] Patch level : 12.00 1266 Files correlati : ve0.exe ve6.exe Commento : La ricerca della cuasale sui tipi documento dell'archiviazione non funzionava --- src/ve/velib03.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ve/velib03.cpp b/src/ve/velib03.cpp index f064dffb2..809f98dca 100755 --- a/src/ve/velib03.cpp +++ b/src/ve/velib03.cpp @@ -4037,6 +4037,8 @@ TCausale * TDocumento::get_caus_cont(int year) const if (tipodocsdi.full()) { + if (codcaus.blank()) + codcaus = tipo().causale(); const TString & tipodoc_cont = cached_causale(codcaus, year).tipodoc(); #ifdef NEW_FP