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

View Revisions: Issue #51588 All Revisions ] Back to Issue ]
Summary 0051588: Order goes to Errors While Importing POS Data with OBSecurityException if cross-store return line is deleted
Revision 2023-02-14 10:38 by ngarcia
Steps To Reproduce In https://livebuilds.openbravo.com/retail_pi_pgsql/ [^]

Set the Web POS Save Removed Tickets preference to Y

In https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=OS-1#retail.pointofsale [^]

Create a ticket, add a product and pay it

In https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VB-1 [^]

Open Verified Returns
Advanced Filter
Store: (All Stores)
Apply Filters

Select previously created order and add its line

Select the line and delete it

Add a product and pay it

Check in the backoffice the order is stuck in Errors While Importing POS Data with the following error:

org.openbravo.base.exception.OBSecurityException: Entity Cashbook - Vall Boi - EUR - VB1/0000003 - 14-02-2023 - OHS Customer - 5.00 - 0 - 30 (FIN_Finacc_Transaction) with organization Vall Boí Store references an entity OHS Customer through its property FIN_Finacc_Transaction.businessPartner but this referenced entity belongs to an organization Orhi Store which is not part of the natural tree of Vall Boí Store

Repeat the process by selecting Arturo Montoro business partner

In this case, the error is different:

org.openbravo.base.exception.OBSecurityException: Entity VB1/0000004 - 14-02-2023 - 5.00 - 20 - 0.00 (OrderLine) with organization Vall Boí Store references an entity 500002 - 14-02-2023 - Arturo Montoro - 10 - Adhesive body warmers - 1 through its property OrderLine.goodsShipmentLine but this referenced entity belongs to an organization Orhi Store which is not part of the natural tree of Vall Boí Store
Revision 2023-02-14 10:34 by ngarcia
Steps To Reproduce In https://livebuilds.openbravo.com/retail_pi_pgsql/ [^]

Set the Web POS Save Removed Tickets preference to Y

In https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=OS-1#retail.pointofsale [^]

Create a ticket, add a product and pay it

In https://livebuilds.openbravo.com/retail_pi_pgsql/web/org.openbravo.retail.posterminal/?terminal=VB-1 [^]

Open Verified Returns
Advanced Filter
Store: (All Stores)
Apply Filters

Select previously created order and add its line

Select the line and delete it

Add a product and pay it

Check in the backoffice the order is stuck in Errors While Importing POS Data with the following error:

org.openbravo.base.exception.OBSecurityException: Entity Cashbook - Vall Boi - EUR - VB1/0000003 - 14-02-2023 - OHS Customer - 5.00 - 0 - 30 (FIN_Finacc_Transaction) with organization Vall Boí Store references an entity OHS Customer through its property FIN_Finacc_Transaction.businessPartner but this referenced entity belongs to an organization Orhi Store which is not part of the natural tree of Vall Boí Store


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker