Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013436Openbravo ERP04. Warehouse managementpublic2010-05-25 18:472011-05-24 10:57
opablo 
adrianromero 
normalminorhave not tried
closedfixed 
5
2.50MP14 
2.50MP19 
Core
No
0013436: New extension point in shipments
It would be great to have extensions points available also at shipment level. As it is done with orders and invoices, we would like to enhance them also in shipments.

Goals:

1) To have at shipment level the same functionality regarding to extension points that at invoice and order level, that is:
    * Ability to execute new procedures added by different modules at the end of the InOut Post procedure.

2) To develop a mechanism as similar as possible to what is done with orders and invoices.

3) To be able to add post-process to a shipment in all situations given at Openbravo, that is:
3.1) Post a single shipment.
NOTE: Although the PL process is prepared to be called using NULL as record id (this will post all shipments with docaction='CO'), we have not found in Openbravo this type of call.

1) Define an extension point which calls a procedure that doesn't raise an exception
RESULT EXPECTED:
-Single shipment: Shipment posted + extension point executed
(processing multiple shipment will have the same behaviour)
2) Define an extension point which calls a procedure that raises an exception
RESULT EXPECTED:
-Single shipment: Controlled error prompted to user, document not posted
(processing multiple shipments: Controlled error prompted to user and none document posted)
Attached file is a patch with our proposed solution, based on MP14.
closingMay2011
related to defect 00139122.50MP20 closed harikrishnan The process 'Create Lines from' of the Goods Shipment window shows incorrect data 
? ep_inout_patch (5,547) 2010-05-25 18:47
https://issues.openbravo.com/file_download.php?file_id=2609&type=bug
Issue History
2010-05-25 18:47opabloNew Issue
2010-05-25 18:47opabloAssigned To => adrianromero
2010-05-25 18:47opabloFile Added: ep_inout_patch
2010-05-25 18:57albertobgIssue Monitored: albertobg
2010-05-27 04:01eintelauIssue Monitored: eintelau
2010-05-27 17:02adrianromeroStatusnew => scheduled
2010-05-27 17:02adrianromeroTarget Version => 2.50MP19
2010-06-16 18:11hgbotCheckin
2010-06-16 18:11hgbotNote Added: 0028525
2010-06-16 18:11hgbotStatusscheduled => resolved
2010-06-16 18:11hgbotResolutionopen => fixed
2010-06-16 18:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e6a6e9dcefab54fe75b148df112087d5c7ec9051 [^]
2010-06-17 10:53hgbotCheckin
2010-06-17 10:53hgbotNote Added: 0028538
2010-06-17 10:53hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/e6a6e9dcefab54fe75b148df112087d5c7ec9051 [^] => http://code.openbravo.com/erp/devel/pi/rev/80f5f1c6567b4982acb0f1c9fd49c1b8c28128b4 [^]
2010-06-17 20:43hudsonbotCheckin
2010-06-17 20:43hudsonbotNote Added: 0028569
2010-06-17 20:43hudsonbotCheckin
2010-06-17 20:43hudsonbotNote Added: 0028571
2010-07-08 13:42adrianromeroRelationship addedrelated to 0013912
2010-09-20 18:38albertobgIssue End Monitor: albertobg
2011-05-24 09:59dalsasuaTag Attached: closingMay2011
2011-05-24 10:57dalsasuaStatusresolved => closed

Notes
(0028525)
hgbot   
2010-06-16 18:11   
Repository: erp/devel/pi
Changeset: e6a6e9dcefab54fe75b148df112087d5c7ec9051
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Wed Jun 16 18:10:41 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e6a6e9dcefab54fe75b148df112087d5c7ec9051 [^]

Adding new extension points to the shipment flow according the project http://wiki.openbravo.com/wiki/Projects/Warehouse_picking/Extension_Points_Functional_Specification [^]
Fixes issue 0013436: New extension point in shipments

---
M src-db/database/model/functions/M_INOUT_CANCEL.xml
M src-db/database/model/functions/M_INOUT_CREATE.xml
M src-db/database/model/functions/M_INOUT_POST.xml
M src-db/database/sourcedata/AD_EXTENSION_POINTS.xml
---
(0028538)
hgbot   
2010-06-17 10:53   
Repository: erp/devel/pi
Changeset: 80f5f1c6567b4982acb0f1c9fd49c1b8c28128b4
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Jun 17 10:52:49 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/80f5f1c6567b4982acb0f1c9fd49c1b8c28128b4 [^]

Fixes issue 0013678: Completing the purchase order throws java lang exception
Fixes issue 0013436: New extension point in shipments

---
M src-db/database/model/functions/M_INOUT_CANCEL.xml
---
(0028569)
hudsonbot   
2010-06-17 20:43   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/e6a6e9dcefab [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/6585f66712fd [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17682.obx [^]
(0028571)
hudsonbot   
2010-06-17 20:43   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/80f5f1c6567b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/6585f66712fd [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17682.obx [^]