Patch level : 12.0 1020

Files correlati     : ve0.exe
Commento            :

corretta fatturazione interattiva su creazione doppia bolla

Patch
This commit is contained in:
francescofucarino 2020-12-10 17:49:49 +01:00
parent 75d78365ab
commit 98c5d3101f
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ protected:
public:
int find(char provv, int anno, const char * codnum, long ndoc) const;
int find(const TDocumento & doc) const;
bool exist(char provv, int anno, const char * codnum, long ndoc) const { return find(provv, anno,codnum, ndoc) > 0; }
bool exist(char provv, int anno, const char * codnum, long ndoc) const { return find(provv, anno,codnum, ndoc) >= 0; }
int read(char provv, char tipo, long clifo, int anno,
TToken_string& tipidoc, TToken_string& statidoc,
const TDate& dd = nulldate, const TDate& ad = nulldate,

View File

@ -3485,7 +3485,7 @@ bool TElabora_mask::elabora()
TString16 codnum(get(F_CODNUM_ELAB));
long ndoc = get_long(F_NDOC_ELAB);
if (ndoc > 0L && !in.find(provv, anno, codnum, ndoc))
if (ndoc > 0L && !in.exist(provv, anno, codnum, ndoc))
{
TDocumento* d = new TDocumento(provv, anno, codnum, ndoc);
in.add(d);