Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0006866 | Openbravo ERP | 07. Sales management | public | 2009-01-13 13:17 | 2009-02-23 11:56 | ||||||||||||||
Reporter | networkb | ||||||||||||||||||
Assigned To | gorkaion | ||||||||||||||||||
Priority | immediate | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | 2.40 | ||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0006866: Generate invoices process doesn't work for orders with "Customer Schedule After Delivery" invoice terms | ||||||||||||||||||
Description | The automatic invoicing process (Sales Management > Transactions > Generate Invoices) does not invoice the orders that have been shipped in a single goods shipment. | ||||||||||||||||||
Steps To Reproduce | 1. Sales Management||Transactions||Sales Order --> create 2 orders with transaction document= standard order order date y scheduled delivery date= 13/12/2008 bp: sailor int invoice terms: customer schedule after delivery and at least one line and COMPLETE. (No. 50041 y 50042 in tecnicia14) 2. Sales Management||Transactions||Goods Shipment--> create 1 shipment with bp: sailor int create lines from the previous orders and COMPLETE. (No. 500026) 3. Run Generate Invoices Process choosing just organization. It creates 0 invoices. | ||||||||||||||||||
Proposed Solution | The error is in the C_INVOICE_CREATE process in the SELECT of line 602. The JOIN "sh.C_Order_ID=o.C_Order_ID" should be replaced by "ol.C_Order_ID=o.C_Order_ID" as in the case stated before, the field C_ORDER_ID in M_INOUT is null as there are lines from different orders. | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | comsup_sprint4 | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2009-01-13 13:17 | networkb | New Issue | |||||||||||||||||
2009-01-13 13:17 | networkb | Assigned To | => rafaroda | ||||||||||||||||
2009-01-13 13:17 | networkb | sf_bug_id | 0 => 2504422 | ||||||||||||||||
2009-01-13 13:17 | networkb | Regression testing | => No | ||||||||||||||||
2009-01-13 16:10 | networkb | version | => 2.40 | ||||||||||||||||
2009-01-13 16:32 | psarobe | Severity | minor => major | ||||||||||||||||
2009-01-13 16:33 | psarobe | Status | new => scheduled | ||||||||||||||||
2009-01-13 16:33 | psarobe | fix_in_branch | => trunk | ||||||||||||||||
2009-01-14 11:24 | rafaroda | Assigned To | rafaroda => gorkaion | ||||||||||||||||
2009-01-14 19:24 | gorkaion | Status | scheduled => resolved | ||||||||||||||||
2009-01-14 19:24 | gorkaion | svn_revision | => 11894 | ||||||||||||||||
2009-01-14 19:24 | gorkaion | Resolution | open => fixed | ||||||||||||||||
2009-01-14 19:24 | gorkaion | Note Added: 0012191 | |||||||||||||||||
2009-01-23 11:32 | gorkaion | Tag Attached: comsup_sprint4 | |||||||||||||||||
2009-02-20 13:52 | sureshbabu | Status | resolved => new | ||||||||||||||||
2009-02-20 13:52 | sureshbabu | Resolution | fixed => open | ||||||||||||||||
2009-02-20 13:52 | sureshbabu | Note Added: 0013838 | |||||||||||||||||
2009-02-20 17:53 | gorkaion | Note Added: 0013865 | |||||||||||||||||
2009-02-20 18:45 | gorkaion | Note Added: 0013870 | |||||||||||||||||
2009-02-20 18:45 | gorkaion | Status | new => feedback | ||||||||||||||||
2009-02-23 11:56 | psarobe | Status | feedback => scheduled | ||||||||||||||||
2009-02-23 11:56 | psarobe | Status | scheduled => resolved | ||||||||||||||||
2009-02-23 11:56 | psarobe | Resolution | open => fixed | ||||||||||||||||
2009-02-23 11:56 | psarobe | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|