Patch level : 12.0 460
Files correlati : tf Commento : Tolto possibilità tipo TD10/11 per le fatture di vendita intra git-svn-id: svn://10.65.10.50/branches/R_10_00@24117 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
94b33e50ea
commit
cde1a9fbc0
@ -139,9 +139,9 @@ const char* decodTipo(TToken_string* strarr)
|
|||||||
TCausale caus(mov.get("CODCAUS"), mov.get_int("ANNOIVA"));
|
TCausale caus(mov.get("CODCAUS"), mov.get_int("ANNOIVA"));
|
||||||
TString tipodoc; tipodoc << strarr->get(_codnum);
|
TString tipodoc; tipodoc << strarr->get(_codnum);
|
||||||
// Le autofatture possono essere solo di tipo TDO1 e le bolle doganali nel dubbio pure
|
// Le autofatture possono essere solo di tipo TDO1 e le bolle doganali nel dubbio pure
|
||||||
if(tipodoc == "AF" || tipodoc == "BD" || tipodoc == "FF")
|
if(tipodoc == "AF" || tipodoc == "BD" || tipodoc == "FF" || tipodoc == "FV")
|
||||||
return "TD01";
|
return "TD01";
|
||||||
else if(tipodoc == "FA" || tipodoc == "FV")
|
else if(tipodoc == "FA")
|
||||||
{
|
{
|
||||||
// Potrebbe essere normale o intra
|
// Potrebbe essere normale o intra
|
||||||
if(!caus.intra())
|
if(!caus.intra())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user