Gatilhos(SX7) no Campo: NPG_CLIDES | |||||||||
X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC |
NPG_CLIDES | 001 | SA1->A1_LOJA | NPG_LOJDES | P | S | SA1 | 1 | xFilial("SA1")+M->(NPG_CLIDESI+IIF(NPG_CLIDES==SA1->A1_COD,SA1->A1_LOJA,"")) | |
NPG_CLIDES | 002 | Posicione( "SA1", 1, xFilial("SA1") + M->NPG_CLIDES + M->NPG_LOJDES, "A1_NREDUZ" ) | NPG_NOMDES | P | N | 0 |