Benjamin G.
Posts: 130
|
« on: July 17, 2024, 10:59:39 am » |
|
Hi,
It would be nice a feature in studio to generate the 4gl definition corresponding with the form records like this ...
PRIVATE TYPE tsr_tlamrgmrg RECORD -- SCREEN RECORD sr_tlamrgmrg (valeurs) cligrp CHAR(1) -- LABEL a00 = FORMONLY.cligrp00 TYPE CHAR ,TITLE='*', JUSTIFY=CENTER; ,numart STRING -- LABEL a01 = FORMONLY.numart00 TYPE CHAR ,TITLE='Article'; ,libart STRING -- LABEL a02 = FORMONLY.libart00 TYPE DATE ,TITLE='Libellé'; ,orgart STRING -- LABEL a03 = FORMONLY.orgart00 TYPE CHAR ,TITLE='Origine'; ,embart STRING -- LABEL a06 = FORMONLY.embart00 TYPE CHAR ,TITLE='Embal.'; ,codmag STRING -- LABEL a15 = FORMONLY.codmag00 TYPE CHAR ,TITLE='Mag.'; ,datmrg DATE -- LABEL a07 = FORMONLY.datmrg00 TYPE DATE ,TITLE='Date'; ,mrgstd DECIMAL(6,2) -- EDIT a08 = FORMONLY.mrgstd00 TYPE DECIMAL(6,2) ,TITLE='%Std.'; ,mrgqte DECIMAL(6,2) -- EDIT a09 = FORMONLY.mrgqte00 TYPE DECIMAL(6,2) ,TITLE='%Qte.'; ,qtemin DECIMAL(9,3) -- EDIT a10 = FORMONLY.qtemin00 TYPE DECIMAL(9,3) ,TITLE='Qte Min.'; ,untven STRING -- LABEL a11 = FORMONLY.untven00 TYPE CHAR ,TITLE='Vente'; ,untuld STRING -- LABEL a12 = FORMONLY.untuld00 TYPE CHAR ,TITLE='Détail'; ,untulp STRING -- LABEL a13 = FORMONLY.untulp00 TYPE CHAR ,TITLE='Complet'; ,ulpven DECIMAL(9,3) -- LABEL a14 = FORMONLY.ulpven00 TYPE DECIMAL(9,3) ,TITLE='Conv.'; ,datprx DATE -- LABEL a16 = FORMONLY.datprx00 TYPE DATE ,TITLE='Date' ,FORMAT='dd-mm-yy'; ,pxaref DECIMAL(10,2) -- LABEL a17 = FORMONLY.pxaref00 TYPE DECIMAL(10,2) ,TITLE='€ Réf.' ,FORMAT='#,##&.&&'; ,pxvstd DECIMAL(10,2) -- LABEL a18 = FORMONLY.pxvstd00 TYPE DECIMAL(10,2) ,TITLE='€ Std.' ,FORMAT='#,##&.&&'; ,pxvqte DECIMAL(10,2) -- LABEL a19 = FORMONLY.pxvqte00 TYPE DECIMAL(10,2) ,TITLE='€ Qte.' ,FORMAT='#,##&.&&'; ,datsys DATETIME YEAR TO SECOND -- PHANTOM FORMONLY.datsys00 TYPE DATETIME YEAR TO SECOND; ,sermrg INTEGER -- PHANTOM FORMONLY.sermrg TYPE INTEGER; ,serart INTEGER -- PHANTOM FORMONLY.serart TYPE INTEGER; END RECORD
Regards
|