SELECT ndc, data_emissione, Classificazione, importo FROM fatture_attivo Where Stato = 'Emessa' and ( ((data_emissione >= #createODBCdate(data_inizio)# and data_emissione <= #createODBCdate(data_fine)#) and (pertinenza is null or pertinenza = 0 or pertinenza = #url.anno#)) or (pertinenza is not null and pertinenza = #url.anno#) ) SELECT SUM(totale) AS Tot_ordini FROM Ordini where stato <> 'fatturato' and data >= #createODBCdate(data_inizio)# and data <= #createODBCdate(data_fine)# SELECT SUM(Importo) AS Tot_ordini FROM fatture_attivo where stato = 'bozza' and Data_immissione >= #createODBCdate(data_inizio)# and Data_immissione <= #createODBCdate(data_fine)# SELECT * FROM fatture_passivo Where ( ((data_emissione >= #createODBCdate(data_inizio)# and data_emissione <= #createODBCdate(data_fine)#) and (pertinenza is null or pertinenza = 0 or pertinenza = #url.anno#)) or (pertinenza is not null and pertinenza = #url.anno#) ) SELECT * FROM spese_generali Where ( ((data_documento >= #createODBCdate(data_inizio)# and data_documento <= #createODBCdate(data_fine)#) and (pertinenza is null or pertinenza = 0 or pertinenza = #url.anno#)) or (pertinenza is not null and pertinenza = #url.anno#) ) fattura#iddocumento# - #descrizione# - #importo#

Conto economico anno #url.anno#



RIEPILOGO GENERALE
TOTALE VENDITE #lseurocurrencyformat(vendite, "local")#
ALTRE ENTRATE #lseurocurrencyformat(entrate, "local")#
TOTALE FATTURE IN BOZZA #lseurocurrencyformat(fatture_bozza, "local")#
TOTALE DISINVESTIMENTI #lseurocurrencyformat(vendite18, "local")#
TOTALE ACQUISTI E SPESE #lseurocurrencyformat(tot_spese, "local")#
UTILE (PERDITA) DI ESERCIZIO #lseurocurrencyformat(vendite+entrate+fatture_bozza-tot_spese, "local")#
TOTALE ORDINI APERTI #lseurocurrencyformat(ordini_, "local")#
UTILE (PERDITA) DI ESERCIZIO CON ORDINI #lseurocurrencyformat(vendite+entrate+fatture_bozza+ordini_-tot_spese, "local")#




VENDITE #lseurocurrencyformat(vendite, "local")#
Vendita software #lseurocurrencyformat(vendite0, "local")# #numberformat(vendite0/vendite*100, "___._")#%
Servizi web #lseurocurrencyformat(vendite1, "local")# #numberformat(vendite1/vendite*100, "___._")#%
Assistenza software #lseurocurrencyformat(vendite21, "local")# #numberformat(vendite21/vendite*100, "___._")#%
TOT. WEB #lseurocurrencyformat(vendite0+vendite1, "local")# #numberformat((vendite0+vendite1)/vendite*100, "___._")#%
Corsi di formazione #lseurocurrencyformat(vendite2, "local")# #numberformat(vendite2/vendite*100, "___._")#%
Noleggio postazione informatica #lseurocurrencyformat(vendite3, "local")# #numberformat(vendite3/vendite*100, "___._")#%
Noleggio apparati HW/SW #lseurocurrencyformat(vendite17, "local")# #numberformat(vendite17/vendite*100, "___._")#%
Assistenza sistemistica #lseurocurrencyformat(vendite4, "local")# #numberformat(vendite4/vendite*100, "___._")#%
Servizi di grafica #lseurocurrencyformat(vendite20, "local")# #numberformat(vendite20/vendite*100, "___._")#%
Altri servizi #lseurocurrencyformat(vendite5, "local")# #numberformat(vendite5/vendite*100, "___._")#%
TOT SERVIZI #lseurocurrencyformat(vendite2+vendite3+vendite4+vendite5+vendite17, "local")# #numberformat((vendite2+vendite3+vendite4+vendite5+vendite17)/vendite*100, "___._")#%
Vendita hw & sw & accessori #lseurocurrencyformat(vendite6, "local")# #numberformat(vendite6/vendite*100, "___._")#%
Realizzazione reti ed impianti #lseurocurrencyformat(vendite7, "local")# #numberformat(vendite7/vendite*100, "___._")#%
TOT. NETWORKING #lseurocurrencyformat(vendite6+vendite7, "local")# #numberformat((vendite6+vendite7)/vendite*100, "___._")#%
Servizio di radiolocalizzazione #lseurocurrencyformat(vendite8, "local")# #numberformat(vendite8/vendite*100, "___._")#%
TOT. AVM #lseurocurrencyformat(vendite8+vendite9, "local")# #numberformat((vendite8+vendite9)/vendite*100, "___._")#%
Interessi di mora #lseurocurrencyformat(vendite10, "local")# #numberformat(vendite10/vendite*100, "___._")#%
Dividendi azionari #lseurocurrencyformat(entrate1, "local")# #numberformat(entrate1/vendite*100, "___._")#%
Contributi conto gestione #lseurocurrencyformat(entrate2, "local")# #numberformat(entrate2/vendite*100, "___._")#%
Contributi conto capitale #lseurocurrencyformat(entrate3, "local")# #numberformat(entrate3/vendite*100, "___._")#%
Plusvalenze #lseurocurrencyformat(entrate99, "local")# #numberformat(entrate99/vendite*100, "___._")#%
Altre vendite #lseurocurrencyformat(vendite16, "local")# #numberformat(vendite16/vendite*100, "___._")#%
TOT. VARIE #lseurocurrencyformat(vendite10+entrate1+entrate2+entrate3+entrate99+vendite16, "local")# #numberformat((vendite10+entrate1+entrate2+entrate3+entrate99+vendite16)/vendite*100, "___._")#%
DISINVESTIMENTI #lseurocurrencyformat(vendite18, "local")#  



ACQUISTI #lseurocurrencyformat(tot_spese, "local")#
-----ACQUISTI DI BENI E SERVIZI------ #lseurocurrencyformat(beniservizi, "local")# #numberformat((beniservizi)/tot_spese*100, "___._")#%
Acquisto di merci #lseurocurrencyformat(beniservizi1, "local")# #numberformat(beniservizi1/tot_spese*100, "___._")#%
Cancelleria #lseurocurrencyformat(beniservizi2, "local")# #numberformat(beniservizi2/tot_spese*100, "___._")#%
Manutenzioni e riparazioni #lseurocurrencyformat(beniservizi3, "local")# #numberformat(beniservizi3/tot_spese*100, "___._")#%
Manutenzione apparati informatici #lseurocurrencyformat(beniservizi4, "local")# #numberformat(beniservizi4/tot_spese*100, "___._")#%
Energia elettrica #lseurocurrencyformat(beniservizi5, "local")# #numberformat(beniservizi5/tot_spese*100, "___._")#%
Acqua #lseurocurrencyformat(beniservizi6, "local")# #numberformat(beniservizi6/tot_spese*100, "___._")#%
Telefonia fissa #lseurocurrencyformat(beniservizi7, "local")# #numberformat(beniservizi7/tot_spese*100, "___._")#%
Telefonia mobile #lseurocurrencyformat(beniservizi8, "local")# #numberformat(beniservizi8/tot_spese*100, "___._")#%
Housing e connettività internet #lseurocurrencyformat(beniservizi9, "local")# #numberformat(beniservizi9/tot_spese*100, "___._")#%
Spese postali #lseurocurrencyformat(beniservizi10, "local")# #numberformat(beniservizi10/tot_spese*100, "___._")#%
Spese doganali #lseurocurrencyformat(beniservizi11, "local")# #numberformat(beniservizi11/tot_spese*100, "___._")#%
Trasporti (pony e corriere) #lseurocurrencyformat(beniservizi12, "local")# #numberformat(beniservizi12/tot_spese*100, "___._")#%
Viaggi personale dipendente #lseurocurrencyformat(beniservizi13, "local")# #numberformat(beniservizi13/tot_spese*100, "___._")#%
Carburanti #lseurocurrencyformat(beniservizi14, "local")# #numberformat(beniservizi14/tot_spese*100, "___._")#%
Costi di gestione autovetture aziendali #lseurocurrencyformat(beniservizi15, "local")# #numberformat(beniservizi15/tot_spese*100, "___._")#%
Leasing autovettura aziendale #lseurocurrencyformat(beniservizi16, "local")# #numberformat(beniservizi16/tot_spese*100, "___._")#%
Affitti locali sede e spese condominiali #lseurocurrencyformat(beniservizi17, "local")# #numberformat(beniservizi17/tot_spese*100, "___._")#%
Spese impresa di pulizie #lseurocurrencyformat(beniservizi18, "local")# #numberformat(beniservizi18/tot_spese*100, "___._")#%
Corsi di formazione e certificazione #lseurocurrencyformat(beniservizi19, "local")# #numberformat(beniservizi19/tot_spese*100, "___._")#%
Consulenze #lseurocurrencyformat(beniservizi20, "local")# #numberformat(beniservizi20/tot_spese*100, "___._")#%
Prestazioni da terzi #lseurocurrencyformat(beniservizi21, "local")# #numberformat(beniservizi21/tot_spese*100, "___._")#%
-----COSTI DEL PERSONALE------ #lseurocurrencyformat(personale, "local")# #numberformat((personale)/tot_spese*100, "___._")#%
Stipendi e salari #lseurocurrencyformat(personale1, "local")# #numberformat(personale1/tot_spese*100, "___._")#%
INAIL #lseurocurrencyformat(personale2, "local")# #numberformat(personale2/tot_spese*100, "___._")#%
Compenso amministratore #lseurocurrencyformat(personale3, "local")# #numberformat(personale3/tot_spese*100, "___._")#%
Visite mediche #lseurocurrencyformat(personale3, "local")# #numberformat(personale3/tot_spese*100, "___._")#%
-----COSTI DIVERSI DI GESTIONE------ #lseurocurrencyformat(varie, "local")# #numberformat((varie)/tot_spese*100, "___._")#%
Assicurazioni #lseurocurrencyformat(varie1, "local")# #numberformat(varie1/tot_spese*100, "___._")#%
Spese pubblicitarie #lseurocurrencyformat(varie2, "local")# #numberformat(varie2/tot_spese*100, "___._")#%
Spese di rappresentanza #lseurocurrencyformat(varie3, "local")# #numberformat(varie3/tot_spese*100, "___._")#%
Omaggi e regalie #lseurocurrencyformat(varie4, "local")# #numberformat(varie4/tot_spese*100, "___._")#%
Abbonamenti e associazioni di categoria #lseurocurrencyformat(varie5, "local")# #numberformat(varie5/tot_spese*100, "___._")#%
Acquisto libri e pubblicazioni #lseurocurrencyformat(varie6, "local")# #numberformat(varie6/tot_spese*100, "___._")#%
Contravvenzioni #lseurocurrencyformat(varie7, "local")# #numberformat(varie7/tot_spese*100, "___._")#%
Spese varie #lseurocurrencyformat(varie99, "local")# #numberformat(varie99/tot_spese*100, "___._")#%
-----AMMORTAMENTI------ #lseurocurrencyformat(ammortamenti, "local")# #numberformat((ammortamenti)/tot_spese*100, "___._")#%
Hardware #lseurocurrencyformat(ammortamenti1, "local")# #numberformat(ammortamenti1/tot_spese*100, "___._")#%
Software #lseurocurrencyformat(ammortamenti2, "local")# #numberformat(ammortamenti2/tot_spese*100, "___._")#%
Mobilio ed accessori sede #lseurocurrencyformat(ammortamenti3, "local")# #numberformat(ammortamenti3/tot_spese*100, "___._")#%
Autovetture aziendali #lseurocurrencyformat(ammortamenti4, "local")# #numberformat(ammortamenti4/tot_spese*100, "___._")#%
Costi di impianto #lseurocurrencyformat(ammortamenti5, "local")# #numberformat(ammortamenti5/tot_spese*100, "___._")#%
Licenze #lseurocurrencyformat(ammortamenti6, "local")# #numberformat(ammortamenti6/tot_spese*100, "___._")#%
Marchi #lseurocurrencyformat(ammortamenti7, "local")# #numberformat(ammortamenti7/tot_spese*100, "___._")#%
Minusvalenze #lseurocurrencyformat(ammortamenti8, "local")# #numberformat(ammortamenti8/tot_spese*100, "___._")#%
-----ONERI FINANZIARI------ #lseurocurrencyformat(finanziarie, "local")# #numberformat((finanziarie)/tot_spese*100, "___._")#%
Interessi passivi bancari #lseurocurrencyformat(finanziarie1, "local")# #numberformat(finanziarie1/tot_spese*100, "___._")#%
Interessi passivi fornitori #lseurocurrencyformat(finanziarie2, "local")# #numberformat(finanziarie2/tot_spese*100, "___._")#%
Spese bancarie #lseurocurrencyformat(finanziarie3, "local")# #numberformat(finanziarie3/tot_spese*100, "___._")#%
-----ONERI TRIBUTARI------ #lseurocurrencyformat(tasse, "local")# #numberformat((tasse)/tot_spese*100, "___._")#%
Imposte dell'esercizio #lseurocurrencyformat(tasse1, "local")# #numberformat(tasse1/tot_spese*100, "___._")#%
IRAP #lseurocurrencyformat(tasse2, "local")# #numberformat(tasse2/tot_spese*100, "___._")#%