Gatilhos(SX7) no Campo: B45_CODPRO |
X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC |
B45_CODPRO | 001 | If(BR8->BR8_TIPEVE$"3,2","1","0") | B45_PROCCI | P | S | BR8 | 1 | xFilial("BR8") + M->B45_CODPAD + M->B45_CODPRO | |
B45_CODPRO | 002 | If(EMPTY(BR8->BR8_PARTIC),"0",BR8->BR8_PARTIC) | B45_PARTIC | P | N | | 0 | | |
B45_CODPRO | 003 | If(Empty(BR8->BR8_RESTIR),'0',BR8->BR8_RESTIR) | B45_RESTIR | P | N | | 0 | | |
B45_CODPRO | 004 | B1N->B1N_EST | B45_EST | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | |
B45_CODPRO | 005 | B1N->B1N_CODMUN | B45_CODMUN | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | |
B45_CODPRO | 006 | Date() | B45_DATPRO | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | |
B45_CODPRO | 007 | B1N->B1N_SIGLA | B45_SIGLA | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | |
B45_CODPRO | 008 | B1N->B1N_MATRIC | B45_MATRIC | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | |
B45_CODPRO | 009 | BA1->BA1_NOMUSR | B45_NOMEBE | P | S | BA1 | 2 | xFilial("BA1") + M->B45_MATRIC | |
B45_CODPRO | 010 | B1N->B1N_NUMLIB | B45_NUMLIB | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | !EMPTY(M->B44_PROTOC) |
B45_CODPRO | 011 | If(!EMPTY(B1N->B1N_DATPRO),B1N->B1N_DATPRO,B1N->B1N_DATDOC) | B45_DATPRO | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | !EMPTY(M->B44_PROTOC) |
B45_CODPRO | 012 | B1N->B1N_GUIPRI | B45_GUIPRI | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | !EMPTY(M->B44_PROTOC) |
B45_CODPRO | 013 | B1N->B1N_INTDE | B45_INTDE | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | !EMPTY(M->B44_PROTOC) |
B45_CODPRO | 014 | B1N->B1N_INTATE | B45_INTATE | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | !EMPTY(M->B44_PROTOC) |
B45_CODPRO | 015 | B1N->B1N_CODREF | B45_CODREF | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | !EMPTY(M->B44_PROTOC) |
B45_CODPRO | 016 | B1N->B1N_NOMREF | B45_NOMREF | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | !EMPTY(M->B44_PROTOC) |
B45_CODPRO | 017 | B1N->B1N_SEQBE2 | B45_SEQBE2 | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | !EMPTY(M->B44_PROTOC) |
B45_CODPRO | 018 | B1N->B1N_ABATPF | B45_ABATPF | P | S | B1N | 2 | xFilial("B1N") + M->B44_PROTOC + M->B45_SEQB1N | !EMPTY(M->B44_PROTOC) |