November Happy Hour will be moved to Thursday December 5th.

Add additional property to Warehouse model.

Vote:
 

I have several questions about extending of warehouse functionality. I can't found any information about this in documentation.
Can i add custom property for Warehouse? If can, what solution you can propose. Or i need to create my own repository and use other table and data model?

#81035
Feb 07, 2014 12:11
Vote:
 

Hi,

Warehouses are not meta objects like catalog nodes/catalog entries, so if you want to extend Warehouses, you must create your own implemetation of IWarehouseRepository and IWarehouseRepositoryService. This can be done in 7.5, more information can be found here:

http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-Commerce1/751/Warehouses-and-inventories/Multi-warehouse-implementations/

Regards.

.Q

#81046
Feb 07, 2014 14:00
Vote:
 

IWarehouseRepositoryService or IWarehouseInventoryService? And what about Commerce Manager? I didn't found any way to inject my custom realization to commerce manager.

#81088
Feb 10, 2014 10:11
Vote:
 

Hi,

Commerce Manager does not support extend warehouse by yourself. You can still extend the funtionality (APIs) by overriding the two interfaces I mentioned, then register it by your initialization module.

Regards.

/Q

#81131
Edited, Feb 11, 2014 2:56
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.