Consulta Padrao: NGTQ5 - Ocorrencias Relac.



Consulta Padrao(SXB): NGTQ5 - Ocorrencias Relac.
XB_ALIASXB_TIPOXB_SEQXB_COLUNAXB_DESCRIXB_CONTEM
NGTQ5101DBOcorrencias Relac.TQ5
NGTQ520102Codigo
NGTQ540101CodigoTQ5_CODOCR
NGTQ540102NomeIf(ST8->(dbSeek(TQ5->TQ5_FILIAL+TQ5->TQ5_CODOCR)),ST8->T8_NOME,Space(20))
NGTQ540103TipoTQ5_TIPOR
NGTQ5501TQ5->TQ5_CODOCR
NGTQ5601TQ5->TQ5_CODOCO = cCODOCOR .And. cTIPOC == TQ5->TQ5_TIPO .AND. MNT125VOC()