Gatilhos(SX7) no Campo: RGX_CODRUB | |||||||||
X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC |
RGX_CODRUB | 001 | IF(RGX_CODRUB<>'003',SPACE(LEN(RGX_PROD)),RGX_PROD) | RGX_PROD | P | 0 | ||||
RGX_CODRUB | 002 | IF(RGX_CODRUB$'003/013/014/018/019',RGX_VALBC,0) | RGX_VALBC | P | 0 | ||||
RGX_CODRUB | 003 | IF(RGX_CODRUB<>'003',0,RGX_QTDPRO) | RGX_QTDPRO | P | 0 | ||||
RGX_CODRUB | 004 | IF(RGX_CODRUB$'004/012/013/014/018/019',RGX_PERC,0) | RGX_PERC | P | 0 | ||||
RGX_CODRUB | 005 | IF(RGX_CODRUB$'004/005/012/015/016',RGX_QTDHOR,0) | RGX_QTDHOR | P | 0 |