Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000173Openbravo ERP07. Sales managementpublic2008-04-29 17:182009-03-18 11:01
psarobe 
psarobe 
highmajoralways
closedfixed 
5
 
2.40 
No
Core
No
0000173: QA-CLEANUP Copy invoice does not work
The button copy lines does not work

17:11:09 [http-8880-1] ERROR org.openbravo.erpCommon.ad_actionButton.CopyFromInvoiceData - SQL error in query: INSERT INTO C_INVOICELINE (C_InvoiceLine_ID, C_Invoice_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, C_ORDERLINE_ID, M_INOUTLINE_ID, LINE, DESCRIPTION, M_PRODUCT_ID, QTYINVOICED, PRICELIST, PRICEACTUAL, PRICELIMIT, LINENETAMT, C_CHARGE_ID, CHARGEAMT, C_UOM_ID, C_TAX_ID, S_RESOURCEASSIGNMENT_ID, A_ASSET_ID, TAXAMT, M_ATTRIBUTESETINSTANCE_ID, ISDESCRIPTION, QUANTITYORDER, M_PRODUCT_UOM_ID, PRICESTD) SELECT TO_NUMBER(?), TO_NUMBER(?), TO_NUMBER(?), TO_NUMBER(?), 'Y', now(), TO_NUMBER(?), now(), TO_NUMBER(?),'', '', (SELECT COALESCE(MAX(LINE),0)+10 FROM C_InvoiceLine WHERE C_InvoiceLine_ID = to_number(?)), DESCRIPTION, M_PRODUCT_ID, QTYINVOICED, PRICELIST, PRICEACTUAL, PRICELIMIT, LINENETAMT, C_CHARGE_ID, CHARGEAMT, C_UOM_ID, C_TAX_ID, S_RESOURCEASSIGNMENT_ID, A_ASSET_ID, TAXAMT, M_ATTRIBUTESETINSTANCE_ID, ISDESCRIPTION, QUANTITYORDER, M_PRODUCT_UOM_ID, PRICESTD FROM C_INVOICELINE WHERE C_INVOICELINE_ID = to_number(?) Exception:java.sql.SQLException: ORA-00904: "A_ASSET_ID": identificador no vĂ¡lido

17:11:09 [http-8880-1] WARN org.openbravo.erpCommon.ad_actionButton.CopyFromInvoice - Rollback in transaction
17:11:15 [http-8880-1] ERROR org.openbravo.erpCommon.utility.TableSQLData - Parsing failed on orderby clause: C_InvoiceLine.M_Product_Uom_Id ASC, C_InvoiceLine.QuantityOrder ASC, C_InvoiceLine.Line ASC - pos: 34
1. Go to Sales management->Transaction->Sales invoice
2. Click new and save
3. Click button Copy lines
4. Select one invoice and press OK

No message shows up but in the log you can see the error
No tags attached.
Issue History
2008-04-29 17:18psarobeNew Issue
2008-04-29 17:18psarobeAssigned To => psarobe
2008-04-29 17:19psarobeStatusnew => @40@
2008-04-29 17:20psarobeStatus@40@ => scheduled
2008-04-29 17:20psarobeStatusscheduled => resolved
2008-04-29 17:20psarobeFixed in Version => 2.40
2008-04-29 17:20psarobeResolutionopen => fixed
2008-04-29 17:21psarobeStatusresolved => closed
2008-04-29 17:21psarobeNote Added: 0000038
2009-03-18 11:01anonymoussf_bug_id0 => 2691221

Notes
(0000038)
psarobe   
2008-04-29 17:21   
Closed by Psarobe. Bug really fixed