Gatilhos(SX7) no Campo: EEC_IMLOJA |
X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC |
EEC_IMLOJA | 001 | SA1->A1_NOME | EEC_IMPODE | P | S | SA1 | 1 | XFILIAL("SA1")+M->EEC_IMPORT+M->EEC_IMLOJA | |
EEC_IMLOJA | 002 | IF(EMPTY(M->EEC_PAISET),SA1->A1_PAIS,M->EEC_PAISET) | EEC_PAISET | P | N | | 0 | | |
EEC_IMLOJA | 003 | AE100Import() | EEC_VALCOM | P | N | | 0 | | |
EEC_IMLOJA | 004 | IF(AE100CRIT("EEC_IMPORT",.F.),M->EEC_IMPORT,M->EEC_IMPORT) | EEC_IMPORT | P | N | | 0 | | |
EEC_IMLOJA | 005 | EECMEND("SA1",1,M->EEC_IMPORT+M->EEC_IMLOJA,.T.,AvSx3("EEC_ENDIMP",3),1) | EEC_ENDIMP | P | N | | 0 | | |
EEC_IMLOJA | 006 | EECMEND("SA1",1,M->EEC_IMPORT+M->EEC_IMLOJA,.T.,AvSx3("EEC_END2IM",3),2) | EEC_END2IM | P | N | | 0 | | |
EEC_IMLOJA | 007 | POSICIONE("SYA",1,xFilial("SYA")+SA1->A1_PAIS,"YA_IDIOMA") | EEC_IDIOMA | P | N | | 0 | | !Empty(SA1->A1_PAIS) |