Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000587Openbravo ERP08. Project and service managementpublic2008-06-10 10:492008-12-02 13:02
rafaroda 
rafaroda 
normalminoralways
closedfixed 
20Ubuntu 7.10
pi 
2.402.40alpha-r3 
Core
No
0000587: Planned Purchase Price and Planned Margin in Service Project lines
Planned Purchase Price and Planned Margin fields in Service Project Lines tab should be auto-calculated based on Planned Price field.
1) Go to 'Project & Service Management || Transactions || Service Project'
2) Go to 'Project Line' tab.
3) Fill 'Planned Price' (PP) field.
4a) Fill 'Planned Purchase Price' (PPP) field: 'Planned Margin' (PM) should be calculated as (PP - PPP)*100/PP
4b) Fill 'Planned Margin' (PM) field: 'Planned Purchase Price' (PPP) should be calculated as PP/(1-PM/100)
No tags attached.
related to defect 00041002.40 closed rafaroda Standard Precision issue in SL_Project_Plannned callout 
Issue History
2008-06-10 10:49rafarodaNew Issue
2008-06-10 10:49rafarodaAssigned To => rafaroda
2008-06-10 10:50rafarodaStatusnew => scheduled
2008-06-10 17:07rafarodaNote Added: 0000481
2008-06-10 17:17svnbotCheckin
2008-06-10 17:17svnbotNote Added: 0000483
2008-06-10 17:17svnbotStatusscheduled => resolved
2008-06-10 17:17svnbotResolutionopen => fixed
2008-06-10 17:17svnbotsvn_revision => 4930
2008-06-11 12:46cromeroTarget Version => 2.40
2008-06-11 14:33cromeroFixed in Version => 2.40alpha r3
2008-06-12 16:18svnbotCheckin
2008-06-12 16:18svnbotNote Added: 0007680
2008-06-12 16:18svnbotsvn_revision4930 => 5013
2008-06-20 12:53rafarodaRelationship addedrelated to 0004100
2008-11-06 09:12psarobeRegression testing => No
2008-11-06 09:12psarobeStatusresolved => closed
2008-12-02 13:02jaimetorresf_bug_id0 => 2377053

Notes
(0000481)
rafaroda   
2008-06-10 17:07   
Correction, step 4b) should be:
4b) Fill 'Planned Margin' (PM) field: 'Planned Purchase Price' (PPP) should be calculated as PP*(1-PM/100)
(0000483)
svnbot   
2008-06-10 17:17   
Repository: openbravo
Revision: 4930
Author: rafaroda
Date: 2008-06-10 17:17:00 +0200 (Tue, 10 Jun 2008)

Fixes bug 0000587 Modified 'SL_Project_Planned' callout in order to calculate:
* Planned Margin based on Planned Price and Planned Purchase Price
* Planned Purchase Price based on Planned Price and Planned Margin

---
U trunk/src/org/openbravo/erpCommon/ad_callouts/SL_Project_Planned.java
U trunk/src-db/database/sourcedata/AD_COLUMN.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=4930&sc=1 [^]
(0007680)
svnbot   
2008-06-12 16:18   
Repository: openbravo
Revision: 5013
Author: rafaroda
Date: 2008-06-12 16:18:11 +0200 (Thu, 12 Jun 2008)

Fixes bug 0000587 Modified 'SL_Project_Planned' callout in order it does not crash when dividing by zero.

---
U trunk/src/org/openbravo/erpCommon/ad_callouts/SL_Project_Planned.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=5013&sc=1 [^]