Openbravo Issue Tracking System - Modules
View Issue Details
0026313ModulesService Contract Managementpublic2014-04-17 07:222014-04-29 17:08
sjkumar 
naiaramartinez 
normalminoralways
closedfixed 
5
 
 
vmromanos
0026313: Service Contract not populating UOM code in the Metered Service tab
UOM is not defaulting from the product in the Metered Service tab.
1. Setup Product with Basket (parent and child product) in the product window.
2. Setup Pricing for the Basket Products in the Price List Versions.
3. Create and Save a new service contract using parent product.
'Complete' the contract to change the status to 'Active' and generate the invoice plan.
4. Now go to the Metered Service tab and enter a line manually. Enter Start Date, End Date and Product (Choose the product that is in the Basket in step 1).
5. UOM code is not defaulting from the product. I suspect that due to this incorrect UOM, metered service record is not being picked for processing.
7. Expected result should be to default the UOM code from the product that is selected in the product field in

See the attached screenshots for this issues.
No tags attached.
docx Incorrect UOM Code in Metered Services.docx (174,788) 2014-04-17 07:22
https://issues.openbravo.com/file_download.php?file_id=6859&type=bug
Issue History
2014-04-17 07:22sjkumarNew Issue
2014-04-17 07:22sjkumarAssigned To => vmromanos
2014-04-17 07:22sjkumarFile Added: Incorrect UOM Code in Metered Services.docx
2014-04-22 15:51naiaramartinezAssigned Tovmromanos => naiaramartinez
2014-04-22 15:51naiaramartinezStatusnew => scheduled
2014-04-23 16:55hgbotCheckin
2014-04-23 16:55hgbotNote Added: 0066560
2014-04-23 16:55hgbotStatusscheduled => resolved
2014-04-23 16:55hgbotResolutionopen => fixed
2014-04-23 16:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/e83e6da2b5dac23cfafd1398db292943951a5596 [^]
2014-04-29 17:05hgbotCheckin
2014-04-29 17:05hgbotNote Added: 0066684
2014-04-29 17:06vmromanosReview Assigned To => vmromanos
2014-04-29 17:06vmromanosStatusresolved => closed
2014-04-29 17:08hgbotCheckin
2014-04-29 17:08hgbotNote Added: 0066685
2014-04-29 17:08vmromanosNote Added: 0066686

Notes
(0066560)
hgbot   
2014-04-23 16:55   
Repository: erp/pmods/org.openbravo.contract.services
Changeset: e83e6da2b5dac23cfafd1398db292943951a5596
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Tue Apr 22 15:40:53 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/e83e6da2b5dac23cfafd1398db292943951a5596 [^]

Fixed issue 26313: Callout to populate default UOM in MeteredService

---
M src-db/database/sourcedata/AD_CALLOUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT.xml
M src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
A src/org/openbravo/contract/services/callout/SE_DefaultUOM.java
---
(0066684)
hgbot   
2014-04-29 17:05   
Repository: erp/pmods/org.openbravo.contract.services
Changeset: ba31658a8a5916f096927fc8cb44038b76941cbd
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Apr 29 17:05:22 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/ba31658a8a5916f096927fc8cb44038b76941cbd [^]

Issue 26313: Forced admin mode in callout

---
M src/org/openbravo/contract/services/callout/SE_DefaultUOM.java
---
(0066685)
hgbot   
2014-04-29 17:08   
Repository: erp/pmods/org.openbravo.contract.services
Changeset: ae6821b15e4706fa7d1347c8b5183aa615e03e47
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Apr 29 17:08:03 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.contract.services/rev/ae6821b15e4706fa7d1347c8b5183aa615e03e47 [^]

Issue 26313: Use IsIDFilter.instance for getting m_product_id

---
M src/org/openbravo/contract/services/callout/SE_DefaultUOM.java
---
(0066686)
vmromanos   
2014-04-29 17:08   
Code review + testing OK