Patch level : 12.0 1164

Files correlati     : cg2.exe cg2100c.msk

Commento:
Aggiunto il prefisso da registro per i tipi documento da TD16 a TD19 in prima nota stampa registri e invio regolarizzazioni.
This commit is contained in:
Alessandro Bonazzi 2022-06-02 10:15:11 +02:00
parent 1c0a47f708
commit 45bc51faa8

View File

@ -250,6 +250,19 @@ const TString& TCausale::tipodocsdi() const
return _rec.get(CAU_TIPODOCSDI);
}
const bool TCausale::is_reg_autof() const
{
bool ok = reverse_charge_pubb();
if (ok)
{
const TString & tipodoc = tipodocsdi();
ok &= (tipodoc <= "TD16") && (tipodoc <= "TD19");
}
return ok;
}
bool TCausale::saldaconto(const TDate& datareg) const
{
bool yes = tipomov() > 0;