FAQ Facture ES: Difference between revisions

m
Import interlang links (links to translated versions of this page in other languages) from origin English page "FAQ_Facture_EN".
mNo edit summary
m (Import interlang links (links to translated versions of this page in other languages) from origin English page "FAQ_Facture_EN".)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- BEGIN interlang links -->
<!-- Do NOT edit this section
    Links below are automatically managed by PolyglotBot
    You can edit links on the English source page : FAQ_Facture_EN -->
[[en:FAQ_Facture_EN]]
[[fr:FAQ_Facture]]
<!-- END interlang links -->
[[Category:FAQ ES]]
[[Category:FAQ ES]]
'''¿Cómo eliminar "facilmente" una factura a cliente "a mano" en la base de datos?'''
'''¿Cómo eliminar "facilmente" una factura a cliente "a mano" en la base de datos?'''


En primer lugar, eliminar los registros que están en llx_facturedet,
En primer lugar, eliminar los registros que están en [[Table llx_facturedet|llx_facturedet]], hay un registro por línea de la factura,
hay un registro por línea de la factura,
y sólo entonces se puede eliminar la factura en [[Table llx_facture|llx_facture]].
y sólo entonces se puede eliminar la factura en llx_facture.
 
Estos son los pasos a seguir para una base de datos MySQL :
 
- recuperar el ID de la factura. Lo puede encontrar en la página de la factura, mirando la dirección en su navegador. Por ejemplo:
 
http://dolibarr.xxxxx.com/compta/facture.php?facid=29 el ID es "29"
 
- conecte a su base de datos (mediante phpMyAdmin o por línea de comandos)
 
 
- Teclee los comandos siguientes, reemplazando INVOICE_ID por el ID recuperado anteriormente:
 
- DELETE FROM llx_facturedet WHERE fk_facture = INVOICE_ID;
 
- DELETE FROM llx_facture WHERE rowid = INVOICE_ID;
 
La factura debería haberse eliminado correctamente.
2,052

edits