Patch level : 12.0
Files correlati : fp0700.cpp, fplib01.cpp Commento: Aggiunta la stampa del prospetto d'integrazione per i documenti cartacei da SanMarino (TD28)
This commit is contained in:
parent
ee3c4daba1
commit
5803639640
@ -310,6 +310,7 @@
|
||||
<RepCompiler Include="..\src\fp\fp0700a.rep">
|
||||
<SubType>Designer</SubType>
|
||||
</RepCompiler>
|
||||
<RepCompiler Include="..\src\fp\fp0700b.rep" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
@ -190,5 +190,8 @@
|
||||
<RepCompiler Include="..\src\fp\fp0700a.rep">
|
||||
<Filter>Reports</Filter>
|
||||
</RepCompiler>
|
||||
<RepCompiler Include="..\src\fp\fp0700b.rep">
|
||||
<Filter>Reports</Filter>
|
||||
</RepCompiler>
|
||||
</ItemGroup>
|
||||
</Project>
|
147
src/fp/fp0700b.rep
Normal file
147
src/fp/fp0700b.rep
Normal file
@ -0,0 +1,147 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<report libraries="" page_merge="" save_printer="" name="fp0700b" use_printer_font="" orientation="" page_split="" lpi="6" command="" class="">
|
||||
<font face="Arial" size="8" />
|
||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="" hidden="" page_break="" can_break="" pattern="1">
|
||||
<field x="3" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="16" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>"Codice fornitore: "</source>
|
||||
</field>
|
||||
<field x="19" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>23.TIPO + 23.CODCF</source>
|
||||
</field>
|
||||
<field x="60" y="2" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="30" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>"Partita IVA " + 20.STATOPAIV + 20.PAIV</source>
|
||||
</field>
|
||||
<field x="3" y="3" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>"Doc. originale fornitore: "</source>
|
||||
</field>
|
||||
<field x="24" y="3" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="44" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>23.NUMDOC + " del " + 23.DATADOC</source>
|
||||
</field>
|
||||
<field x="60" y="3" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>20.RAGSOC</source>
|
||||
</field>
|
||||
<field x="60" y="4" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="50" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>20.INDCF + " n. " + 20.CIVCF</source>
|
||||
</field>
|
||||
<field x="3" y="5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>"Tipo Documento "</source>
|
||||
<alt_source>#TIPODOCSDI</alt_source>
|
||||
</field>
|
||||
<field x="18" y="5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="25" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>CAUS.TIPODOCSDI</source>
|
||||
<alt_source>#TIPODOCSDI</alt_source>
|
||||
</field>
|
||||
<field x="60" y="5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="5" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>20.CAPCF</source>
|
||||
</field>
|
||||
<field x="67" y="5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>13.DENCOM + " " + 13.PROVCOM</source>
|
||||
</field>
|
||||
<field x="3" y="9" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="21" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>"Protocollo IVA credito: "</source>
|
||||
</field>
|
||||
<field x="23" y="9" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="40" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>23.PROTIVA + " del " + 23.DATAREG + " Registro " + 23.REG</source>
|
||||
</field>
|
||||
<field x="60" y="9" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="19" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
<source>"Documento fornitore:" </source>
|
||||
</field>
|
||||
<field x="79.5" y="9" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="41" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>#NUMPREFIX + 23.NUMDOC + " del " + 23.DATADOC</source>
|
||||
</field>
|
||||
<field x="3" y="12" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="16" codval="" id="" pattern="1" hide_zero="" text="Totale Documento">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field x="16" y="12" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="16" codval="" id="" pattern="1" hide_zero="1" text="###.###.###,@@">
|
||||
<source>23.TOTDOC</source>
|
||||
</field>
|
||||
<field x="17" y="14" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Totale">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field x="33" y="14" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Imponibile">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field x="49" y="14" deactivated="" type="Testo" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Imposta">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field x="68" y="14" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="Cod.">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field x="73" y="14" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="Nat.">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field x="79" y="14" deactivated="" type="Testo" hidden="" link="" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Conto">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field border="2" y="15" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="125" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
|
||||
</section>
|
||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Head" level="1" hidden="" height="4" page_break="" can_break="" pattern="1">
|
||||
<field x="11" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="90" codval="" height="3" id="" pattern="1" hide_zero="" text="PROSPETTO INTEGRAZIONE">
|
||||
<font face="Arial" bold="1" size="20" />
|
||||
</field>
|
||||
<field x="11" y="2" deactivated="" type="Testo" hidden="" align="center" link="" dynamic_height="" shade_offset="" width="90" codval="" height="3" id="" pattern="1" hide_zero="" text="ACQUISTO SANMARINO">
|
||||
<font face="Arial" bold="1" size="20" />
|
||||
</field>
|
||||
</section>
|
||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="" hidden="" page_break="" can_break="" pattern="1" />
|
||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Body" level="1" hidden="" page_break="" can_break="" pattern="1">
|
||||
<field x="68" y="0.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>CODIVA</source>
|
||||
</field>
|
||||
<field x="73" y="0.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="4" codval="" id="" pattern="1" hide_zero="" text="">
|
||||
<source>201@-E;S12</source>
|
||||
</field>
|
||||
<field x="94.5" y="0.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="1" shade_offset="" width="30" codval="" height="2" id="" pattern="1" hide_zero="" text="">
|
||||
<source>19-E;DESCR</source>
|
||||
</field>
|
||||
<field x="33" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="100" pattern="1" hide_zero="" text="###.###.###,@@">
|
||||
<source>IMPONIBILE</source>
|
||||
<postscript description="B1.100 POSTSCRIPT">#THIS @
|
||||
#F1.100 +!</postscript>
|
||||
</field>
|
||||
<field x="49" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="101" pattern="1" hide_zero="" text="###.###.###,@@">
|
||||
<source>IMPOSTA</source>
|
||||
<postscript description="B1.101 POSTSCRIPT">#THIS @
|
||||
#F1.101 +!</postscript>
|
||||
</field>
|
||||
<field x="17" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="102" pattern="1" hide_zero="" text="###.###.###,@@">
|
||||
<source>#100+#101</source>
|
||||
</field>
|
||||
<field x="79.5" y="0.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="103" pattern="1" hide_zero="" text="">
|
||||
<source>GRUPPO</source>
|
||||
</field>
|
||||
<field x="83.5" y="0.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="3" codval="" id="104" pattern="1" hide_zero="" text="">
|
||||
<source>CONTO</source>
|
||||
</field>
|
||||
<field x="87.5" y="0.5" deactivated="" type="Stringa" hidden="" link="" dynamic_height="" shade_offset="" width="6" codval="" id="105" pattern="1" hide_zero="" text="">
|
||||
<source>SOTTOCONTO</source>
|
||||
</field>
|
||||
</section>
|
||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="" hidden="" page_break="" can_break="" pattern="1" />
|
||||
<section repeat="" keep_with_next="" deactivated="" hidden_if_needed="" type="Foot" level="1" hidden="" height="3" page_break="" can_break="" pattern="1">
|
||||
<field border="1" y="0.25" deactivated="" type="Linea" hidden="" link="" dynamic_height="" shade_offset="" width="125" codval="" height="0" id="" pattern="1" hide_zero="" text="" />
|
||||
<field x="1" y="0.5" deactivated="" type="Testo" hidden="" link="" txt_color="#0000FF" dynamic_height="" shade_offset="" width="15" codval="" id="" pattern="1" hide_zero="" text="Totale Movimento">
|
||||
<font face="Arial" bold="1" size="8" />
|
||||
</field>
|
||||
<field x="33" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="100" pattern="1" hide_zero="" text="###.###.###,@@" />
|
||||
<field x="49" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="101" pattern="1" hide_zero="" text="###.###.###,@@" />
|
||||
<field x="17" y="0.5" deactivated="" type="Valuta" hidden="" align="right" link="" dynamic_height="" shade_offset="" width="15" codval="" id="102" pattern="1" hide_zero="" text="###.###.###,@@">
|
||||
<source>#100+#101</source>
|
||||
</field>
|
||||
</section>
|
||||
<sql>USE RMOVIVA
|
||||
JOIN MOV INTO NUMREG==NUMREG
|
||||
JOIN MOV TO MOV ALIAS 100 INTO NUMREG==MOVCOLL
|
||||
JOIN CLIFO TO MOV INTO TIPOCF==TIPO CODCF==CODCF
|
||||
JOIN COMUNI TO CLIFO INTO STATO==STATOCF COM==COMCF
|
||||
JOIN PCON INTO GRUPPO==GRUPPO CONTO==CONTO SOTTOCONTO==SOTTOCONTO
|
||||
JOIN %IVA ALIAS 201 INTO CODTAB==CODIVA
|
||||
JOIN CAUS TO MOV INTO CODCAUS==CODCAUS
|
||||
FROM NUMREG=#NUM
|
||||
TO NUMREG=#NUM</sql>
|
||||
</report>
|
@ -3329,8 +3329,8 @@ bool TReg_fp::export_paf0100f()
|
||||
paf0100f.set("P1_TRASMITTCOD", _cofi);
|
||||
paf0100f.set("P1_FMTTRASMISS", _privato ? "FPR12" : "FPA12");
|
||||
|
||||
if(_tipo_doc_sdi != "TD28")
|
||||
paf0100f.set("P1_CODDEST", _coddest);
|
||||
//if(_tipo_doc_sdi != "TD28")
|
||||
paf0100f.set("P1_CODDEST", _coddest);
|
||||
|
||||
TString80 tel;
|
||||
|
||||
@ -3419,7 +3419,7 @@ bool TReg_fp::reg_to_paf(const TMovimento_contabile& mov)
|
||||
paf0200f.set("P2_FISCIVACOD", fornitore.partita_IVA());
|
||||
}
|
||||
|
||||
if (fornitore.estero_non_CEE())
|
||||
if (fornitore.estero_non_CEE() && fornitore.stato_residenza_ISO() != "SM")
|
||||
{
|
||||
paf0200f.set("P2_FISCIVAPAESE", fornitore.stato_partita_IVA());
|
||||
paf0200f.set("P2_FISCIVACOD", fornitore.codice_fiscale());
|
||||
@ -3456,7 +3456,8 @@ bool TReg_fp::reg_to_paf(const TMovimento_contabile& mov)
|
||||
// I clienti esteri possono avere CAP alfanumerici, li tolgo
|
||||
if (fornitore.stato_residenza_ISO() != "IT")
|
||||
{
|
||||
paf0200f.set("P2_SEDECAP", "");
|
||||
int i = 0;
|
||||
//paf0200f.set("P2_SEDECAP", "0000");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user