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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040299
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2019-02-28 18:342019-03-18 15:38
ReporteraaroncaleroView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR19Q2
StatusclosedFix in branchFixed in SCM revision8503e74b8484
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0040299: ExternalOrderLoader marks order lines as delivered during the Create step

DescriptionWhen the ExternalOrderLoader is invoked, it is possible to specify which step of the Order creating needs to be executed (creation, payment, delivery or all of them).
When the step is set to Create, the generated order lines are marked as delivered (delivered quantity = ordered quantity) although shipments are not created.
Steps To ReproduceUsing the standard Retail sample data and the pi-mobile testing environment:
In the pi-mobile repository, find the file message-order-create-1.json, edit it, and change the step from "all" to "create".
From the RetailOrderLoaderTest.java test file, execute the testMinimalOrder() test.
Verify that the created order has it's two lines with delivered quantity = ordered quantity.


[1] src-test/org/openbravo/test/mobile/retail/pack/webservice/tests/orderloader/message-order-create-1.json
TagsNo tags attached.
Attached Files? file icon issue_40299.export [^] (5,206 bytes) 2019-03-04 09:25

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0110283)
hgbot (developer)
2019-03-07 14:44

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8503e74b8484d420c0b8acce557ad11a475245c2
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Thu Mar 07 19:13:50 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8503e74b8484d420c0b8acce557ad11a475245c2 [^]

Fixed issue 40299 : ExternalOrderLoader marks order lines as delivered during the Create step

The property obposQtytodeliver must be set in the external order loader in order to set correctly the delivered quantities.
In case that the order is being created or paid, the quantity is taken from the delivered quantity or zero if there's not delivered quantity.
In case that the order is being delivered, the quantity set is the ordered quantity.
If the object was already sending the property, the value is maintained, allowing to have partial deliveries.
Added also the correct properties to be able to invoice and deliver when the order is synchronized due to the step ALL.

---
M src/org/openbravo/retail/posterminal/ExternalOrderLoader.java
---

- Issue History
Date Modified Username Field Change
2019-02-28 18:34 aaroncalero New Issue
2019-02-28 18:34 aaroncalero Assigned To => Retail
2019-02-28 18:34 aaroncalero Resolution time => 1552604400
2019-02-28 18:34 aaroncalero Triggers an Emergency Pack => No
2019-02-28 19:01 asiermartirena File Added: issue_40299.export
2019-03-04 08:50 ranjith_qualiantech_com Status new => scheduled
2019-03-04 08:50 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2019-03-04 09:25 asiermartirena File Deleted: issue_40299.export
2019-03-04 09:25 asiermartirena File Added: issue_40299.export
2019-03-07 14:44 hgbot Checkin
2019-03-07 14:44 hgbot Note Added: 0110283
2019-03-07 14:44 hgbot Status scheduled => resolved
2019-03-07 14:44 hgbot Resolution open => fixed
2019-03-07 14:44 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8503e74b8484d420c0b8acce557ad11a475245c2 [^]
2019-03-08 10:15 guillermogil Review Assigned To => guilleaer
2019-03-18 15:38 guilleaer Status resolved => closed
2019-03-18 15:38 guilleaer Fixed in Version => RR19Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker