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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011981
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2010-01-15 18:122010-01-20 00:01
ReporternetworkbView Statuspublic 
Assigned Torafaroda 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version2.50MP11
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP9SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011981: Create lines from in Good Shipment does not filter by Organization

DescriptionA sales order is created for Organization A.
A Good shipment is created (just header) for Organization B. If "Create lines from" is used, Sales Order is shown, although it was created in Organization A.

It should not appear.

In fact, if this sales order (its line) is select, the process will create a line with Organization A, and its header is for B.
After completing the Good Shipment, the process modifies line Organization to B.
That is not correct.
Steps To ReproduceGo to Sales Management > Transactions > Sales Order.
Create a new order for Organization A, and BP, IE, Mcgiver.
Create a line for product Beer.
Go back to Header and complete it.
Go to Sales Management > Transactions > Good Shipment.
Create its header, for Organization B, and same BP as order.
Press "Create lines from". See proposed Sales Order. It shows the previous sales order although it belongs to other Organization.
Proposed SolutionShow only sales orders/invoices from the organization sub-tree in "Create Lines From" in the Goods Shipment/receipt window.

Review the "Create Lines From" buttons in Sales/Purchase Orders and invoices also.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00119752.50MP11 closedharikrishnan Create Lines From Goods Receipt does not update secondary unit 
related to defect 00119432.50MP11 closedharikrishnan the quantity of line is rounded when it is created by "create from lines" in goods receipt 

-  Notes
(0023575)
rafaroda (developer)
2010-01-19 18:23

The ability to select or not an Order (or an Invoice) in the "Create Lines From" pop-up inside "Goods Receipt" or "Goods Shipment" window depends on the organization(s) that the role of the logged user has access to.

That said, the ability to select or not an Order (or an Invoice) in the "Create Lines From" pop-up inside "Goods Receipt" or "Goods Shipment" window does NOT depend on the "Goods Receipt" or "Goods Shipment" organization.

See an example:
1) Log in as:
* User = Openbravo
* Role = Openbravo Admin (Org Access of this role is *, Main, A, A1, A2, B, B1, ...)
* Organization = Main
2) Create a new Sales Order in Organization A for Business Partner = Red Bunny, add some lines and complete it.
3) Create a new Sales Invoice in Organization B for Business Partner = Red Bunny, add some lines and complete it.
4) Create a new Goods Shipment header in Organization A for Business Partner = Red Bunny and click on "Create Lines From": you can select both the Sales Order in A and the Sales Invoice in B (since Org Access of Openbravo Admin role is *, Main, A, A1, A2, B, B1, ...).
5) Log in as:
* User = Openbravo
* Role = Openbravo Admin (Org Access of this role is *, Main, A, A1, A2, B, B1, ...)
* Organization = A
6) Navigate to the Goods Shipment header in Organization A for Business Partner = Red Bunny and click on "Create Lines From": you can select both the Sales Order in A and the Sales Invoice in B (since Org Access of Openbravo Admin role is *, Main, A, A1, A2, B, B1, ...).
7) Create a new role:
* Name = Sales Manager Org A
* User Level = Client + Organization
8) Click on Grant Access button and select:
* Module = Sales Management
* Access = All
9) In Org Access tab create a new record for Organization A.
10) Navigate to User = Openbravo and give add a new User Role = Sales Manager Org A
10) Log in as:
* User = Openbravo
* Role = Sales Manager Org A (Org Access of this role is A)
* Organization = A
11) Navigate to the Goods Shipment header in Organization A for Business Partner = Red Bunny and click on "Create Lines From": you can select the Sales Order in A but NOT the Sales Invoice in B (since Org Access of Sales Manager Org A role is only A).

- Issue History
Date Modified Username Field Change
2010-01-15 18:12 networkb New Issue
2010-01-15 18:12 networkb Assigned To => rafaroda
2010-01-17 16:50 rafaroda Relationship added related to 0011975
2010-01-17 16:53 rafaroda Relationship added related to 0011943
2010-01-18 09:21 rafaroda Priority immediate => urgent
2010-01-18 09:21 rafaroda Status new => scheduled
2010-01-18 09:21 rafaroda Steps to Reproduce Updated
2010-01-19 18:23 rafaroda Note Added: 0023575
2010-01-19 18:23 rafaroda Status scheduled => closed
2010-01-19 18:23 rafaroda Resolution open => no change required
2010-01-20 00:01 anonymous sf_bug_id 0 => 2935294


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker