#include "veconf.h"

TOOLBAR "" 0 20 0 2

BUTTON DLG_OK 10 2
BEGIN
PROMPT -12 -1 ""
END

BUTTON DLG_QUIT 10 2
BEGIN
PROMPT -22 -1 ""
END

ENDPAGE

PAGE "Tabella gestione sconti" 1 1 60 14

GROUPBOX DLG_NULL 78 4
BEGIN
PROMPT 1 1 "Gestione sconto a percentuale"
END

STRING F_SCOPRCODCON1 3
BEGIN
PROMPT  2 2 "Codice contabilita'  "
FIELD SCOPRCODCON[1]
USE LF_PCON
INPUT GRUPPO F_SCOPRCODCON1
INPUT CONTO  F_SCOPRCODCON2
INPUT SOTTOCONTO F_SCOPRCODCON3
DISPLAY "Gruppo" GRUPPO
DISPLAY "Conto"  CONTO
DISPLAY "Sottoconto" SOTTOCONTO
DISPLAY "Descrizione@50" DESCR
OUTPUT F_SCOPRCODCON1 GRUPPO
OUTPUT F_SCOPRCODCON2  CONTO
OUTPUT F_SCOPRCODCON3 SOTTOCONTO
OUTPUT F_SCOPRDESCON  DESCR
CHECKTYPE NORMAL
END

STRING F_SCOPRCODCON2 3
BEGIN
PROMPT  30 2 ""
FIELD SCOPRCODCON[2]
COPY ALL F_SCOPRCODCON1
CHECKTYPE NORMAL
END

STRING F_SCOPRCODCON3 6
BEGIN
PROMPT  36 2 ""
FIELD SCOPRCODCON[3]
COPY ALL F_SCOPRCODCON1
CHECKTYPE NORMAL
END

STRING F_SCOPRDESCON 50 
BEGIN
PROMPT 2 3 "Descrizione          "
USE LF_PCON KEY 2
INPUT DESCR F_SCOPRDESCON
DISPLAY "Descrizione@50" DESCR
DISPLAY "Gruppo" GRUPPO
DISPLAY "Conto"  CONTO
DISPLAY "Sottoconto" SOTTOCONTO
COPY OUTPUT F_SCOPRCODCON1
CHECKTYPE NORMAL
END

GROUPBOX DLG_NULL 78 4
BEGIN
PROMPT 1 6 "Gestione sconto ad importo "
END

STRING F_SCOIMCODCON1 3
BEGIN
PROMPT  2 7 "Codice contabilita'   "
FIELD SCOIMCODCON[1]
USE LF_PCON
INPUT GRUPPO F_SCOIMCODCON1
INPUT CONTO  F_SCOIMCODCON2
INPUT SOTTOCONTO F_SCOIMCODCON3
DISPLAY "Gruppo" GRUPPO
DISPLAY "Conto"  CONTO
DISPLAY "Sottoconto" SOTTOCONTO
DISPLAY "Descrizione@50" DESCR
OUTPUT F_SCOIMCODCON1 GRUPPO
OUTPUT F_SCOIMCODCON2  CONTO
OUTPUT F_SCOIMCODCON3 SOTTOCONTO
OUTPUT F_SCOIMDESCON  DESCR
CHECKTYPE NORMAL
END

STRING F_SCOIMCODCON2 3
BEGIN
PROMPT  30 7 ""
FIELD SCOIMCODCON[2]
COPY ALL F_SCOIMCODCON1
CHECKTYPE NORMAL
END

STRING F_SCOIMCODCON3 6
BEGIN
PROMPT  36 7 ""
FIELD SCOIMCODCON[3]
COPY ALL F_SCOIMCODCON1
CHECKTYPE NORMAL
END

STRING F_SCOIMDESCON 50
BEGIN
PROMPT 2 8 "Descrizione           "
USE LF_PCON KEY 2
INPUT DESCR F_SCOIMDESCON
DISPLAY "Descrizione@50" DESCR
DISPLAY "Gruppo" GRUPPO
DISPLAY "Conto"  CONTO
DISPLAY "Sottoconto" SOTTOCONTO
COPY OUTPUT F_SCOIMCODCON1
CHECKTYPE NORMAL
END

ENDPAGE

ENDMASK


