Patch level : 12.0 424
Files correlati : tc0.exe 1) Aggiunto al totale Documento il REVCHARGE per il reverse charge 2) Aggiornati i tracciati all'ultima versione 3) Passato il codice iva1 non solo pr il reverse charge (condomini) 4) Aggiunto il supporto per lo split-payment 5) Aggiunto il supporto per la blacklist git-svn-id: svn://10.65.10.50/branches/R_10_00@23950 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a90d3b05d2
commit
2321eaa64f
BIN
src/tc/imppn.v2016.1.3.pdf
Normal file
BIN
src/tc/imppn.v2016.1.3.pdf
Normal file
Binary file not shown.
@ -260,10 +260,13 @@ bool TTS_campo_sender::find_regolarizzazione(TRecordset& movset)
|
||||
const TString4 causreg = cache().get(LF_CAUSALI, mov.get(MOV_CODCAUS), CAU_CODCAUREG);
|
||||
real totdoc = mov.get_real(MOV_TOTDOC);
|
||||
const real ritfis = mov.get_real(MOV_RITFIS);
|
||||
const real revcharge = mov.get_real(MOV_REVCHARGE);
|
||||
const real ritsoc = mov.get_real(MOV_RITSOC);
|
||||
|
||||
if (!ritfis.is_zero())
|
||||
totdoc += ritfis;
|
||||
if (!revcharge.is_zero())
|
||||
totdoc += revcharge;
|
||||
if (!ritsoc.is_zero())
|
||||
{
|
||||
if (swap_ritsoc(movset)) // Somma ritenute sociali con segno
|
||||
|
@ -4,6 +4,7 @@ MOV_REG
|
||||
MOV_CODCF
|
||||
MOV_TOTDOC
|
||||
MOV_RITFIS
|
||||
MOV_REVCHARGE
|
||||
MOV_RITSOC
|
||||
MOV_CODCAUS
|
||||
MOV_DATAREG
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <rmoviva.h>
|
||||
#include <multirel.h>
|
||||
#include <pconti.h>
|
||||
#include <utility.h>
|
||||
|
||||
#include "../cg/cglib01.h"
|
||||
|
||||
@ -427,9 +428,41 @@ TTS_textset::TTS_textset(const char* query)
|
||||
add_field("0", "TRF-PREV-DTCOMP-INI", 8, n, 6797); // data iniziale competenza
|
||||
add_field("0", "TRF-PREV-DTCOMP-FIN", 8, n, 6805); // data finale competenza
|
||||
add_field("0", "TRF-PREV-FLAG-CONT", 1, an, 6813); // non contabilizza
|
||||
add_field("0", "TRF-PREV-RIFERIMENTO",20, an, 6814); // riferimento record interno
|
||||
add_field("0", "FILLER", 166, an, 6834); // spazio
|
||||
add_field("0", "FINE-RECORD", 2, an, 7000, "\r\n"); // terminatore record
|
||||
add_field("0", "TRF-PREV-RIFERIMENTO",20, an, 6814); // riferimento record interno
|
||||
add_field("0", "TRF-CAUS-PREST-ANA", 2, n, 6834); // Causale prestazione ( anagrafica cli / for)
|
||||
add_field("0", "TRF-EC-TIPO-PAGA", 1, n, 6836); // Estratto conto – tipo pagamento 1=Tratta 2=RB 3=RD 4=Cess. 5=Descr. 6=Contanti Se non presente viene messo il valore 5.
|
||||
add_field("0", "TRF-CONTO-IVA-VEN-ACQ", 7, n, 6837); // Conto iva ( se presente viene preso al posto dei conti iva vend/acq. In tabella)
|
||||
add_field("0", "TRF-PIVA-VECCHIA", 11, n, 6844); // Vecchia Partita Iva – Da mettere se c’è una variazione di P.Iva. Serve per effettuare la ricerca dell’anagrafica da variare. Nel campo TRF-PIVA va messa la nuova P.Iva.
|
||||
add_field("0", "TRF-PIVA-ESTERO-VECCHIA", 12, an, 6855); // Vecchia Partita Iva Estera – Da mettere se c’è una variazione di P.Iva Estera. Serve per effettuare la ricerca dell’anagrafica da variare. Nel campo TRF-PIVA-ESTERA va messa la nuova P.Iva estera.
|
||||
add_field("0", "TRF-RISERVATO", 32, an, 6867);
|
||||
add_field("0", "TRF-DATA-IVA-AGVIAGGI", 8, n, 6899); // Data registrazione iva per agenzie di viaggio se TRF-DIFFERIMENTO-IVA = S. Se il campo viene lasciato a ZERO, la data registrazione iva viene aumentata di un mese.
|
||||
add_field("0", "TRF-DATI-AGG-ANA-REC4", 1, an, 6907); // Dati aggiuntivi anagrafica (Indirizzo, Tipologia, Frazione)Se = S deve seguire un record di tipo 4 con i dati aggiuntivi anagrafica
|
||||
add_field("0", "TRF-RIF-IVA-NOTE-CRED", 6, n, 6908); // Riferimento Iva note credito nel formato MMAAAA
|
||||
add_field("0", "TRF-RIF-IVA-ANNO-PREC", 1, an, 6914); // Riferimento ad anno precedente S/N
|
||||
add_field("0", "TRF-NATURA-GIURIDICA", 2, n, 6915); // Codice natura giuridica
|
||||
add_field("0", "TRF-STAMPA-ELENCO", 1, an, 6917); // Stampa in elenco S/N
|
||||
|
||||
//Iva Editoria La tabellai editoria è composta da 8 elementi (lunghezza totale = 24 caratteri).
|
||||
//La posizione è relativa al primo elemento,
|
||||
|
||||
for (i=0; i<8; i++)
|
||||
{
|
||||
field.format("TRF-PERC-FORF_%d", i);
|
||||
add_field("0", field, 3, n, 6918 + (3*i)); // % forfait riga i
|
||||
}
|
||||
add_field("0", "TRF-SOLO-MOV-IVA", 1, an, 6942); // Se = S, per contabilità ordinarie vengono registrati solo i movimenti iva.
|
||||
add_field("0", "TRF-COFI-VECCHIO", 16, an, 6943); // Vecchio Codice Fiscale – Da mettere se c’è una variazione di Codice Fiscale. Serve per effettuare la ricerca dell’anagrafica da variare. Nel campo TRF-COFI va messo il nuovo Codice Fiscale.
|
||||
add_field("0", "TRF-USA-PIVA-VECCHIA", 1, an, 6959); // Se = S viene utilizzata TRF-PIVA-VECCHIA per la ricerca dell’anagrafica.
|
||||
add_field("0", "TRF-USA-PIVA-EST-VECCHIA", 1, an, 6960); // Se = S viene utilizzata TRF-PIVA-EST-VECCHIA per la ricerca dell’anagrafica.
|
||||
add_field("0", "TRF-USA-COFI-VECCHIO", 1, an, 6961); // Se = S viene utilizzato TRF-COFI-VECCHIO per la ricerca dell’anagrafica.
|
||||
add_field("0", "TRF-ESIGIBILITA-IVA", 1, n, 6962); // 0=Immediata 1=Differita 2=Differita DL. 185/08 3 0 ???? 4 = Split Payment
|
||||
add_field("0", "TRF-TIPO-MOV-RISCONTI", 1, an, 6963); // R=Risconto C=Competenza
|
||||
add_field("0", "TRF-AGGIORNA-EC", 1, an, 6964); // N=Non aggiorna estratto conto
|
||||
add_field("0", "TRF-BLACKLIST-ANAG", 1, an, 6965); // Escludi anagrafica da gestione Blacklist (S/N)
|
||||
add_field("0", "TRF-BLACKLIST-IVA", 1, an, 6966); // Gestione Blacklist su registrazione iva (S/N)
|
||||
add_field("0", "TRF-BLACKLIST-IVA-ANA", 6, n, 6967); // Codice anagrafica Blacklist su registrazione iva. Se non specificata viene impostata quella del cliente/fornitore.
|
||||
add_field("0", "FILLER", 27, an, 6973); // spazio
|
||||
add_field("0", "FINE-RECORD", 2, an, 7000, "\r\n"); // terminatore record
|
||||
|
||||
// Record opzionale
|
||||
add_field("1", "TRF1-DITTA", 5, n, 1); // codice ditta multi
|
||||
@ -445,21 +478,25 @@ TTS_textset::TTS_textset(const char* query)
|
||||
|
||||
// Movimenti INTRASTAT
|
||||
|
||||
add_field("1", "TRF-NOMENCLATURA", 8, an, 32); // Codice nomenclatura combinata
|
||||
add_field("1", "TRF-IMP-LIRE", 12, n, 40); // Importo in lire
|
||||
add_field("1", "TRF-IMP-VAL", 12, n, 52); // Importo in valuta (2 DEC)
|
||||
add_field("1", "TRF-NATURA", 1, an, 64); // Natura della transazione
|
||||
add_field("1", "TRF-MASSA", 12, n, 65); // Massa netta
|
||||
add_field("1", "TRF-UN-SUPPL", 12, n, 77); // Unità sostitutiva
|
||||
add_field("1", "TRF-VAL-STAT", 12, n, 89); // Valore statistico
|
||||
add_field("1", "TRF-REGIME", 1, an, 101); // Regime ( condizioni di consegna )
|
||||
add_field("1", "TRF-TRASPORTO", 1, an, 102); // Trasporto
|
||||
add_field("1", "TRF-PAESE-PROV", 3, n, 103); // Paese di provenienza
|
||||
add_field("1", "TRF-PAESE-ORIG", 3, n, 106); // Paese di origine
|
||||
add_field("1", "TRF-PAESE-DEST", 3, n, 109); // Paese di destinazione
|
||||
add_field("1", "TRF-PROV-DEST", 2, an, 112); // Provincia di destinazione
|
||||
add_field("1", "TRF-PROV-ORIG", 2, an, 114); // Provincia di origine
|
||||
add_field("1", "TRF-SEGNO-RET", 1, an, 116); // Segno della rettifica (+/-)
|
||||
for (i = 0; i < 20; i++)
|
||||
{
|
||||
|
||||
add_field("1", format("TRF-NOMENCLATURA%d", i), 8, an, 32 + i * 84); // Codice nomenclatura combinata
|
||||
add_field("1", format("TRF-IMP-LIRE%d", i), 12, n, 40 + i * 84); // Importo in lire
|
||||
add_field("1", format("TRF-IMP-VAL%d", i), 12, n, 52 + i * 84); // Importo in valuta (2 DEC)
|
||||
add_field("1", format("TRF-NATURA%d", i), 1, an, 64 + i * 84); // Natura della transazione
|
||||
add_field("1", format("format(TRF-MASSA%d", i), 12, n, 65 + i * 84); // Massa netta
|
||||
add_field("1", format("TRF-UN-SUPPL%d", i), 12, n, 77 + i * 84); // Unità sostitutiva
|
||||
add_field("1", format("TRF-VAL-STAT%d", i), 12, n, 89 + i * 84); // Valore statistico
|
||||
add_field("1", format("TRF-REGIME%d", i), 1, an, 101 + i * 84); // Regime ( condizioni di consegna )
|
||||
add_field("1", format("TRF-TRASPORTO%d", i), 1, an, 102 + i * 84); // Trasporto
|
||||
add_field("1", format("TRF-PAESE-PROV%d", i), 3, n, 103 + i * 84); // Paese di provenienza
|
||||
add_field("1", format("TRF-PAESE-ORIG%d", i), 3, n, 106 + i * 84); // Paese di origine
|
||||
add_field("1", format("TRF-PAESE-DEST%d", i), 3, n, 109 + i * 84); // Paese di destinazione
|
||||
add_field("1", format("TRF-PROV-DEST%d", i), 2, an, 112 + i * 84); // Provincia di destinazione
|
||||
add_field("1", format("TRF-PROV-ORIG%d", i), 2, an, 114 + i * 84); // Provincia di origine
|
||||
add_field("1", format("TRF-SEGNO-RET%d", i), 1, an, 116 + i * 84); // Segno della rettifica (+/-)
|
||||
}
|
||||
add_field("1", "TRF-INTRA-TIPO", 1, an, 1732); // Tipo movimento INTRASTAT 1=Cessioni 2=Ret.cessioni 3=Acquisti 4=Ret.acq.
|
||||
add_field("1", "TRF-MESE-ANNO-RIF", 6, n, 1733); // Mmaaaa competenza rettifiche
|
||||
add_field("1", "FILLER", 173, an, 1739); // Filler
|
||||
@ -501,7 +538,8 @@ TTS_textset::TTS_textset(const char* query)
|
||||
add_field("1", "TRF-EMENS-ATT", 2, n, 2136); // EMENS - Codice attività
|
||||
add_field("1", "TRF-EMENS-RAP", 2, n, 2138); // EMENS - Tipo rapporto
|
||||
add_field("1", "TRF-EMENS-ASS", 3, n, 2140); // EMENS - Altra assicurazione
|
||||
add_field("1", "FILLER", 195, an, 2143); // Filler
|
||||
add_field("1", "TRF-TOT-ASS", 11, n, 2143); // EMENS - Altra assicurazione
|
||||
add_field("1", "FILLER", 184, an, 2154); // Filler
|
||||
|
||||
// Dati portafoglio
|
||||
|
||||
@ -524,7 +562,42 @@ TTS_textset::TTS_textset(const char* query)
|
||||
add_field("1", "TRF-POR-FLAG", 1, an, 2460); // Stato effetto 0=Aperto 1=Chiuso 2=Insoluto 3=Personalizzato
|
||||
add_field("1", "TRF-POR-TIPO-RD", 1, an, 2461); // Sottotipo rimessa diretta
|
||||
add_field("1", "TRF-POR-CODAGE", 4, n, 3199); // Codice agente
|
||||
add_field("1", "FILLER", 3797, an, 3203); // Filler
|
||||
|
||||
for (i = 0; i < 15; i++)
|
||||
add_field("1", format("TRF-POR-EFFETTO-SOSP%d", i), 4, n, 3199 + i); // Effetto sospeso
|
||||
add_field("1", "TRF-POR-CIG", 15, an, 3215); // CIG
|
||||
add_field("1", "TRF-POR-CUP", 15, an, 3230); // CUP
|
||||
add_field("1", "FILLER", 294, an, 3245); // Filler
|
||||
for (i = 0; i < 20; i++) // Intrastat beni dati aggiuntivi
|
||||
{
|
||||
add_field("1", format("TRF-COD-VAL-IV%d", i), 4, n, 3539 + i * 20); // Codice valuta documento
|
||||
add_field("1", format("TRF-IMP-VALUTA-IV%d", i), 16, n, 3542 + i * 20); // Importo valuta documento
|
||||
}
|
||||
for (i = 0; i < 20; i++) // Intrastat Servizi
|
||||
{
|
||||
add_field("1", format("TRF-CODICA SERVIZIO%d", i), 6, an, 3919 + i * 88); // Codice servizio
|
||||
add_field("1", format("TRF-STATO-PAGAMENTO%d", i), 3, n, 3925 + i * 88); // Codice stato pagamento
|
||||
add_field("1", format("TRF-SERV-IMP_EURO%d", i), 12, n, 3928 + i * 88); // Importo in Euro
|
||||
add_field("1", format("TRF-SERV-IMP_VAL%d", i), 12, n, 3940 + i * 88); // Importo in valuta
|
||||
add_field("1", format("TRF-DATA-DOC-ORIG%d", i), 8, n, 3952 + i * 88); // Data documento originale
|
||||
add_field("1", format("TRF-MOD-EROGAZIONE%d", i), 8, n, 3960 + i * 88); // Servizi mod.erogazione
|
||||
add_field("1", format("TRF-MOD-INCASSO%d", i), 8, n, 3961 + i * 88); // Servizi mod.incasso
|
||||
add_field("1", format("TRF-PROT-REG%d", i), 8, n, 3962 + i * 88); // Protocollo registrazione
|
||||
add_field("1", format("TRF-PROG-REG%d", i), 8, n, 3968 + i * 88); // Progressivo registrazione
|
||||
add_field("1", format("TRF-COD-SEZ-DOG-RET%d", i), 8, n, 3974); // Servizi cod sez dog
|
||||
add_field("1", format("TRF-ANNO-REG-RET%d", i), 8, n, 3980 + i * 88); // Servizi anno registraz.
|
||||
add_field("1", format("TRF-NUM-DOC-ORIG%d", i), 8, n, 3982 + i * 88); // Numero doc. originale
|
||||
add_field("1", format("TRF-SERV-SEGNO-RET%d", i), 8, n, 3997 + i * 88); // Segno della rettifica (+/-)
|
||||
add_field("1", format("TRF-SERV-COD-VAL-IV%d", i), 8, n, 3998 + i * 88); // Codice valuta documento
|
||||
add_field("1", format("TRF-SERV-IMP-VALUTA-IV%d", i), 8, n, 4001 + i * 88); // Ammontare valuta documento
|
||||
}
|
||||
add_field("1", "TRF-INTRA-TIPO-SERVIZIO", 1, an, 5879); // Tipo movimento INTRASTAT 5=Servizi resi 6=Rett.servizi resi 7=Servizi ricevutii 8=Rett.servizi ricevuti
|
||||
add_field("1", "TRF-SERV-MESE-ANNO-RIF", 6, n, 5880); // Mmaaaa competenza rettifiche
|
||||
for (i = 0; i < 8; i++) // Check iva reverse charge
|
||||
add_field("1", format("TRF-CK-RCHARGE&d", i), 1, an, 5886 + i); // S o spazio = viene considerata per autofattura N=No
|
||||
add_field("1", "TRF-XNUM-DOC-ORI", 15, an, 5894); // S o spazio = viene considerata per autofattura N=No
|
||||
add_field("1", "TRF-MEM-ESIGIB-IVA", 1, an, 5909); // S o spazio = viene considerata per autofattura N=No
|
||||
add_field("1", "FILLER", 1090, an, 5910); // Filler
|
||||
add_field("1", "FINE1-RECORD", 2, an, 7000, "\r\n"); // terminatore record 0D0A HEX 0D non obbligatorio )
|
||||
}
|
||||
|
||||
@ -823,9 +896,9 @@ void TTS_sender::add_diversi(const TRecordset& mov, const bool moviva)
|
||||
const long numpart = atol(mov.get(MOV_NUMDOC).as_string());
|
||||
TString snumpart;
|
||||
snumpart.format("%06ld", numpart);
|
||||
field.format("TRF-EC-PARTITA-PAG_%d", i);
|
||||
field.format("TRF-EC-PARTITA-PAG_%d", j);
|
||||
set(field, snumpart); // estratto conto numero partita
|
||||
field.format("TRF-EC-PARTITA-ANNO-PAG_%d", i);
|
||||
field.format("TRF-EC-PARTITA-ANNO-PAG_%d", j);
|
||||
set(field, mov.get(MOV_ANNOIVA)); // estratto conto anno partita
|
||||
j++;
|
||||
if (riga_ritenute)
|
||||
@ -952,10 +1025,13 @@ void TTS_sender::add_tot_fattura(const TRecordset& mov)
|
||||
const bool vendite = mov.get(MOV_TIPO).as_string()[0] != 'F';
|
||||
real totdoc = mov.get(MOV_TOTDOC).as_real();
|
||||
const real ritfis = mov.get(MOV_RITFIS).as_real();
|
||||
const real revcharge = mov.get(MOV_REVCHARGE).as_real();
|
||||
const real ritsoc = mov.get(MOV_RITSOC).as_real();
|
||||
|
||||
if (ritfis != ZERO)
|
||||
totdoc += ritfis;
|
||||
if (revcharge != ZERO)
|
||||
totdoc += revcharge;
|
||||
if (ritsoc != ZERO)
|
||||
{
|
||||
if (swap_ritsoc(mov)) // Somma ritenute sociali con segno
|
||||
@ -981,7 +1057,7 @@ void TTS_sender::add_datiiva(const TRecordset& mov)
|
||||
int i = 0, j = 0;
|
||||
real fattore = UNO;
|
||||
TString16 key;
|
||||
const int codiva11rev = mov_reverse_charge(mov) ? cod2ricl("TSI11", TVariant(iva11_reverse(mov))) : 0L;
|
||||
const int codiva11mov = cod2ricl("TSI11", TVariant(iva11_reverse(mov)));
|
||||
|
||||
if (test_swap(mov))
|
||||
fattore = -fattore;
|
||||
@ -1013,11 +1089,11 @@ void TTS_sender::add_datiiva(const TRecordset& mov)
|
||||
const bool acqvent = _ventilazione && (imposta != ZERO) && tipocr == "1";
|
||||
|
||||
if (acquisto && indetraibile)
|
||||
codiva += TSINDETR; // maialata
|
||||
codiva += TSINDETR;
|
||||
if (acquisto && acqvent)
|
||||
codiva += TSACQDESTRIV; // maialata 2
|
||||
if (codiva11rev > 0L)
|
||||
codiva11 = codiva11rev;
|
||||
codiva += TSACQDESTRIV;
|
||||
if (codiva11mov > 0L)
|
||||
codiva11 = codiva11mov;
|
||||
else
|
||||
if (rmoviva.get(RMI_TIPOCR).as_int() > 0)
|
||||
codiva11 = cod2ricl("TSI11", tipocr);
|
||||
@ -1119,6 +1195,44 @@ void TTS_sender::add_header(const TRecordset& mov, const bool fullhesd)
|
||||
if (send_clifo)
|
||||
set("TRF-COD-CLIFOR", mov.get(MOV_CODCF));
|
||||
|
||||
bool split_payment = mov.get(MOV_SPLITPAY).as_bool();
|
||||
|
||||
if (split_payment)
|
||||
{
|
||||
set("TRF-ESIGIBILITA-IVA", 4);
|
||||
}
|
||||
|
||||
const char tipocf = mov.get(MOV_TIPO).as_string()[0];
|
||||
|
||||
if (tipocf > ' ')
|
||||
{
|
||||
const long codcf = mov.get(MOV_CODCF).as_int();
|
||||
const TRecordset& cli = clirecset(tipocf, codcf);
|
||||
TString8 stato = cli.get(CLI_STATOCF).as_string();
|
||||
|
||||
if (stato.full())
|
||||
{
|
||||
const TRectype & rec = cache().get("%STA", stato);
|
||||
|
||||
if (rec.full())
|
||||
{
|
||||
const bool blacklist = rec.get_bool("B0");
|
||||
|
||||
if (blacklist)
|
||||
{
|
||||
set("TRF-BLACKLIST-ANAG", "N"); // Escludi anagrafica da gestione Blacklist (S/N)
|
||||
set("TRF-BLACKLIST-IVA", "S"); // Gestione Blacklist su registrazione iva (S/N)
|
||||
}
|
||||
else
|
||||
{
|
||||
set("TRF-BLACKLIST-ANAG", "S"); // Escludi anagrafica da gestione Blacklist (S/N)
|
||||
set("TRF-BLACKLIST-IVA", "N"); // Gestione Blacklist su registrazione iva (S/N)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (moviva)
|
||||
{
|
||||
const long codreg = atol(codice.mid(1));
|
||||
@ -1377,7 +1491,7 @@ const TString & TTS_sender::scod2ricl(const char* tab, const TVariant& cod)
|
||||
const long TTS_sender::cod2ricl(const char* tab, const TString& cod)
|
||||
{
|
||||
long codricl = 0;
|
||||
if (cod.full())
|
||||
if (cod.full() && !cod.is_zero())
|
||||
{
|
||||
const bool ricl = _riclassifica.is_key(tab);
|
||||
const char* err = NULL;
|
||||
@ -1493,14 +1607,16 @@ void TTS_sender::main_loop()
|
||||
_errors_logged = false;
|
||||
|
||||
TRecordset & mov = movrecset();
|
||||
TProgress_monitor pi(mov.items(), TR("Scansione movimenti prima nota"));
|
||||
{
|
||||
TProgress_monitor pi(mov.items(), TR("Scansione movimenti prima nota"));
|
||||
|
||||
for (bool ok = mov.move_first(); ok; ok = mov.move_next())
|
||||
{
|
||||
if (!mov_regolarizzazione(mov))
|
||||
add_mov(mov);
|
||||
if (!pi.addstatus(1))
|
||||
break;
|
||||
for (bool ok = mov.move_first(); ok; ok = mov.move_next())
|
||||
{
|
||||
if (!mov_regolarizzazione(mov))
|
||||
add_mov(mov);
|
||||
if (!pi.addstatus(1))
|
||||
break;
|
||||
}
|
||||
}
|
||||
set_log_numreg(0);
|
||||
|
||||
|
@ -75,11 +75,11 @@ protected:
|
||||
public:
|
||||
virtual bool destroy(TRecnotype r);
|
||||
virtual bool set(const char* field, const TVariant& v);
|
||||
void set(const char* field, const TString & str) { set(field, TVariant(str)); }
|
||||
void set(const char* field, const int n) { set(field, TVariant((long)n)); }
|
||||
void set(const char* field, const char* s) { set(field, TVariant(s)); }
|
||||
void set(const char* field, const TDate& d) { set(field, TVariant(d)); }
|
||||
void set(const char* field, const real& v) { set(field, TVariant(v)); }
|
||||
virtual bool set(const char* field, const TString & str) { return set(field, TVariant(str)); }
|
||||
virtual bool set(const char* field, const int n) { return set(field, TVariant((long)n)); }
|
||||
virtual bool set(const char* field, const char* s) { return set(field, TVariant(s)); }
|
||||
virtual bool set(const char* field, const TDate& d) { return set(field, TVariant(d)); }
|
||||
virtual bool set(const char* field, const real& v) { return set(field, TVariant(v)); }
|
||||
int find_column(const char * name);
|
||||
|
||||
TIP_textset(const char* query = "") : TCSV_recordset(TString("CSV(\"\t\")\n") << query) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user