Gatilhos(SX7) no Campo: B1N_CODREF |
X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC |
B1N_CODREF | 001 | BK6->BK6_NOME | B1N_NOMREF | P | S | BK6 | 4 | xFilial("BK6") + M->B1N_CODREF | |
B1N_CODREF | 002 | iif(alltrim(BK6->BK6_ESTCR) <> "", BK6->BK6_ESTCR, M->B1N_EST) | B1N_EST | P | S | BK6 | 4 | iif(alltrim(BK6->BK6_ESTCR) <> "", BK6->BK6_ESTCR, M->B1N_EST) | |
B1N_CODREF | 003 | iif(alltrim(BK6->BK6_MUNCR) <> "", BK6->BK6_MUNCR, M->B1N_CODMUN) | B1N_CODMUN | P | S | BK6 | 4 | xFilial("BK6") + M->B1N_CODREF | |
B1N_CODREF | 004 | iif(alltrim(M->B1N_CODMUN) <> "", BID->BID_DESCRI, B1N->B1N_DESMUN) | B1N_DESMUN | P | S | BID | 1 | xFilial("BID") + M->B1N_CODMUN | |