Subversion Repositories SmartDukaan

Rev

Rev 4423 | Rev 4506 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4423 Rev 4431
Line 58... Line 58...
58
}
58
}
59
 
59
 
60
/* */
60
/* */
61
struct ItemInventory{
61
struct ItemInventory{
62
	1:i64 id,
62
	1:i64 id,
63
	2:map<i64,i64> availability
63
	2:map<i64,i64> availability,
-
 
64
	3:map<i64,i64> reserved
64
}
65
}
65
 
66
 
66
 
67
 
67
struct ItemInventoryHistory{
68
struct ItemInventoryHistory{
68
	1:i64 item_id,
69
	1:i64 item_id,
Line 229... Line 230...
229
	//Other accessor methods - added by Ashish
230
	//Other accessor methods - added by Ashish
230
	Item getItem(1:i64 item_id) throws (1:InventoryServiceException cex),
231
	Item getItem(1:i64 item_id) throws (1:InventoryServiceException cex),
231
	list<Item> getItemsByCatalogId(1:i64 catalog_item_id) throws  (1:InventoryServiceException cex),
232
	list<Item> getItemsByCatalogId(1:i64 catalog_item_id) throws  (1:InventoryServiceException cex),
232
	list<Item> getAllItems(1:bool isActive) throws (1:InventoryServiceException cex),
233
	list<Item> getAllItems(1:bool isActive) throws (1:InventoryServiceException cex),
233
	list<Item> getAllItemsByStatus(1:status itemStatus) throws (1:InventoryServiceException cex),
234
	list<Item> getAllItemsByStatus(1:status itemStatus) throws (1:InventoryServiceException cex),
234
	ItemInventory getItemInventory(1:i64 item_id) throws (1:InventoryServiceException cex),
235
	//ItemInventory getItemInventory(1:i64 item_id) throws (1:InventoryServiceException cex),
235
	ItemInventory getItemInventoryByItemId(1:i64 item_id) throws (1:InventoryServiceException cex),
236
	ItemInventory getItemInventoryByItemId(1:i64 item_id) throws (1:InventoryServiceException cex),
236
	//ItemInventory getItemInventoryByCatalogId(1:i64 item_id) throws (1:InventoryServiceException cex),
237
	//ItemInventory getItemInventoryByCatalogId(1:i64 item_id) throws (1:InventoryServiceException cex),
237
	i64 getItemAvailibilityAtWarehouse(1:i64 warehouse_id, 2:i64 item_id) throws (1:InventoryServiceException cex),
238
	i64 getItemAvailibilityAtWarehouse(1:i64 warehouse_id, 2:i64 item_id) throws (1:InventoryServiceException cex),
238
	bool markItemAsContentComplete(1:i64 entityId, 2:i64 category, 3:string brand, 4:string modelName, 5:string modelNumber) throws (1:InventoryServiceException cex),
239
	bool markItemAsContentComplete(1:i64 entityId, 2:i64 category, 3:string brand, 4:string modelName, 5:string modelNumber) throws (1:InventoryServiceException cex),
239
	
240