Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007695
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2009-02-20 03:332009-04-22 00:00
ReporterbennyfakeView Statuspublic 
Assigned Togorkaion 
PriorityhighResolutionfixedFixed in Version2.50
StatusclosedFix in branchFixed in SCM revision2c03526a1576
ProjectionnoneETAnoneTarget Version
OSWindowsDatabasePostgreSQLJava version6
OS VersionXPDatabase version8.3Ant version
Product Version2.50alpha-r11SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007695: Purchase Order cannot complete and print error.

DescriptionAfter 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
TagsNo tags attached.
Attached Filespng file icon PO_ERROR.PNG [^] (39,498 bytes) 2009-02-20 03:33

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0013999)
rafaroda (developer)
2009-02-24 11:55

Gorka Ion,

Could you please determine whether this is a bug or not?

Thank you.
(0014010)
gorkaion (developer)
2009-02-24 13:03

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.
(0014040)
bennyfake (reporter)
2009-02-25 03:11

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.
(0014154)
gorkaion (developer)
2009-02-27 13:24

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 (reporter)
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

(0014188)
bennyfake (reporter)
2009-03-02 07:20

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
(0014272)
rafaroda (developer)
2009-03-03 10:12

Reminder sent to: gorkaion

Gorka Ion,

Could you please make a decision whether this is a defect or not?

Thanks.
(0014288)
gorkaion (developer)
2009-03-03 12:09

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 (developer)
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
---

- 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 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker