Gatilhos(SX7) no Campo: BA3_CODCLI |
X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC |
BA3_CODCLI | 001 | iif(Empty(M->BA3_CODCLI),"",SA1->A1_NOME) | BA3_NOMCLI | P | N | | 0 | | |
BA3_CODCLI | 002 | IF(M->BA3_ENDCOB=="1" .AND. !EMPTY(M->BA3_CODCLI),Pl260CodMun("","",3),Space(Len(BA3->BA3_END))) | BA3_END | P | N | | 0 | | |
BA3_CODCLI | 003 | IF(M->BA3_ENDCOB=="1" .AND. !EMPTY(M->BA3_CODCLI),SA1->A1_BAIRRO,Space(Len(BA3->BA3_BAIRRO))) | BA3_BAIRRO | P | N | | 0 | | |
BA3_CODCLI | 004 | IF(M->BA3_ENDCOB=="1" .AND. !EMPTY(M->BA3_CODCLI),SA1->A1_MUN,Space(Len(BA3->BA3_MUN))) | BA3_MUN | P | N | | 0 | | |
BA3_CODCLI | 005 | IIF(M->BA3_ENDCOB=="1" .AND. !EMPTY(M->BA3_CODCLI),SA1->A1_EST,Space(Len(BA3->BA3_ESTADO))) | BA3_ESTADO | P | N | | 0 | | |
BA3_CODCLI | 006 | IIF(M->BA3_ENDCOB=="1" .AND. !EMPTY(M->BA3_CODCLI),SA1->A1_CEP,Space(Len(BA3->BA3_CEP))) | BA3_CEP | P | N | | 0 | | |
BA3_CODCLI | 007 | IIF(M->BA3_ENDCOB=="1" .AND. !EMPTY(M->BA3_CODCLI),SA1->A1_COMPLEM,Space(Len(BA3->BA3_COMPLEM))) | BA3_COMPLE | P | N | | 0 | | |
BA3_CODCLI | 008 | IIF(M->BA3_ENDCOB=="1",Pl260CodMun(SA1->A1_COD_MUN,M->BA3_CODCLI,1),Space(Len(BA3->BA3_NUMERO))) | BA3_NUMERO | P | N | | 0 | | |
BA3_CODCLI | 009 | IIF(M->BA3_ENDCOB=="1",Pl260CodMun(SA1->A1_COD_MUN,M->BA3_CODCLI,2),Space(Len(BA3->BA3_CODMUN))) | BA3_CODMUN | P | N | | 0 | | |