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