campo-sirio/src/ve/vetbscc.uml
Alessandro Bonazzi 4474b74170 Patch level : 12.0 922
Files correlati     : tp0.exe.exe tp0900ac.rep tp0900al.rep tp0900ca.rep tp0900le.rep tp0900pl.rep tp0900ve.rep vetbscc.msk
Commento            :

- Corretto controllo nel caso di esenzione e esposizione esenti.
- Modificato il report del modulo 6.1 per le descrizioni
- Aggiunto campo descrizione per dichiarazione nella tabella sotoocategorie CONAI
2020-01-17 00:37:01 +01:00

90 lines
1.4 KiB
Plaintext
Executable File

#include "vetbscc.h"
TOOLBAR "Toolbar" 0 0 0 2
#include <relapbar.h>
ENDPAGE
PAGE "Sottocategorie CONAI" 0 0 0 0
GROUPBOX DLG_NULL 78 7
BEGIN
PROMPT 1 0 ""
FLAGS "R"
END
LIST SCC_CATEGORIA 2 10
BEGIN
PROMPT 2 1 "Categoria "
FIELD CODTAB[1,2]
KEY 1
ITEM "AC|Acciaio"
ITEM "AL|Alluminio"
ITEM "CA|Carta"
ITEM "PL|Plastica"
ITEM "LE|Legno"
ITEM "VE|Vetro"
END
NUMBER SCC_CODICE 2
BEGIN
PROMPT 2 3 "Codice "
FIELD CODTAB[3,4]
KEY 1
USE &SCC
FLAGS "Z"
INPUT CODTAB[1,2] SCC_CATEGORIA
INPUT CODTAB[3,4] SCC_CODICE
DISPLAY "Categoria" CODTAB[1,2]
DISPLAY "Codice@8" CODTAB[3,4]
DISPLAY "Descrizione@50" S0
DISPLAY "Spesa@8" S1
OUTPUT SCC_CATEGORIA CODTAB[1,2]
OUTPUT SCC_CODICE CODTAB[3,4]
CHECKTYPE REQUIRED
END
STRING SCC_DESCR 50
BEGIN
PROMPT 2 5 "Descrizione "
FIELD S0
KEY 2
USE &SCC KEY 2
INPUT S0 SCC_DESCR
DISPLAY "Descrizione@50 " S0
DISPLAY "Categoria" CODTAB[1,2]
DISPLAY "Codice@8" CODTAB[3,4]
COPY OUTPUT SCC_CODICE
CHECKTYPE REQUIRED
END
STRING SCC_CODSPESA 8
BEGIN
PROMPT 2 8 "Codice spesa "
FIELD S1
USE SPP
FLAGS "U"
INPUT CODTAB SCC_CODSPESA
DISPLAY "Codice Spesa " CODTAB
DISPLAY "Descrizione@50" S0
OUTPUT SCC_CODSPESA CODTAB
CHECKTYPE REQUIRED
HELP "Codice spesa collegato alla sottocategoria"
END
TEXT DLG_NULL
BEGIN
PROMPT 2 10' "Descrizione x"
END
STRING SCC_DESCR_DICH 18
BEGIN
PROMPT 2 11 "Dichiarazione"
FIELD S2
END
ENDPAGE
ENDMASK