Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028498 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2014-12-29 15:58 | 2015-01-20 12:56 | |||
Reporter | jecharri | View Status | public | |||||
Assigned To | aaroncalero | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | Fixed in SCM revision | f07fdcc113c9 | ||||
Projection | none | ETA | none | Target Version | RR15Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | Orekaria | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 33209 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028498: Include a hook in method finishInvoice to add some action when an invoice is created using the cash up | |||||||
Description | Include 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 Solution | Currently 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0073351) mtaal (viewer) 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 (viewer) 2015-01-20 12:56 |
Attached patch file with the backport to RR14Q3.4 |
![]() |
|||
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 | OBNetwork customer | => Yes |
2014-12-29 15:58 | jecharri | Support ticket | => 33209 |
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 |