'Caratula
sSqlcmd = "DELETE FROM CARATULA_BULTOS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM CARATULA_BULTOS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM CARATULA_BENEFICIOS_REINTEGROS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM CARATULA_DOCUMENTOS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM CARATULA_GARANTIAS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM CARATULA_INFORMACION_COMPLEMENTARIAS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM CARATULA_INGRESOS_BRUTOS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM CARATULA_LIQUIDACION_ITEM WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM CARATULA_LIQUIDACIONES WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM CARATULA_PAGOS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM CARATULA_TERCEROS WHERE IDN_DESPACHO = '" & sDespacho & "'"


'Items
sSqlcmd = "DELETE FROM ITEMS_ARTICULOS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM ITEMS_BENEFICIOS_REINTEGROS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM ITEMS_CANCELACIONES WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM ITEMS_DOCUMENTOS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM ITEMS_INFORMACION_COMPLEMENTARIAS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM ITEMS_LIQUIDACION_ITEM WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM ITEMS_SUBITEMS WHERE IDN_DESPACHO = '" & sDespacho & "'"


sSqlcmd = "DELETE FROM ITEMS_VENTAJAS WHERE IDN_DESPACHO = '" & sDespacho & "'"


'Caratula_Caratula
sSqlcmd = "DELETE FROM CARATULA_CARATULA WHERE DESPACHO = '" & sDespacho & "'"



