Consulta Padrao: NG8 - O.S



Consulta Padrao(SXB): NG8 - O.S
XB_ALIASXB_TIPOXB_SEQXB_COLUNAXB_DESCRIXB_CONTEM
NG8101DBO.SSTJ
NG820101Ordem
NG820203Plano
NG840101OrdemTJ_ORDEM
NG840102PlanoTJ_PLANO
NG840103ServicoTJ_SERVICO
NG840204PlanoTJ_PLANO
NG840205OrdemTJ_ORDEM
NG840206ServicoTJ_SERVICO
NG8501STJ->TJ_ORDEM
NG8601STJ->TJ_SITUACA == 'L' .And. STJ->TJ_TERMINO == 'S' .And. AllTrim(STJ->TJ_SERVICO) != cSeRefor .And. AllTrim(STJ->TJ_SERVICO) != cSerCons