campo-sirio/src/ps/ps6215partite.h

62 lines
1.9 KiB
C
Raw Normal View History

#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 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