Subversion Repositories SmartDukaan

Rev

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

Rev 3348 Rev 3355
Line 98... Line 98...
98
	26:optional double dealerPrice,
98
	26:optional double dealerPrice,
99
	27:bool defaultForEntity,
99
	27:bool defaultForEntity,
100
	28:i64 updatedOn,
100
	28:i64 updatedOn,
101
	29:optional i64 bestSellingRank, 
101
	29:optional i64 bestSellingRank, 
102
	30:string hotspotCategory,
102
	30:string hotspotCategory,
103
	31:bool risky
103
	31:bool risky,
-
 
104
	32:optional i32 expectedDelay
104
}
105
}
105
 
106
 
106
struct VendorItemPricing{
107
struct VendorItemPricing{
107
	1:i64 vendorId,
108
	1:i64 vendorId,
108
	2:i64 itemId,
109
	2:i64 itemId,
Line 189... Line 190...
189
	ItemInventory getItemInventoryByItemId(1:i64 item_id) throws (1:InventoryServiceException cex),
190
	ItemInventory getItemInventoryByItemId(1:i64 item_id) throws (1:InventoryServiceException cex),
190
	//ItemInventory getItemInventoryByCatalogId(1:i64 item_id) throws (1:InventoryServiceException cex),
191
	//ItemInventory getItemInventoryByCatalogId(1:i64 item_id) throws (1:InventoryServiceException cex),
191
	i64 getItemAvailibilityAtWarehouse(1:i64 warehouse_id, 2:i64 item_id) throws (1:InventoryServiceException cex),
192
	i64 getItemAvailibilityAtWarehouse(1:i64 warehouse_id, 2:i64 item_id) throws (1:InventoryServiceException cex),
192
	bool markItemAsContentComplete(1:i64 entityId, 2:i64 category, 3:string brand, 4:string modelName, 5:string modelNumber) throws (1:InventoryServiceException cex),
193
	bool markItemAsContentComplete(1:i64 entityId, 2:i64 category, 3:string brand, 4:string modelName, 5:string modelNumber) throws (1:InventoryServiceException cex),
193
	
194
	
194
	
-
 
195
	/**
195
	/**
196
	  Returns the id of the warehouse with the largest inventory of the item and the inventory size in the given locations.
196
	Determines the warehouse that should be used to fulfil an order for the given item.
-
 
197
	It first checks all the warehouses which are in the logistics location given by the
-
 
198
	warehouse_loc parameter. If none of the warehouses there have any inventory, then the
-
 
199
	preferred warehouse for the item is used. 
-
 
200
	
-
 
201
	Returns an ordered list of size 4 with following elements in the given order:
-
 
202
	1. Logistics location of the warehouse which was finally picked up to ship the order.  
-
 
203
	2. Id of the warehouse which was finally picked up.
197
	  The size of list will always be 2.
204
	3. Inventory size in the selected warehouse.
-
 
205
	4. Expected delay added by the category manager.
198
	 */
206
	 */
199
	list<i64> getItemAvailabilityAtLocation(1:i64 warehouse_loc, 2:i64 item_id) throws (1:InventoryServiceException isex),
207
	list<i64> getItemAvailabilityAtLocation(1:i64 warehouse_loc, 2:i64 item_id) throws (1:InventoryServiceException isex),
-
 
208
	
200
	list<Warehouse> getAllWarehouses(1:bool isActive) throws (1:InventoryServiceException cex),
209
	list<Warehouse> getAllWarehouses(1:bool isActive) throws (1:InventoryServiceException cex),
201
	
210
	
202
	/**
211
	/**
203
	 Returns the warehouse with the given id.
212
	 Returns the warehouse with the given id.
204
	*/
213
	*/