From 4784a740f39b65585769a1eb7cd08880526e854e Mon Sep 17 00:00:00 2001 From: Simone Palacino Date: Tue, 4 Dec 2018 10:39:33 +0100 Subject: [PATCH] Patch level : 12.0 654 Files correlati : ve Commento : Corretta visualizzazione codice SDI nello Sheet --- src/fp/fp0300.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fp/fp0300.cpp b/src/fp/fp0300.cpp index 5f8c2cfef..a50ae1608 100644 --- a/src/fp/fp0300.cpp +++ b/src/fp/fp0300.cpp @@ -225,7 +225,10 @@ void TPA_mask::fill() row.add(rec.get(DOC_ANNO).as_int(), 1); row.add(rec.get(DOC_CODNUM).as_string()); row.add(rec.get(DOC_TIPODOC).as_string()); - row.add(td.tipo_doc_sdi()); + if (!rec.get(DOC_TIPODOCSDI).is_empty()) + row.add(rec.get(DOC_TIPODOCSDI).as_string()); + else + row.add(td.tipo_doc_sdi()); row.add(rec.get(DOC_NDOC).as_int()); row.add(rec.get(DOC_DATADOC).as_date()); row.add(rec.get(CFV_CODCF).as_int());