Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012845Openbravo ERP03. Procurement managementpublic2010-03-29 20:392010-04-19 21:11
sureshbabu 
harikrishnan 
immediatemajoralways
closedfixed 
5
2.50MP13 
2.50MP14 
Core
No
0012845: User Not able to create purchase order using Copy lines option
Not able to create purchase order using "Copy Lines" option
Prerequisite:

In Format.xml do the below changes
priceRelation and priceEdition are set as 0.0000

After successfully compiling the application,


Navigate to General Setup -> Application -> currency. For Euro Standard precision=2,
Price precision=4, Costing precision=2


Pricelist

Create a pricelist "Purchase" with currency: USD for product : A Raw Material
with List price = Standard Price = Price Limit as 6.7849

Create a business partner

Name: Vendor A,
consumption days:100

And navigate to Vendor/Creditor tab and fill the below details

PO form of payment: wire transfer
PO Payment terms: 30 days, 5
Purchase Pricelist: Purchase

Steps to reproduce the issue:

1) Create and complete a purchase order with below details

BP: Vendor A
Product: Raw Material A
Qty: 12

2) Try to create one more Purchase order for BP:Vendor A using "Copy Lines" option in the header tab

BP: Vendor A
click "Copy Lines" button
select the above created purchase order line item and enter qty as 15 and click 'OK' button

"Line Amount is Not Correct" error message appears








Talk with DAL
Regression
related to defect 0012846 closed adrianromero User Not able to create purchase order using Copy from order option 
related to defect 0012802 closed adrianromero Reactivated sales order cannot be completed, if the order is attached with Discount. 
jpg User Not able to create purchase order using Copy lines option.JPG (109,428) 2010-03-29 20:39
https://issues.openbravo.com/file_download.php?file_id=2395&type=bug
jpg
Issue History
2010-03-29 20:39sureshbabuNew Issue
2010-03-29 20:39sureshbabuAssigned To => adrianromero
2010-03-29 20:39sureshbabuFile Added: User Not able to create purchase order using Copy lines option.JPG
2010-03-29 20:39sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=191#r191
2010-03-30 09:05psarobePriorityhigh => immediate
2010-03-30 09:05psarobeStatusnew => scheduled
2010-03-30 09:05psarobeProposed Solution updated
2010-03-30 13:02psarobeSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=194#r194
2010-03-30 14:36harikrishnanAssigned Toadrianromero => harikrishnan
2010-03-30 14:39hgbotCheckin
2010-03-30 14:39hgbotNote Added: 0025804
2010-03-30 14:39hgbotStatusscheduled => resolved
2010-03-30 14:39hgbotResolutionopen => fixed
2010-03-30 14:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/927ada9dd5b203fb46be9e69a4e7883d81bbb47c [^]
2010-03-30 17:26adrianromeroRelationship addedrelated to 0012846
2010-03-30 17:29adrianromeroRelationship addedrelated to 0012802
2010-03-31 11:41psarobeTag Attached: Regression
2010-03-31 11:47psarobeNote Added: 0025829
2010-03-31 11:47psarobeStatusresolved => closed
2010-03-31 11:47psarobeFixed in Version => 2.50MP14
2010-04-01 00:00anonymoussf_bug_id0 => 2980272
2010-04-06 15:07psarobeversionmain => 2.50MP13
2010-04-19 21:11hudsonbotCheckin
2010-04-19 21:11hudsonbotNote Added: 0026399

Notes
(0025804)
hgbot   
2010-03-30 14:39   
Repository: erp/devel/pi
Changeset: 927ada9dd5b203fb46be9e69a4e7883d81bbb47c
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Tue Mar 30 18:18:10 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/927ada9dd5b203fb46be9e69a4e7883d81bbb47c [^]

Fixes Issue 12845: User Not able to create purchase order using Copy lines option.

---
M src-db/database/model/triggers/C_ORDERLINE_TRG.xml
R src-db/database/model/triggers/C_ORDERLINE_TRG3.xml
---
(0025829)
psarobe   
2010-03-31 11:47   
Tested, working fine for sales orders and purchase orders
(0026399)
hudsonbot   
2010-04-19 21:11   
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/927ada9dd5b2 [^]
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 [^]