Files correlati : tf Commento : Inizio sviluppo programma di controllo spesometro, spostate alcune funzioni in tfutility per comodità git-svn-id: svn://10.65.10.50/branches/R_10_00@24008 c028cbd2-c16b-5b4b-a496-9718f37d4682
21 lines
767 B
C
21 lines
767 B
C
#include <strings.h>
|
|
#include <recset.h>
|
|
|
|
// Funzioni comode per più programmi
|
|
|
|
// Ritorna il record custom
|
|
TRectype getTrasFatt(TString reg, TString codiva);
|
|
// Ritorna il cliente in un record di $clifo, con tipocf = "O" lo cerca in $occas
|
|
TRectype getCli(const TString& tipocf, const TString& codcf, const TString& ocfpi);
|
|
// Controlla se l'azienda ha un RFSO
|
|
bool haveRFSO(TString& codrfso);
|
|
// Ritorna la natura da un codice IVA
|
|
const char * natura(const TString& codiva);
|
|
// Ritorna l'IVA
|
|
real get_IVA(const TString& codiva);
|
|
// Ritorna la % di detraibilità
|
|
TString findDetraib(TString tipodet);
|
|
// Ritorna "X" se ha il reverse charge
|
|
TString revCharge(TString numreg);
|
|
// Ritorna la ragione sociale del RFSO
|
|
TString getRFSO(TString codrfso); |