Patch level : 12.0 430

Files correlati     : tf
Commento            : Aggiunto caso documento FF

git-svn-id: svn://10.65.10.50/branches/R_10_00@24032 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
mtollari 2017-08-21 08:16:10 +00:00
parent 1650ab05c3
commit b8560f3117

View File

@ -24,7 +24,6 @@ TString getTipoDoc(int id)
case B_TIPO_FATTFISC:
ret = "FF";
break;
case B_TIPO_FATTVEN:
ret = "FV";
break;
@ -140,7 +139,7 @@ const char* decodTipo(TToken_string* strarr)
TCausale caus(mov.get("CODCAUS"), mov.get_int("ANNOIVA"));
TString tipodoc; tipodoc << strarr->get(_codnum);
// Le autofatture possono essere solo di tipo TDO1 e le bolle doganali nel dubbio pure
if(tipodoc == "AF" || tipodoc == "BD")
if(tipodoc == "AF" || tipodoc == "BD" || tipodoc == "FF")
return "TD01";
else if(tipodoc == "FA" || tipodoc == "FV")
{