Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012424Openbravo ERP03. Procurement managementpublic2010-02-23 18:312010-05-18 12:12
networkb 
harikrishnan 
highminoralways
closedfixed 
5
2.50MP11 
2.50MP172.50MP15 
Core
No
0012424: Link to Sales Order does not work in Pending Good Receipts
This error appears when a new purchase order is created:

missing ) after argument list
blurGrid()windowKeyboard.js (línea 90)
cursorFocus(span, "onmousedown")windowKeyboard.js (línea 13)
mouseDownLogic(mousedown clientX=151, clientY=267, span)windowKeyboard.js (línea 11)
anonymous()dojo.js (línea 2687)
anonymous()dojo.js (línea 2578)
[Break on this error] submitCommandFormParameter('DIRECT', doc....html', null, false, true);return false;
Go to Purchase Management > Transactions > Purchase Order.
Create a new register in organization A.
Select a BP (IE McGiver).
Go to Line, tab.
Select Hat product.
Go back to Header.
Process it.
Go to Purchase Management > Transactions > Pending Good Receipts.
Press Search.
Try to go to created sales order.
No tags attached.
Issue History
2010-02-23 18:31networkbNew Issue
2010-02-23 18:31networkbAssigned To => adrianromero
2010-02-24 10:50adrianromeroNote Added: 0024770
2010-02-24 10:50adrianromeroStatusnew => scheduled
2010-03-08 16:05jpabloaeTarget Version2.50MP14 => 2.50MP15
2010-04-07 10:05harikrishnanAssigned Toadrianromero => harikrishnan
2010-04-07 10:07hgbotCheckin
2010-04-07 10:07hgbotNote Added: 0025925
2010-04-07 10:07hgbotStatusscheduled => resolved
2010-04-07 10:07hgbotResolutionopen => fixed
2010-04-07 10:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/96f0b262e18f12d08d53d7c7a8e8c6ad4874ffa2 [^]
2010-04-13 10:06psarobeNote Added: 0026092
2010-04-13 10:06psarobeStatusresolved => closed
2010-04-13 10:06psarobeFixed in Version => 2.50MP15
2010-04-14 00:00anonymoussf_bug_id0 => 2986795
2010-04-19 21:12hudsonbotCheckin
2010-04-19 21:12hudsonbotNote Added: 0026427
2010-05-18 12:12gorka_gilTarget Version2.50MP15 => 2.50MP17

Notes
(0024770)
adrianromero   
2010-02-24 10:50   
The problem is that for new created orders the id of the order is an UUID not a numeric value and for that reason the javascript link generated fails:

submitCommandFormParameter('DIRECT', document.frmMain.inpcOrderId, E584D2E69E864D5992AB41B8547DA8F4, ...

The Id has to be enclosed between single quotes.
(0025925)
hgbot   
2010-04-07 10:07   
Repository: erp/devel/pi
Changeset: 96f0b262e18f12d08d53d7c7a8e8c6ad4874ffa2
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Wed Apr 07 13:48:12 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/96f0b262e18f12d08d53d7c7a8e8c6ad4874ffa2 [^]

Fixes Issue 12424: Link to Sales Order does not work in Pending Good Receipts.

---
M src/org/openbravo/erpCommon/ad_forms/MaterialReceiptPending.html
---
(0026092)
psarobe   
2010-04-13 10:06   
Tested working fine
(0026427)
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/96f0b262e18f [^]
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 [^]