Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021459Openbravo ERP03. Procurement managementpublic2012-08-27 13:142012-09-26 17:20
dmiguelez 
naiaramartinez 
normalmajoralways
closedfixed 
20Community Appliance
 
 
dmiguelez
Core
No
0021459: Allows to create an Invoice from an Order for an Organization that belongs to a different Legal Entity.
When creating an Invoice Line using the Create Lines From button, it allows to select an Order from an Organization from a different Legal Entity.
Login as Openbravo/openbravo

Change rol to QAAdmin

Create a new Purchase Order:
"Organization":Spain
"Business Partner": Vendor A
Lines
"Product":Raw Material A
"Order Quantity":1
Book it.

Create a new Purchase Invoice:
"Organization":USA
"Business Partner": Vendor A

Click on Create Lines From.
Notice that you can select the Purchase Order created before.
The Order list should be filtered by the Organization tree of the the header of the Invoice.
No tags attached.
Issue History
2012-08-27 13:14dmiguelezNew Issue
2012-08-27 13:14dmiguelezAssigned To => mirurita
2012-08-27 13:14dmiguelezModules => Core
2012-09-17 11:21dmiguelezAssigned Tomirurita => pramakrishnan
2012-09-17 17:23naiaramartinezAssigned Topramakrishnan => naiaramartinez
2012-09-17 17:24naiaramartinezStatusnew => scheduled
2012-09-17 17:24naiaramartinezfix_in_branch => pi
2012-09-17 17:24naiaramartinezNote Added: 0052174
2012-09-19 16:44hgbotCheckin
2012-09-19 16:44hgbotNote Added: 0052234
2012-09-19 16:44hgbotStatusscheduled => resolved
2012-09-19 16:44hgbotResolutionopen => fixed
2012-09-19 16:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/9626592579b58913b08a098b6a770c0904d516c0 [^]
2012-09-19 16:44dmiguelezClosed by => dmiguelez
2012-09-19 16:44dmiguelezNote Added: 0052235
2012-09-19 16:44dmiguelezStatusresolved => closed
2012-09-26 17:20hudsonbotCheckin
2012-09-26 17:20hudsonbotNote Added: 0052788

Notes
(0052174)
naiaramartinez   
2012-09-17 17:24   
test plan 1:

Login as Openbravo/openbravo

Change rol to QAAdmin

Create a new Purchase Order:
"Organization":Spain
"Business Partner": Vendor A
Lines
"Product":Raw Material A
"Order Quantity":1
Book it.

Create a new Purchase Invoice:
"Organization":USA
"Business Partner": Vendor A

Click on Create Lines From.
Notice that newly created purchase order is not showing.



test plan 2:
Login as Openbravo/openbravo

Change rol to QAAdmin

Create a new Purchase Order:
"Organization":USA
"Business Partner": Vendor A
Lines
"Product":Raw Material A
"Order Quantity":1
Book it.

Create a new Purchase Invoice:
"Organization":USA
"Business Partner": Vendor A

Click on Create Lines From.
Notice that newly created purchase order is showing.



test plan 3:
Login as Openbravo/openbravo

Change rol to QAAdmin

Create a new Good receipt:
"Organization":Spain
"Business Partner": Vendor A
Lines
"Product":Raw Material A
"Order Quantity":1
Book it.

Create a new Purchase Invoice:
"Organization":USA
"Business Partner": Vendor A

Click on Create Lines From.
Notice that newly created good receipt is not showing.



test plan 4:
Login as Openbravo/openbravo

Change rol to QAAdmin

Create a new Good receipt:
"Organization":USA
"Business Partner": Vendor A
Lines
"Product":Raw Material A
"Order Quantity":1
Book it.

Create a new Purchase Invoice:
"Organization":USA
"Business Partner": Vendor A

Click on Create Lines From.
Notice that newly created good receipt is showing.





test plan 5:

Login as Openbravo/openbravo

Change rol to QAAdmin

Create a new Sales Order:
"Organization":Spain
"Business Partner": customer A
Lines
"Product":Raw Material A
"Order Quantity":1
Book it.

Create a new Purchase Invoice:
"Organization":USA
"Business Partner": Customer A

Click on Create Lines From.
Notice that newly created order is not showing.



test plan 6:
Login as Openbravo/openbravo

Change rol to QAAdmin

Create a new Sales Order:
"Organization":USA
"Business Partner": Customer A
Lines
"Product":Raw Material A
"Order Quantity":1
Book it.

Create a new Sales Invoice:
"Organization":USA
"Business Partner": Customer A

Click on Create Lines From.
Notice that newly created order is showing.



test plan 7:
Login as Openbravo/openbravo

Change rol to QAAdmin

Create a new Good shipment:
"Organization":Spain
"Business Partner": Customer A
Lines
"Product":Raw Material A
"Order Quantity":1
Book it.

Create a new Sales Invoice:
"Organization":USA
"Business Partner": Customer A

Click on Create Lines From.
Notice that newly created shipment is not showing.



test plan 8:
Login as Openbravo/openbravo

Change rol to QAAdmin

Create a new Good shipment:
"Organization":USA
"Business Partner": customer A
Lines
"Product":Raw Material A
"Order Quantity":1
Book it.

Create a new Sales Invoice:
"Organization":USA
"Business Partner": Customer A

Click on Create Lines From.
Notice that newly created shipment is showing.
(0052234)
hgbot   
2012-09-19 16:44   
Repository: erp/devel/pi
Changeset: 9626592579b58913b08a098b6a770c0904d516c0
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Tue Sep 18 17:41:08 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9626592579b58913b08a098b6a770c0904d516c0 [^]

Fixes Issue 21459:Invoice for Orders from different Legal Entity is possible

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
M src/org/openbravo/erpCommon/utility/Utility.java
---
(0052235)
dmiguelez   
2012-09-19 16:44   
Code Review + Testing OK
(0052788)
hudsonbot   
2012-09-26 17:20   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b780e90c6452 [^]

Maturity status: Test