campo-sirio/src/ps/ps6215partite.h
Simone Palacino 9807eaca25 Patch level : 12.0 no-patch
Files correlati     : ps6215.exe
Commento            : Comari partite aperte
2020-02-28 09:33:32 +01:00

107 lines
2.9 KiB
C

#include "partite.h"
#define D_ANNO 4
#define D_NUMPART 7
#define D_NRIGA 4
#define D_TIPOC 1 // ['C' | 'F'] (Cliente/Fornitore)
#define D_SOTTOCONTO 6
#define D_TIPOMOV 1
#define D_TIPOPAG 1
#define D_NREG 7
#define D_NUMRIG 3
#define D_DATAREG 8 // Formato data dd-MM-yyyy
#define D_DATADOC 8 // Formato data dd-MM-yyyy
#define D_DATAPAG 8 // Formato data dd-MM-yyyy
#define D_NUMDOC 7
#define D_REG 3
#define D_PROTIVA 5
#define D_CODCAUS 3
#define D_SEZ 1 // ['D' | 'A'] (Dare/Avere)
#define D_IMPORTO 18 // 18 con 3 decimali, segno, e virgola
#define D_IMPOSTA 18 // 18 con 3 decimali, segno, e virgola
#define D_SPESE 18 // 18 con 3 decimali, segno, e virgola
#define D_IMPTOTDOC 18 // 18 con 3 decimali, segno, e virgola
#define D_RITENUTE 18 // 18 con 3 decimali, segno, e virgola
#define D_RITSOC 18 // 18 con 3 decimali, segno, e virgola
#define D_SEZABB 1
#define D_ABBUONI 18 // 18 con 3 decimali, segno, e virgola
#define D_SEZDIFCAM 1
#define D_DIFFCAM 18 // 18 con 3 decimali, segno, e virgola
#define D_GRUPPOCL 3
#define D_CONTOCL 3
#define D_COFI 28
#define D_STATOPAIV 2
#define D_PAIV 12
#define I_ANNO 0
#define I_NUMPART 1
#define I_NRIGA 2
#define I_TIPOC 3
#define I_SOTTOCONTO 4
#define I_TIPOMOV 5
#define I_TIPOPAG 6
#define I_NREG 7
#define I_NUMRIG 8
#define I_DATAREG 9
#define I_DATADOC 10
#define I_DATAPAG 11
#define I_NUMDOC 12
#define I_REG 13
#define I_PROTIVA 14
#define I_CODCAUS 15
#define I_SEZ 16
#define I_IMPORTO 17
#define I_IMPOSTA 18
#define I_SPESE 19
#define I_IMPTOTDOC 20
#define I_RITENUTE 21
#define I_RITSOC 22
#define I_SEZABB 23
#define I_ABBUONI 24
#define I_SEZDIFCAM 25
#define I_DIFFCAM 26
#define I_GRUPPOCL 27
#define I_CONTOCL 28
#define I_COFI 29
#define I_STATOPAIV 30
#define I_PAIV 31
#define DS_ANNO 4
#define DS_NUMPART 7
#define DS_NRIGA 4
#define DS_NRATA 4
#define DS_CODPAG 4
#define DS_TIPOPAG 1
#define DS_IMPORTO 18
#define DS_DATASCAD 8
#define DS_TIPOCF 1
#define DS_SOTTOCONTO 6
#define DS_GGRIT 4
#define DS_PAGATA 1
#define DS_IMPORTOPAG 18
#define DS_IMPORTOANT 18
#define DS_CODABIPR 5
#define DS_CODCABPR 5
#define DS_CODABI 5
#define DS_CODCAB 5
#define IS_ANNO 0
#define IS_NUMPART 1
#define IS_NRIGA 2
#define IS_NRATA 3
#define IS_CODPAG 4
#define IS_TIPOPAG 5
#define IS_IMPORTO 6
#define IS_DATASCAD 7
#define IS_TIPOCF 8
#define IS_SOTTOCONTO 9
#define IS_GGRIT 10
#define IS_PAGATA 11
#define IS_IMPORTOPAG 12
#define IS_IMPORTOANT 13
#define IS_CODABIPR 14
#define IS_CODCABPR 15
#define IS_CODABI 16
#define IS_CODCAB 17