2,052
edits
(Created page with 'Category:FAQ ES En primer lugar, eliminar los registros que están en llx_facturedet, hay un registro por línea de la factura, y sólo entonces se puede eliminar la factura...') |
PolyglotBot (talk | contribs) m (Import interlang links (links to translated versions of this page in other languages) from origin English page "FAQ_Facture_EN".) |
||
| (3 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?''' | |||
En primer lugar, eliminar los registros que están en [[Table llx_facturedet|llx_facturedet]], hay un registro por línea de la factura, | |||
y sólo entonces se puede eliminar la factura en [[Table llx_facture|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. | |||
edits