#include <lffiles.h>
#include "ve2100d.h"

TOOLBAR "" 0 20 60 2
 #include <toolbar.h>
ENDPAGE

PAGE "Archivio sconti documenti " 11 60 14

LISTA F_D_TIPO 1
BEGIN
  PROMPT 100 100 ""
  FIELD LF_SCONTI->TIPO
  FLAG "H"
  ITEM "D|Sconti documento"
END

STRING F_D_CODCAT 2
BEGIN
  PROMPT 2 2  "Cod. sconto doc. "
  FIELD LF_SCONTI->CODCAT
  FLAG "UR"
  KEY 1
  USE LF_SCONTI
  INPUT TIPO F_D_TIPO SELECT
  INPUT CODCAT F_D_CODCAT
  DISPLAY "Codice" CODCAT
  DISPLAY "Descrizione" DESCR
  DISPLAY "Sconto@25" SCONTO
  OUTPUT F_D_CODCAT CODCAT
  OUTPUT F_D_SCONTO SCONTO
  OUTPUT F_D_DESCR DESCR
  CHECKTYPE REQUIRED
END

STRING F_D_DESCR 50
BEGIN
  PROMPT 2 4  "Descrizione      "
  FIELD LF_SCONTI->DESCR
END

GROUPBOX DLG_NULL 75 7
BEGIN
  PROMPT 0 0 ""
  FLAG "R"
END

STRING F_D_SCONTO 25
BEGIN
  PROMPT 2 8  "Sconto           "
  FIELD LF_SCONTI->SCONTO
END

ENDPAGE

ENDMASK
