Consulta Padrao: GQWGIC - Req. x Bilhetes



Consulta Padrao(SXB): GQWGIC - Req. x Bilhetes
XB_ALIASXB_TIPOXB_SEQXB_COLUNAXB_DESCRIXB_CONTEM
GQWGIC101DBReq. x BilhetesGIC
GQWGIC20105Tipo + Cod.Linha + D
GQWGIC40101CódigoGIC_CODIGO
GQWGIC40102Núm. BilheteGIC_BILHET
GQWGIC40103TipoGIC_TIPO
GQWGIC40104StatusGIC_STATUS
GQWGIC40105OrigemGIC_ORIGEM
GQWGIC40106AgênciaGIC_AGENCI
GQWGIC40107Descr. AgênciaPosicione('GI6',1,XFilial('GI6')+GIC_AGENCI,'GI6_DESCRI')
GQWGIC40108Data VendaGIC_DTVEND
GQWGIC40109Valor TotalGIC_VALTOT
GQWGIC40110CCFGIC_CCF
GQWGIC501GIC_CODIGO
GQWGIC601GIC_AGENCI == M->GQW_CODAGE .AND. GIC_STATUS = 'V' .AND. Empty(GIC_CODREQ)