Gatilhos(SX7) no Campo: EWH_CODSRV |
X7_CAMPO | X7_SEQUENC | X7_REGRA | X7_CDOMIN | X7_TIPO | X7_SEEK | X7_ALIAS | X7_ORDEM | X7_CHAVE | X7_CONDIC |
EWH_CODSRV | 001 | EWD->EWD_DESSRV | EWH_DESSRV | P | s | EWD | 1 | AM103_Retor() | |
EWH_CODSRV | 002 | EWD->EWD_CDTINI | EWH_CDTINI | P | s | EWD | 1 | AM103_Retor() | |
EWH_CODSRV | 003 | EWD->EWD_CDTFIM | EWH_CDTFIM | P | s | EWD | 1 | AM103_Retor() | |
EWH_CODSRV | 004 | EWD->EWD_CODPRC | EWH_CODPRC | P | s | EWD | 1 | AM103_Retor() | |
EWH_CODSRV | 005 | EW8->EW8_DESPRC | EWH_DESPRC | P | s | EW8 | 1 | xFilial('EW8')+Posicione('EWD',1,AM103_Retor(),'EWD_CODPRC') | |
EWH_CODSRV | 006 | U_AM103PRU() | EWH_PRCUNI | P | n | | 0 | | |
EWH_CODSRV | 007 | iif(!Empty(EWD->EWD_CDTPRV),&(EWD->EWD_CDTPRV),ctod('//')) | EWH_PRVFIM | P | n | | 0 | | |
EWH_CODSRV | 008 | IIF(AM103VADATE('DIAS')<1,1,AM103VADATE('DIAS')) | EWH_DIAS | P | s | EWH | 1 | AM103_Retor() | |
EWH_CODSRV | 009 | EWH->EWH_PRCUNI/(1-(EWH->EWH_ALISS)/100) | EWH_PRCTOT | P | s | EWH | 1 | AM103_Retor() | |
EWH_CODSRV | 010 | IIF(AM103CALCGAT('PER')<1,1,AM103CALCGAT('PER')) | EWH_QTDPER | P | s | EWH | 1 | AM103_Retor() | RETORNO('QTD') |
EWH_CODSRV | 011 | AM103VLRTOT() | EWH_VL_TOT | P | s | EWH | 1 | AM103_Retor() | RETORNO('VLTOT') |
EWH_CODSRV | 012 | IIF(AM103CALCGAT(VLPRV)<0,0,AM103CALCGAT(VLPRV)) | EWH_VL_PRV | P | n | | 0 | | RETORNO('VLPRV') |
EWH_CODSRV | 013 | iif(!Empty(EWD->EWD_CDTINI),&(EWD->EWD_CDTINI),ctod('//')) | EWH_DT_INI | P | n | | 0 | | |
EWH_CODSRV | 014 | iif(!Empty(EWD->EWD_CDTPRV),&(EWD->EWD_CDTPRV),ctod('//')) | EWH_CDTPRV | P | n | | 0 | | |
EWH_CODSRV | 015 | iif(!Empty(EWD->EWD_CDTFIM),&(EWD->EWD_CDTFIM),ctod('//')) | EWH_DT_FIM | P | n | | 0 | | |
EWH_CODSRV | 016 | iif(!Empty(EW8->EW8_FORMUL),&(EW8->EW8_FORMUL),0) | EWH_QTD | P | n | | 0 | | |