Gatilhos(SX7) no Campo: ACH_CNAE | |||||||||
X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC |
ACH_CNAE | 001 | Space(TamSx3("ACH_DESSEG")[1]) | ACH_DESSEG | P | N | 0 | EMPTY(ACH->ACH_CODSEG).OR.INCLUI | ||
ACH_CNAE | 002 | IF(EMPTY(ACH->ACH_CODSEG).OR.INCLUI,CRMA620Blq(CC3->CC3_CODSEG),ACH->ACH_CODSEG) | ACH_CODSEG | P | S | CC3 | 1 | xFilial("CC3")+M->ACH_CNAE |