Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012834Openbravo ERP07. Sales managementpublic2010-03-29 13:282010-05-18 12:12
arunkumar 
dalsasua 
urgentmajorhave not tried
closedfixed 
5
2.50MP13 
2.50MP172.50MP15 
Core
No
0012834: Callout for amount calculation does not work if we change the organization
Create and complete sales invoice for org "Pamplona". then change the org to "Chennai". Create a new record in header. Go to lines . Create a new record and select the product. You can see only price details are filled up. The amount and tax are not filled up.

To reproduce the issue the organization of Chenai must not have address
Login as userA/userA
Go to Sales Management -> Transactions -> Sales Invoice.
Create and complete the sales invoice for org "Pamplona".
Now create a new record in Sales invoice -> header for org "Chennai".
Select the business partner
Go to lines
create a new record
Select the product.
Only price details are filled up.

Tax and Line net amount are empty.


The callout for amount calculation did not work properly.

Regression
has duplicate defect 0012885pi closed vmromanos java.lang.ArrayIndexOutOfBoundsException in SL_Invoice_Amt.java. Callout crashes 
Issue History
2010-03-29 13:28arunkumarNew Issue
2010-03-29 13:28arunkumarAssigned To => adrianromero
2010-03-29 13:28arunkumarStatusnew => scheduled
2010-03-29 13:28arunkumarfix_in_branch => pi
2010-03-29 16:32psarobefix_in_branchpi =>
2010-03-29 16:32psarobeDescription Updatedbug_revision_view_page.php?rev_id=184#r184
2010-03-30 11:43psarobeSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=193#r193
2010-03-30 11:44psarobePriorityimmediate => urgent
2010-03-30 11:44psarobeTarget Version => 2.50MP15
2010-04-06 16:40psarobeAssigned Toadrianromero => dalsasua
2010-04-06 16:51hgbotCheckin
2010-04-06 16:51hgbotNote Added: 0025905
2010-04-06 16:51hgbotStatusscheduled => resolved
2010-04-06 16:51hgbotResolutionopen => fixed
2010-04-06 16:51hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b122534760745bf9af82dd4ad58d196d1736529c [^]
2010-04-06 17:07psarobeversionmain => 2.50MP13
2010-04-06 17:07psarobeTag Attached: Regression
2010-04-15 16:54psarobeNote Added: 0026278
2010-04-15 16:54psarobeStatusresolved => closed
2010-04-15 16:54psarobeFixed in Version => 2.50MP15
2010-04-16 00:00anonymoussf_bug_id0 => 2987977
2010-04-19 21:12hudsonbotCheckin
2010-04-19 21:12hudsonbotNote Added: 0026418
2010-05-18 12:12gorka_gilTarget Version2.50MP15 => 2.50MP17
2010-05-26 13:17vmromanosRelationship addedhas duplicate 0012885

Notes
(0025905)
hgbot   
2010-04-06 16:51   
Repository: erp/devel/pi
Changeset: b122534760745bf9af82dd4ad58d196d1736529c
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Apr 06 17:02:24 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b122534760745bf9af82dd4ad58d196d1736529c [^]

Fixes issue 12834: Callout for amount calculation
does not work if we change the organization

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Amt.java
---
(0026278)
psarobe   
2010-04-15 16:54   
Tested working fine
(0026418)
hudsonbot   
2010-04-19 21:12   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/b12253476074 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]