Gatilhos no Campo: EWH_CODSRV



Gatilhos(SX7) no Campo: EWH_CODSRV
X7_CAMPOX7_SEQUENCX7_REGRAX7_CDOMINX7_TIPOX7_SEEKX7_ALIASX7_ORDEMX7_CHAVEX7_CONDIC
EWH_CODSRV001EWD->EWD_DESSRVEWH_DESSRVPsEWD1AM103_Retor()
EWH_CODSRV002EWD->EWD_CDTINIEWH_CDTINIPsEWD1AM103_Retor()
EWH_CODSRV003EWD->EWD_CDTFIMEWH_CDTFIMPsEWD1AM103_Retor()
EWH_CODSRV004EWD->EWD_CODPRCEWH_CODPRCPsEWD1AM103_Retor()
EWH_CODSRV005EW8->EW8_DESPRCEWH_DESPRCPsEW81xFilial('EW8')+Posicione('EWD',1,AM103_Retor(),'EWD_CODPRC')
EWH_CODSRV006U_AM103PRU()EWH_PRCUNIPn0
EWH_CODSRV007iif(!Empty(EWD->EWD_CDTPRV),&(EWD->EWD_CDTPRV),ctod('//'))EWH_PRVFIMPn0
EWH_CODSRV008IIF(AM103VADATE('DIAS')<1,1,AM103VADATE('DIAS'))EWH_DIASPsEWH1AM103_Retor()
EWH_CODSRV009EWH->EWH_PRCUNI/(1-(EWH->EWH_ALISS)/100)EWH_PRCTOTPsEWH1AM103_Retor()
EWH_CODSRV010IIF(AM103CALCGAT('PER')<1,1,AM103CALCGAT('PER'))EWH_QTDPERPsEWH1AM103_Retor()RETORNO('QTD')
EWH_CODSRV011AM103VLRTOT()EWH_VL_TOTPsEWH1AM103_Retor()RETORNO('VLTOT')
EWH_CODSRV012IIF(AM103CALCGAT(VLPRV)<0,0,AM103CALCGAT(VLPRV))EWH_VL_PRVPn0RETORNO('VLPRV')
EWH_CODSRV013iif(!Empty(EWD->EWD_CDTINI),&(EWD->EWD_CDTINI),ctod('//'))EWH_DT_INIPn0
EWH_CODSRV014iif(!Empty(EWD->EWD_CDTPRV),&(EWD->EWD_CDTPRV),ctod('//'))EWH_CDTPRVPn0
EWH_CODSRV015iif(!Empty(EWD->EWD_CDTFIM),&(EWD->EWD_CDTFIM),ctod('//'))EWH_DT_FIMPn0
EWH_CODSRV016iif(!Empty(EW8->EW8_FORMUL),&(EW8->EW8_FORMUL),0)EWH_QTDPn0