Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013379Openbravo ERP03. Procurement managementpublic2010-05-19 13:432010-06-16 00:00
networkb 
adrianromero 
normalminoralways
closedfixed 
5
2.50MP17 
2.50MP19 
Core
No
0013379: Order UOM is not copied from Requisition lines to Purchase Order lines
Order UOM is not copied from Requisition lines to Purchase Order lines when the order is generated by 'Requisition to order' process.
Moreover, in 'Requisition to order' only Quantity in main UOM is shown (quantity Order is NOT shown) and only quantities appear, the user is not informed about the units of the product.
1.Create a new Unit of Measure called ‘Caja de 12’. In tab Conversion, defined a new record with UOM=Caja de 12, To UOM=Unit y Multiple Rate by=12.
2.Look for product Grand beer. In tab UOM, defined a new record with UOM=Caja de 12.
3.Create a new Requisition Header with Bussines Partner=McGiver Supplies. Create a Requisition line with Order Quantity=5 and Ordern UOM=Caja de 12.
4.Go to Requisition to Order and generate an order from requisition.
***Only Quantity in main UOM is shown here. Quantity Order is NOT shown.
***Only quantities appear, user is not informed about the unit of the product or if any order unit has been used in requisition.
5.Look for the order what has been created. In its lines Order UOM is null, that’s wrong
***Order UOM has not been copied from Requisition
No tags attached.
Issue History
2010-05-19 13:43networkbNew Issue
2010-05-19 13:43networkbAssigned To => adrianromero
2010-05-19 13:48adrianromeroStatusnew => scheduled
2010-05-19 13:48adrianromerofix_in_branch => pi
2010-06-14 08:23hgbotCheckin
2010-06-14 08:23hgbotNote Added: 0028341
2010-06-14 08:23hgbotStatusscheduled => resolved
2010-06-14 08:23hgbotResolutionopen => fixed
2010-06-14 08:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/c899f464edacc509b94ccec429f8f456a3838583 [^]
2010-06-14 08:40sivaramanNote Added: 0028343
2010-06-14 10:02hgbotCheckin
2010-06-14 10:02hgbotNote Added: 0028347
2010-06-14 10:02hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/c899f464edacc509b94ccec429f8f456a3838583 [^] => http://code.openbravo.com/erp/devel/pi/rev/44611cea1f67cb95dd4e4080606f626d88714867 [^]
2010-06-14 17:41hudsonbotCheckin
2010-06-14 17:41hudsonbotNote Added: 0028384
2010-06-14 17:41hudsonbotCheckin
2010-06-14 17:41hudsonbotNote Added: 0028386
2010-06-14 19:54hudsonbotCheckin
2010-06-14 19:54hudsonbotNote Added: 0028394
2010-06-14 19:54hudsonbotCheckin
2010-06-14 19:54hudsonbotNote Added: 0028396
2010-06-15 08:17arunkumarNote Added: 0028427
2010-06-15 08:17arunkumarStatusresolved => closed
2010-06-16 00:00anonymoussf_bug_id0 => 3016766

Notes
(0028341)
hgbot   
2010-06-14 08:23   
Repository: erp/devel/pi
Changeset: c899f464edacc509b94ccec429f8f456a3838583
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Mon Jun 14 11:52:29 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/c899f464edacc509b94ccec429f8f456a3838583 [^]

Fixes issue 13379: Order UOM is not copied from Requisition lines to Purchase Order lines

The files have been modified in oder to copy 'Order UOM' and 'Order Quantity' from Requisition and also three more new fields have been added in 'Requisition to Order' window grids. Corresponding fields are added in selectSelected, selectLines and insertCOrderline sqlmethods to fetch / insert values.

---
M src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder.html
M src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder.java
M src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder.xml
M src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder_data.xsql
---
(0028343)
sivaraman   
2010-06-14 08:40   
Steps to test:

1. Log on to Openbravo with 'Openbravo Admin' role
2. Go to Master Data Management || Product Setup || Unit of Measure || Unit of Measure
3. Create a new record with the following data
    EDI Code : Ca
    Symbol : Caj
    Name : Caja de 12
4. In tab Conversion, define new record with UOM=Caja de 12, To UOM=Unit, Active=Yes and Multiple Rate by=12
5. Go to Master Data Management || Product || Product
6. Look for product Grand beer. In tab UOM, define new record with UOM=Caja de 12.
7. Go to Procurement Management || Transactions || Requisition
8. Create new record
    Business Partner : McGiver Supplies
9. Go to Procurement Management || Transactions || Requisition || Header >> Lines
10. Create new record
    Product : Grand beer
    Need by date : 20-07-2010
    Order Quantity : 10
    Order UOM : Caja de 12
    Quantity : 120
    UOM : Unit
11. Save & Complete
12. Go to Procurement Management || Transactions || Requisition To Order || Requisition To Order
13. Verify if 'Unit', 'Secondary Quantity' and 'Secondary Unit' fields appears in both the grids.
14. Select any record and create purchase order
15. Go to Procurement Management || Transactions || Purchase Order
16. Select the above created purchase order
17. Verify if Order Quantity and Order UOM are copied properly
(0028347)
hgbot   
2010-06-14 10:02   
Repository: erp/devel/pi
Changeset: 44611cea1f67cb95dd4e4080606f626d88714867
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Mon Jun 14 13:31:44 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/44611cea1f67cb95dd4e4080606f626d88714867 [^]

Fixes issue 13379: Order UOM is not copied from Requisition lines to Purchase Order lines

---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
---
(0028384)
hudsonbot   
2010-06-14 17:41   
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/c899f464edac [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/90ec7bc3a271 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17593.obx [^]
(0028386)
hudsonbot   
2010-06-14 17:41   
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/44611cea1f67 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/90ec7bc3a271 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17593.obx [^]
(0028394)
hudsonbot   
2010-06-14 19:54   
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/c899f464edac [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/90ec7bc3a271 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17593.obx [^]
(0028396)
hudsonbot   
2010-06-14 19:54   
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/44611cea1f67 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/90ec7bc3a271 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17593.obx [^]
(0028427)
arunkumar   
2010-06-15 08:17   
Tested working fine