Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0007695 | Openbravo ERP | 03. Procurement management | public | 2009-02-20 03:33 | 2009-04-22 00:00 |
|
Reporter | bennyfake | |
Assigned To | gorkaion | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 10 | OS Version | XP |
Product Version | 2.50alpha-r11 | |
Target Version | | Fixed in Version | 2.50 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0007695: Purchase Order cannot complete and print error. |
Description | After create PO from "Requisition to Order", view Purchase Order but cannot editable. "Copy Line", "Copy from Order" and "Complete" button are blurred, unable to click (please see attachment of screen capture). When I click the print button on the menu bar, it throws ArrayIndexOutOfBound Exception.
This is the one and only one Purchase Order exists on my system.
Exception from TC6.0:
[http-9001-1] ERROR org.openbravo.erpCommon.utility.reporting.printing.PrintOrders - Error captured: java.lang.ArrayIndexOutOfBoundsException: 0
|
Steps To Reproduce | |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | PO_ERROR.PNG (39,498) 2009-02-20 03:33 https://issues.openbravo.com/file_download.php?file_id=877&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2009-02-20 03:33 | bennyfake | New Issue | |
2009-02-20 03:33 | bennyfake | Assigned To | => rafaroda |
2009-02-20 03:33 | bennyfake | File Added: PO_ERROR.PNG | |
2009-02-20 03:38 | bennyfake | Issue Monitored: bennyfake | |
2009-02-24 11:55 | rafaroda | OBNetwork customer | => No |
2009-02-24 11:55 | rafaroda | Note Added: 0013999 | |
2009-02-24 11:55 | rafaroda | Assigned To | rafaroda => gorkaion |
2009-02-24 11:55 | rafaroda | Status | new => feedback |
2009-02-24 13:03 | gorkaion | Note Added: 0014010 | |
2009-02-25 03:11 | bennyfake | Note Added: 0014040 | |
2009-02-27 13:24 | gorkaion | Note Added: 0014154 | |
2009-02-28 03:25 | bennyfake | Note Added: 0014180 | |
2009-02-28 05:43 | bennyfake | Note Edited: 0014180 | |
2009-03-02 07:20 | bennyfake | Note Added: 0014188 | |
2009-03-03 10:12 | rafaroda | Note Added: 0014272 | |
2009-03-03 12:09 | gorkaion | Note Added: 0014288 | |
2009-03-06 08:34 | rafaroda | Priority | normal => high |
2009-03-06 08:34 | rafaroda | Severity | minor => major |
2009-03-06 08:34 | rafaroda | Status | feedback => scheduled |
2009-03-09 17:09 | hgbot | Checkin | |
2009-03-09 17:09 | hgbot | Note Added: 0014529 | |
2009-03-09 17:09 | hgbot | Status | scheduled => resolved |
2009-03-09 17:09 | hgbot | Resolution | open => fixed |
2009-03-09 17:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2c03526a1576bad7a91429cb375d80b4e12d1af4 [^] |
2009-04-21 10:33 | psarobe | Status | resolved => closed |
2009-04-22 00:00 | anonymous | sf_bug_id | 0 => 2777974 |
Notes |
|
|
Gorka Ion,
Could you please determine whether this is a bug or not?
Thank you. |
|
|
|
Hi,
I'd say that it is a problem with the organizations. The order has been created in an organization that the user has no access. So that user with that role can view it but not modify.
We should review that the Purchase Orders are generated in the correct organization. |
|
|
|
Hi,
Additional information:
I created a Client (Client A) with an admin role (ClientAdmin) in the ERP system. I'm using Openbravo (System Admin) change the role to ClientAdmin to produce this problem.
I've checked the ClientAdmin role is granted to access the organization and [grant all] access to every module under [General Setup || Security || Role || Role ]. I verified the access right to [Purchase Order] is [Y] on both [Active] and [Editable Field] under [Window Access] tab.
I hope those information may help. |
|
|
|
Hi benny,
I've tried to reproduce it but I was unable.
I've done an initial client setup without accounting and created a new organization of type Legal Entity without accounting.
I've inserted a product and a vendor with the necessary setup to create a purchase order, locations, pricelist, warehouse, taxes...
I've created a Requisition complete it and generated the purchase order. It is not completed because I don't have a cashbok (I choosed cash on delivery as payment rule). But the Purchase Order is in the organization I created and it is editable.
Can you give me more detailed descriptions to reproduce the error? Otherwise I'd have to close the issue without changes. I'll try again later.
Thanks |
|
|
(0014180)
|
bennyfake
|
2009-02-28 03:25
(edited on: 2009-02-28 05:43) |
|
Hi Gorka,
Thank you for your reply, I found out the problem occur when create organization. The interesting thing is I can select organization in "order requisition" but can't in "purchase order" (the option box is blank).
Here is my procedure.
1. login openbravo
2. create client via "Initial Client Setup" with account file "AccountsSimplifiedUS06v5.csv".
3. Switch the role to client admin.
4. Create Organization via "Initial Organization Setup". "Organization type" is "Organization"
5. "Save" and "Set as Ready"
6. Create "order requisition". (create the compulsory item and select created organization)
7. Generate purchase order "requisition to order"
8. View Purchase Order.
I've tried to create PO simply on "create new record" menu button. The organization option box is blank.
Benny
|
|
|
|
Hi All,
I over-looked organization type. As my organization type is "organization", it can't do any transaction. I can make a purchase order after change the organization type to "legal".
ref: http://wiki.openbravo.com/wiki/ERP/2.50/Configuration_Manual [^]
The following question is, "organization" type could make "order requisition" if it cannot complete the PO?
Benny |
|
|
|
Reminder sent to: gorkaion Gorka Ion,
Could you please make a decision whether this is a defect or not?
Thanks. |
|
|
|
Hi,
Yes it is a defect. It shouldn't be possible to log requisitions in organizations where is not possible to have transactions.
Gorka Ion |
|
|
(0014529)
|
hgbot
|
2009-03-09 17:09
|
|
Repository: erp/devel/pi
Changeset: 2c03526a1576bad7a91429cb375d80b4e12d1af4
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Mar 09 17:08:55 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/2c03526a1576bad7a91429cb375d80b4e12d1af4 [^]
Fixed bug 7695. Changed to 'Transaction' the window type of 'Requisition' and 'Manage Requisitions'.
---
M src-db/database/sourcedata/AD_WINDOW.xml
---
|
|