Gatilhos(SX7) no Campo: EWH_PERIOD |
X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC |
EWH_PERIOD | 001 | IIF(AM103CALCGAT('PER')<1,1,AM103CALCGAT('PER')) | EWH_QTDPER | P | S | EWH | 1 | XFILIAL('EWH')+ALLTRIM(STR(EWH->EWH_PERIOD)) | RETORNO('QTDP') |
EWH_PERIOD | 002 | AM103Ret('PRC') | EWH_VL_TOT | P | S | EWH | 1 | XFILIAL('EWH')+ALLTRIM(STR(M->EWH_PERIOD)) | RETORNO('VLTOT') |
EWH_PERIOD | 003 | GatVlGetDados('EWH_VL_TOT') | EWG_VL_TOT | P | N | | 0 | | |
EWH_PERIOD | 004 | AM103CalcGat('VLPRV') | EWH_VL_PRV | P | N | | 0 | | |
EWH_PERIOD | 005 | GatVlGetDados('EWH_VL_PRV') | EWG_VL_PRV | P | N | | 0 | | |