When I run it it appears to hang the server... I am waiting the result since more than 2 hours
Select top 10
T0.CardName as "Nombre Cliente",
T0.LicTradNum as "RUT",
T0.DocNum as "Numero Fact.",
T0.PaidToDate as "Anticipo",
T0.DocDate as "Fecha Emision",
T0.doctotal as "Monto Factura Original",
T3.DocNum as "No. Nota Credito",
T3.DocTotal as "Monto NC",
T0.PaidSum as "Monto Final Factura",
T4.SlpName as "Nombre Vendedor",
T5.firstName as "Nombre Originador",
T5.lastName as "Apellido Originador"
From OINV T0, OCRD T1, ORIN T3, OSLP T4, OHEM T5
Order by T0.DocDate desc