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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029071
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Return Receiptminoralways2015-02-26 10:172015-03-16 12:39
ReportermalsasuaView Statuspublic 
Assigned Tomigueldejuana 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision8d2dcb79054f
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Toadrianromero
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029071: Error in receipt synchronization with verified returns and one line with two shipments lines

DescriptionError in the sync process with a receipt that it was created with verified return process, and the original order line is related to two shipment lines and the preference "Split Lines in Shipments when Returning" is N
Steps To ReproduceBackoffice:
 . preference "Split Lines in Shipments when Returning" set to N
 . warehouse: Vall Blanca Store Warehouse
   . new locator (see attach 1.newStorageBin.png)
 . physical inventory: vall blanca store
      line1:
        product Baby carrier
        count: 62
        locator: 0-0-0
      line2:
        product Baby carrier
        count: 8
        locator: 0-0-1
  (see attach: 2.physicalInventory.png)
    process physical inventory

. go to Web POS: VBS-1
  . create new receipt:
   . line1:
       product: Baby Carrier
       qty: 70
   . complete receipt
   (see attach: 3.receipt.png)

  . create new receipt:
   . line1:
      verified return:
       select previous receipt
   . complete it

. go to backoffice:
  . the return receipt has not been sync, it is in Errors while importing data window:
org.hibernate.NonUniqueResultException: query did not return a unique result: 2
    at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:899)
    at org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:369)
    at org.openbravo.dal.service.OBCriteria.uniqueResult(OBCriteria.java:129)
    at org.openbravo.retail.returns.ReturnsShipmentOrderLoaderHook.exec(ReturnsShipmentOrderLoaderHook.java:43)
    at
TagsNo tags attached.
Attached Filespng file icon 1.newStorageBin.png [^] (131,429 bytes) 2015-02-26 10:18


png file icon 2.physicalInventory.png [^] (129,690 bytes) 2015-02-26 10:18


png file icon 3.receipt.png [^] (263,796 bytes) 2015-02-26 10:18

- Relationships Relation Graph ] Dependency Graph ]
depends on feature request 0025623 closedmigueldejuana It is possible to return more quantity than sold quantity 

-  Notes
(0075377)
hgbot (developer)
2015-03-10 13:14

Repository: erp/pmods/org.openbravo.retail.returns
Changeset: 0f302be41cf383ab131f1c457f6e844dd9139fa7
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Mar 10 13:14:27 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/0f302be41cf383ab131f1c457f6e844dd9139fa7 [^]

Fixed issue 0029071: Error in receipt synchronization with verified returns and one line with two shipments lines

If preference "split in shipment lines" is false, we need to show n lines depending on the shipment lines of the order, but we do not force the user to decide which shipment line choose to return, Web POS will do it automatically.

---
M web/org.openbravo.retail.returns/js/modalReturnLines.js
---
(0075378)
hgbot (developer)
2015-03-10 13:15

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8d2dcb79054fc6a72e8d2bdfd2894ab784e60837
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Mar 10 13:04:14 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8d2dcb79054fc6a72e8d2bdfd2894ab784e60837 [^]

Fixed issue 0029071: Error in receipt synchronization with verified returns and one line with two shipments lines

We set shipment lines to all orderlines

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0075618)
adrianromero (manager)
2015-03-16 12:39

Verified

- Issue History
Date Modified Username Field Change
2015-02-26 10:17 malsasua New Issue
2015-02-26 10:17 malsasua Assigned To => migueldejuana
2015-02-26 10:17 malsasua Triggers an Emergency Pack => No
2015-02-26 10:18 malsasua File Added: 1.newStorageBin.png
2015-02-26 10:18 malsasua File Added: 2.physicalInventory.png
2015-02-26 10:18 malsasua File Added: 3.receipt.png
2015-03-06 12:53 migueldejuana Relationship added depends on 0025623
2015-03-10 13:14 hgbot Checkin
2015-03-10 13:14 hgbot Note Added: 0075377
2015-03-10 13:14 hgbot Status new => resolved
2015-03-10 13:14 hgbot Resolution open => fixed
2015-03-10 13:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/0f302be41cf383ab131f1c457f6e844dd9139fa7 [^]
2015-03-10 13:15 hgbot Checkin
2015-03-10 13:15 hgbot Note Added: 0075378
2015-03-10 13:15 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.retail.returns/rev/0f302be41cf383ab131f1c457f6e844dd9139fa7 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8d2dcb79054fc6a72e8d2bdfd2894ab784e60837 [^]
2015-03-16 12:39 adrianromero Review Assigned To => adrianromero
2015-03-16 12:39 adrianromero Note Added: 0075618
2015-03-16 12:39 adrianromero Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker