Files correlati : tf Commento : - Aggiunta colonna per tipo documento TD e tipo documento normale - Corretta inizializzazione TCausale in tutti i punti del programma (non sapevo servisse l'anno quando è stato fatto tutto) git-svn-id: svn://10.65.10.50/branches/R_10_00@24288 c028cbd2-c16b-5b4b-a496-9718f37d4682
25 lines
907 B
C
25 lines
907 B
C
#include <strings.h>
|
|
#include <recset.h>
|
|
|
|
// Funzioni/Costanti comode per più programmi
|
|
|
|
#define MOV_CUSTOM 10000000
|
|
|
|
// 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, int year);
|
|
// Ritorna la ragione sociale del RFSO
|
|
TString getRFSO(TString codrfso);
|
|
// Controllo che sia un record che mi interessa
|
|
bool checkRecord(TISAM_recordset* rec); |