Gatilhos(SX7) no Campo: EEQ_PGT |
X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC |
EEQ_PGT | 001 | BUSCATAXA(M->EEQ_MOEDA,M->EEQ_PGT) | EEQ_TX | P | N | | 0 | | Type("lIsEmb")="L" .And. lIsEmb = .T. |
EEQ_PGT | 002 | BuscaTaxa(Posicione("EXJ",1,xFilial("EXJ")+SA1->A1_COD+SA1->A1_LOJA,"EXJ_MOEDA"),M->EEQ_PGT) | EEQ_TX | P | N | | 0 | | Type("cTipoCad")="C" .AND. cTipoCad="I" |
EEQ_PGT | 003 | BUSCATAXA(EE7->EE7_MOEDA,M->EEQ_PGT) | EEQ_TX | P | N | | 0 | | Type("lIsPed")="L" .AND. lIsPed = .T. |
EEQ_PGT | 004 | M->EEQ_TX*IF(Type('nTotFFC')='N',nTotFFC,M->EEQ_VLFCAM) | EEQ_EQVL | P | N | | 0 | | TYPE("LISEMB")="U" |
EEQ_PGT | 005 | M->EEQ_TX*IF(Type('nTotFFC')='N',nTotFFC,M->EEQ_VLFCAM) | EEQ_EQVL | P | N | | 0 | | TYPE("LISEMB")<>"U" .AND. LISEMB |
EEQ_PGT | 006 | 0 | EEQ_TX | P | N | | 0 | | Empty(M->EEQ_PGT) |
EEQ_PGT | 007 | 0 | EEQ_EQVL | P | N | | 0 | | Empty(M->EEQ_PGT) |