Gatilhos no Campo: EWH_PERIOD



Gatilhos(SX7) no Campo: EWH_PERIOD
X7_CAMPOX7_SEQUENCX7_REGRAX7_CDOMINX7_TIPOX7_SEEKX7_ALIASX7_ORDEMX7_CHAVEX7_CONDIC
EWH_PERIOD001IIF(AM103CALCGAT('PER')<1,1,AM103CALCGAT('PER'))EWH_QTDPERPSEWH1XFILIAL('EWH')+ALLTRIM(STR(EWH->EWH_PERIOD))RETORNO('QTDP')
EWH_PERIOD002AM103Ret('PRC')EWH_VL_TOTPSEWH1XFILIAL('EWH')+ALLTRIM(STR(M->EWH_PERIOD))RETORNO('VLTOT')
EWH_PERIOD003GatVlGetDados('EWH_VL_TOT')EWG_VL_TOTPN0
EWH_PERIOD004AM103CalcGat('VLPRV')EWH_VL_PRVPN0
EWH_PERIOD005GatVlGetDados('EWH_VL_PRV')EWG_VL_PRVPN0