Skip to Content
author's profile photo Former Member
Former Member

Consecutivos de anulación

Buenos días,


Necesito generar un informe que relacione los consecutivos de anulación respectiva de cada recibo de caja o comprobante de egreso.


Agradezco la colaboración.



Saludos

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 11, 2015 at 03:46 PM

    Lo he solucionado, lo dejo por si a alguien le sirve la consulta:

    select t0.CardCode [Código], t0.CardName [Nombre], t0.PayToCode [Pagado a], t0.DocNum [Numero de pago], t1.DocNum [Factura Prov.],

    t1.DocTotal [Total Factura],t0.CheckSum [Total Pagado], t0.DocDate [Fecha Contabi.], t0.TransId [Registro en el diario]

    from OVPM T0

    inner join OPCH T1 on t0.CardCode = t1.CardCode and t0.DocNum = t1.ReceiptNum

    where (t0.DocDate between {?Fecha Inicial} and {?Fecha Final});

    Los parametros están pedidos y codificados desde Crystal Report.

    Saludos

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.