Project:
View Revisions: Issue #45749 | [ Back to Issue ] | ||
Summary | 0045749: Customizing of InventoryCountInfoProvider | ||
Revision | 2021-01-19 12:34 by sebastien_liron | ||
Description | Discsussion between service and product : Request : So we have a design to add some customized field for inventory count tasks ( expiration dates in particular ) on the front end ( AWO front ) During the development we think we need to customize InventoryCountInfoProvider to get this data in particular. It seems that it is not customizable as it is ( there is only one method exec ) What we are doing now : change the url in the front end constant OBAWO.Constants.InventoryCountInfoProvider to target a custom process that will be a copy paste of InventoryCountInfoProvider with our customizations. ANSWER : You are right, right now it is not possible to extend this class. I would say that makes sense to do this class more customizable. I think this class should allow 1) Extend the query as we always do using properties extensor 2) capacity to execute other queries 3) capacity to extend the response from a hook I think we should report that as an FR and someone should decide when and who can take it. I think it can be done in 1 or 2 days and applies to all "providers" used by inventory count For the moment what you suggest is OK but as you mention is not the best option |
||
Revision | 2021-01-19 11:53 by sebastien_liron | ||
Description | Discsussion between service and product : Request : So we have a design ( seen with david miguelez ) to add some customized field for inventory count tasks ( expiration dates in particular ) on the front end ( AWO front ) During the development we think we need to customize InventoryCountInfoProvider to get this data in particular. It seems that it is not customizable as it is ( there is only one method exec ) What we are doing now : change the url in the front end constant OBAWO.Constants.InventoryCountInfoProvider to target a custom process that will be a copy paste of InventoryCountInfoProvider with our customizations. ANSWER : Guillermo Alvarez Mon, Jan 18, 12:31 PM (23 hours ago) to me, WMS, Roberto, Matthieu Hi Sebasten You are right, right now it is not possible to extend this class. I would say that makes sense to do this class more customizable. I think this class should allow 1) Extend the query as we always do using properties extensor 2) capacity to execute other queries 3) capacity to extend the response from a hook I think we should report that as an FR and someone should decide when and who can take it. I think it can be done in 1 or 2 days and applies to all "providers" used by inventory count For the moment what you suggest is OK but as you mention is not the best option |
Copyright © 2000 - 2009 MantisBT Group |