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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028498
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2014-12-29 15:582015-01-20 12:56
ReporterjecharriView Statuspublic 
Assigned Toaaroncalero 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisionf07fdcc113c9
ProjectionnoneETAnoneTarget VersionRR15Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToOrekaria
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028498: Include a hook in method finishInvoice to add some action when an invoice is created using the cash up

DescriptionInclude a hook in method finishInvoice to add some action when an invoice is created using the cash up
Steps To Reproduce-Do a cash up
-Verify that you can not add a logic hook to process generated invoices

Proposed SolutionCurrently the solution will be to add a hook in the cash up and using the cash up, get all the orders and orderlines related to the cash up and finally take all the invoices with the orderlines.
That behavior can create performance issues so it is better to add the hook
TagsNo tags attached.
Attached Filesdiff file icon Issue28498_Q3.4_backport.diff [^] (5,652 bytes) 2015-01-20 12:55 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0073351)
mtaal (manager)
2015-01-08 11:45

The new hook needs to be documented here:
http://wiki.openbravo.com/wiki/List_of_Server_Side_Hooks_in_Web_POS [^]
(0073402)
hgbot (developer)
2015-01-09 14:39

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f07fdcc113c97812ec3a46f839352d9c698791ae
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Fri Jan 09 14:35:28 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f07fdcc113c97812ec3a46f839352d9c698791ae [^]

Fixed issue 28498: Include a hook in method finishInvoice to add some action when an invoice is created using the cash up

Added a hook to the OrderGroupingProcessor (executed during the cashup process to create invoices), allowing to execute code after invoices have been created and the correct document number has been set.
Changed the way OrderGroupingProcessor is instantiated to allow the use of hooks

---
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor.java
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
A src/org/openbravo/retail/posterminal/FinishInvoiceHook.java
---
(0073407)
hgbot (developer)
2015-01-12 08:48

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: c3a7dfbb521c6897e190427a1b22503bdecca7d1
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Mon Jan 12 08:47:26 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c3a7dfbb521c6897e190427a1b22503bdecca7d1 [^]

Related to issue 28498: Fixed copyright year

---
M src/org/openbravo/retail/posterminal/FinishInvoiceHook.java
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor.java
---
(0073508)
hgbot (developer)
2015-01-15 09:42

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 34ebafea47c203c06980bcd479bd17340ead30a8
Author: Aaron Calero <aaron.calero <at> openbravo.com>
Date: Thu Jan 15 09:32:14 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/34ebafea47c203c06980bcd479bd17340ead30a8 [^]

Related to issue 28498: Removed throw Exception declaration from the FinishInvoiceHook to avoid api changes

---
M src/org/openbravo/retail/posterminal/FinishInvoiceHook.java
M src/org/openbravo/retail/posterminal/OrderGroupingProcessor.java
---
(0073641)
aaroncalero (manager)
2015-01-20 12:56

Attached patch file with the backport to RR14Q3.4

- Issue History
Date Modified Username Field Change
2014-12-29 15:58 jecharri New Issue
2014-12-29 15:58 jecharri Assigned To => marvintm
2014-12-29 15:58 jecharri Resolution time => 1390431600
2014-12-29 15:58 jecharri Triggers an Emergency Pack => No
2014-12-30 10:05 marvintm Target Version RR15Q1 => RR15Q2
2015-01-07 08:59 mtaal Resolution time 1390431600 => 1421967600
2015-01-08 11:44 mtaal Assigned To marvintm => aaroncalero
2015-01-08 11:45 mtaal Note Added: 0073351
2015-01-09 14:39 hgbot Checkin
2015-01-09 14:39 hgbot Note Added: 0073402
2015-01-09 14:39 hgbot Status new => resolved
2015-01-09 14:39 hgbot Resolution open => fixed
2015-01-09 14:39 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f07fdcc113c97812ec3a46f839352d9c698791ae [^]
2015-01-12 08:48 hgbot Checkin
2015-01-12 08:48 hgbot Note Added: 0073407
2015-01-12 13:58 Orekaria Review Assigned To => Orekaria
2015-01-12 13:58 Orekaria Status resolved => closed
2015-01-12 13:58 Orekaria Fixed in Version => pi
2015-01-15 09:42 hgbot Checkin
2015-01-15 09:42 hgbot Note Added: 0073508
2015-01-20 12:55 aaroncalero File Added: Issue28498_Q3.4_backport.diff
2015-01-20 12:56 aaroncalero Note Added: 0073641


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker