Subversion Repositories SmartDukaan

Rev

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

Rev 7149 Rev 7281
Line 119... Line 119...
119
	1:i64 item_id
119
	1:i64 item_id
120
	2:i64 date
120
	2:i64 date
121
	3:bool is_oos
121
	3:bool is_oos
122
	4:i64 num_orders
122
	4:i64 num_orders
123
}
123
}
-
 
124
 
-
 
125
struct AmazonInventorySnapshot {
-
 
126
    1:i64 item_id
-
 
127
    2:i64 availability
-
 
128
    3:i64 reserved
-
 
129
} 
-
 
130
 
124
service InventoryService extends GenericService.GenericService{
131
service InventoryService extends GenericService.GenericService{
125
 
132
 
126
	i64 addWarehouse(1:Warehouse warehouse) throws (1:InventoryServiceException cex),
133
	i64 addWarehouse(1:Warehouse warehouse) throws (1:InventoryServiceException cex),
127
	
134
	
128
	/**
135
	/**
Line 328... Line 335...
328
    
335
    
329
    /**
336
    /**
330
	Returns a list of inventory stock for items for which there are pending orders or have billable inventory.
337
	Returns a list of inventory stock for items for which there are pending orders or have billable inventory.
331
	*/
338
	*/
332
	list<AvailableAndReservedStock> getBillableInventoryAndPendingOrders();
339
	list<AvailableAndReservedStock> getBillableInventoryAndPendingOrders();
-
 
340
	
-
 
341
	string getWarehouseName(1:i64 warehouse_id);
-
 
342
	
-
 
343
	AmazonInventorySnapshot getAmazonInventoryForItem(1:i64 item_id);
-
 
344
	
-
 
345
	list<AmazonInventorySnapshot> getAllAmazonInventory();
-
 
346
	
-
 
347
	void addOrUpdateAmazonInventoryForItem(1:AmazonInventorySnapshot amazonInventorySnapshot);
-
 
348
	
333
}
349
}