campo-sirio/tc/tczuiva.uml
alex 256ef4829c Patch level : 10.0 396
Files correlati     :  tc1.exe
Ricompilazione Demo : [ ]
Commento

Aggiornamenti all invio a zucchetti (nuove tabelle)


git-svn-id: svn://10.65.10.50/trunk@19155 c028cbd2-c16b-5b4b-a496-9718f37d4682
2009-07-28 15:05:20 +00:00

111 lines
1.8 KiB
Plaintext
Executable File

#include "tczu.h"
TOOLBAR "topbar" 0 0 0 2
#include <relapbar.h>
ENDPAGE
PAGE "Codici IVA" 0 2 0 0
GROUPBOX DLG_NULL 78 3
BEGIN
PROMPT 1 1 "Codice IVA Campo"
END
LIST F_COD 5
BEGIN
PROMPT 50 50 ""
ITEM "ZUIVA|ZUIVA"
FIELD COD
FLAGS "D"
KEY 1
END
STRING F_CODTAB 4
BEGIN
PROMPT 2 2 ""
USE LF_MULTIREL
JOIN %IVA INTO CODTAB==FIRST
INPUT COD F_COD SELECT
INPUT FIRST F_CODTAB
DISPLAY "Codice" FIRST
DISPLAY "Descrizione@60" %IVA->S0
DISPLAY "Codice IVA Zucchetti" DATA
OUTPUT F_CODTAB FIRST
OUTPUT F_CODTAB1 FIRST
OUTPUT F_DESC %IVA->S0
OUTPUT F_COD_CORR DATA
CHECKTYPE REQUIRED
FIELD FIRST
VALIDATE ZEROFILL_FUNC 2
FLAGS "U"
KEY 1
GROUP 1
END
STRING F_CODTAB1 4
BEGIN
PROMPT 2 2 ""
FIELD FIRST
FLAGS "UHG"
USE %IVA
INPUT CODTAB F_CODTAB1
DISPLAY "Codice" CODTAB
DISPLAY "Descrizione@50" S0
DISPLAY "Tipo" S1
DISPLAY "%@5" R0
DISPLAY "Vent." S6
DISPLAY "Sospeso" B2
OUTPUT F_CODTAB1 CODTAB
OUTPUT F_CODTAB CODTAB
OUTPUT F_DESC S0
HELP "Inserire il codice IVA"
KEY 1
CHECKTYPE REQUIRED
VALIDATE ZEROFILL_FUNC 2
GROUP 2
END
STRING F_DESC 50
BEGIN
PROMPT 10 2 "Descrizione "
USE %IVA KEY 2
INPUT S0 F_DESC
DISPLAY "Descrizione@60" S0
DISPLAY "Codice" CODTAB
COPY OUTPUT F_CODTAB1
CHECKTYPE REQUIRED
KEY 2
GROUP 3
END
STRING F_COD_CORR 2
BEGIN
PROMPT 2 4 "Codice IVA Zucchetti "
FIELD DATA
FLAGS "UZ"
USE &ZIV
INPUT CODTAB F_COD_CORR
DISPLAY "Cod." CODTAB
DISPLAY "Descrizione@50" S0
DISPLAY "Codice Norma" S7
OUTPUT F_COD_CORR CODTAB
OUTPUT F_DESC_CORR S0
VALIDATE FIXLEN_FUNC 2
CHECKTYPE REQUIRED
END
STRING F_DESC_CORR 50
BEGIN
PROMPT 2 25 ""
USE &ZIV
INPUT S0 F_DESC_CORR
DISPLAY "Descrizione@50" S0
DISPLAY "Cod." CODTAB
DISPLAY "Codice Norma" S7
COPY OUTPUT F_COD_CORR
END
ENDPAGE
ENDMASK