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

PAGE "Stampa sconti di riga " -1 -1 55 11

LISTA F_R_TIPO 1
BEGIN
  PROMPT 100 100 ""
  FLAG "H"
  ITEM "R|Sconti di riga"
END

STRING F_R_CODCAT_DA 2
BEGIN
  PROMPT 2 1 "Cat. vendita  "
  FLAG "U"
  USE %CVE
  INPUT CODTAB F_R_CODCAT_DA
  DISPLAY "Codice" CODTAB
  DISPLAY "Descrizione@50" S0
  OUTPUT F_R_CODCAT_DA CODTAB
END

STRING F_R_CODART_DA 20
BEGIN
  PROMPT 2 2 "Cod. articolo "
  FLAG "U"
  USE LF_ANAGR
  INPUT CODART F_R_CODART_DA
  DISPLAY "Codice@20" CODART
  DISPLAY "Descrizione@50" DESCR
  OUTPUT F_R_CODART_DA CODART
END

GROUPBOX DLG_NULL 55 4
BEGIN
  PROMPT 0 0 "Da"
END

STRING F_R_CODCAT_A 2
BEGIN
  PROMPT 2 5 "Cat. vendita  "
  FLAG "U"
  USE %CVE
  INPUT CODTAB F_R_CODCAT_A
  DISPLAY "Codice" CODTAB
  DISPLAY "Descrizione@50" S0
  OUTPUT F_R_CODCAT_A CODTAB
END

STRING F_R_CODART_A 20
BEGIN
  PROMPT 2 6 "Cod. articolo "
  FLAG "U"
  USE LF_ANAGR
  INPUT CODART F_R_CODART_A
  DISPLAY "Codice@20" CODART
  DISPLAY "Descrizione@50" DESCR
  OUTPUT F_R_CODART_A CODART
END

GROUPBOX DLG_NULL 55 4
BEGIN
  PROMPT 0 4 "A"
END

BOOLEAN F_R_DESCRIZ
BEGIN
  PROMPT 2 8 "Descrizioni"
  MESSAGE FALSE DISABLE,F_R_COMPAT
  MESSAGE TRUE ENABLE,F_R_COMPAT
END

BOOLEAN F_R_COMPAT
BEGIN
  PROMPT 20 8 "Compatte"
END

BUTTON DLG_SELECT 9 2
BEGIN
  PROMPT -12 -1 "Selezione"
  MESSAGE EXIT,K_ENTER
END

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

ENDPAGE

ENDMASK

