Merge branch 'R12.00.1136' of http://10.65.20.33/sirio/CAMPO/campo into R12.00.1136
This commit is contained in:
commit
b1b0565df2
4
cd/test/fp1194.txt
Normal file
4
cd/test/fp1194.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
fp0.exe
|
||||||
|
|
||||||
|
Corretto un bug che nella fatturazione elettronica non riportava la data di uno dei DDT presenti nella fattura.
|
||||||
|
La fattura veniva quindi scartata dallo SDI. (Errore segnalato da cliente IMPREMED)
|
22
cd/test/fp1194a.ini
Normal file
22
cd/test/fp1194a.ini
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
[Main]
|
||||||
|
Demo=0
|
||||||
|
|
||||||
|
[fp0]
|
||||||
|
File(0) = fp0.exe|X
|
||||||
|
Patch = 1194
|
||||||
|
Versione = 21511200
|
||||||
|
|
||||||
|
[fp99]
|
||||||
|
Kill(0) = fppro.msk|x
|
||||||
|
|
||||||
|
[fp]
|
||||||
|
Data = 20-09-2022
|
||||||
|
Descrizione = Fattura Elettronica
|
||||||
|
Dischi = 1
|
||||||
|
Moduli = cg,ve
|
||||||
|
OEM =
|
||||||
|
Patch = 1194
|
||||||
|
PostProcess =
|
||||||
|
PreProcess =
|
||||||
|
Versione = 21511200
|
||||||
|
|
BIN
cd/test/fp1194a1.zip
Normal file
BIN
cd/test/fp1194a1.zip
Normal file
Binary file not shown.
@ -155,17 +155,6 @@ void TPAR_mask::fill()
|
|||||||
|
|
||||||
regs.enable_column(S_SELECTED, filter_selected!="X" ||is_f8());
|
regs.enable_column(S_SELECTED, filter_selected!="X" ||is_f8());
|
||||||
|
|
||||||
|
|
||||||
//TAnagrafica ditta =
|
|
||||||
|
|
||||||
/*
|
|
||||||
VECCHIA QUERY
|
|
||||||
|
|
||||||
query << "USE " << LF_MOV << " KEY 3 SELECT (BETWEEN(" << MOV_DATAREG << ","
|
|
||||||
<< dal.date2ansi() << ',' << al.date2ansi() << "))&&(REG!=\"\")"
|
|
||||||
<< "\nFROM " << MOV_TIPO << "=C\nTO " << MOV_TIPO "=C";
|
|
||||||
*/
|
|
||||||
|
|
||||||
//MY QUERY
|
//MY QUERY
|
||||||
|
|
||||||
//DA RIVEDERE QUESTA QUERY
|
//DA RIVEDERE QUESTA QUERY
|
||||||
|
@ -2159,13 +2159,27 @@ bool TDoc_fp::doc_to_paf(TDocumentoEsteso& doc)
|
|||||||
|
|
||||||
if (posret > 0)
|
if (posret > 0)
|
||||||
rifs.cut(posret);
|
rifs.cut(posret);
|
||||||
if (rifs.len() > 25 && rifs[25] == ' ')
|
rifs.replace(" - ", "|");
|
||||||
|
|
||||||
|
TToken_string patched_rifs;
|
||||||
|
TToken_string rifs_token = rifs;
|
||||||
|
|
||||||
|
FOR_EACH_STR_TOKEN(rifs_token, rif)
|
||||||
{
|
{
|
||||||
temp = rifs;
|
TToken_string boll_rif(rif, ' ');
|
||||||
rifs = temp.left(25);
|
|
||||||
temp.ltrim(26);
|
if(boll_rif.items()>2)
|
||||||
rifs << temp;
|
{
|
||||||
|
TToken_string work(boll_rif.get(0), ' ');
|
||||||
|
TString data = boll_rif.get(1);
|
||||||
|
|
||||||
|
data << boll_rif.get(2);
|
||||||
|
work.add(data);
|
||||||
|
boll_rif = work;
|
||||||
|
}
|
||||||
|
patched_rifs.add(boll_rif);
|
||||||
}
|
}
|
||||||
|
rifs = patched_rifs;
|
||||||
rifs.trim();
|
rifs.trim();
|
||||||
if (rifs == "0")
|
if (rifs == "0")
|
||||||
rifs.cut(0);
|
rifs.cut(0);
|
||||||
@ -2174,8 +2188,6 @@ bool TDoc_fp::doc_to_paf(TDocumentoEsteso& doc)
|
|||||||
|
|
||||||
if (len > 0)
|
if (len > 0)
|
||||||
{
|
{
|
||||||
rifs.replace(" - ", "|");
|
|
||||||
|
|
||||||
long numlinea = 0;
|
long numlinea = 0;
|
||||||
TToken_string elab_rifs(rifs);
|
TToken_string elab_rifs(rifs);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user