Subversion Repositories SmartDukaan

Rev

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

Rev 6747 Rev 6821
Line 100... Line 100...
100
}
100
}
101
 
101
 
102
struct IgnoredInventoryUpdateItems {
102
struct IgnoredInventoryUpdateItems {
103
	1:i64 itemId,
103
	1:i64 itemId,
104
	2:i64 warehouseId
104
	2:i64 warehouseId
105
} 
105
}
-
 
106
 
-
 
107
struct ItemStockPurchaseParams{
-
 
108
	1:i64 item_id,
-
 
109
	2:i32 numOfDaysStock,
-
 
110
	3:i64 minStockLevel
-
 
111
}
-
 
112
 
106
exception InventoryServiceException{
113
exception InventoryServiceException{
107
	1:i64 id,
114
	1:i64 id,
108
	2:string message
115
	2:string message
109
}
116
}
110
 
117
 
-
 
118
struct OOSStatus {
-
 
119
	1:i64 item_id
-
 
120
	2:i64 date
-
 
121
	3:bool is_oos
-
 
122
	4:i64 num_orders
-
 
123
}
111
service InventoryService extends GenericService.GenericService{
124
service InventoryService extends GenericService.GenericService{
112
 
125
 
113
	i64 addWarehouse(1:Warehouse warehouse) throws (1:InventoryServiceException cex),
126
	i64 addWarehouse(1:Warehouse warehouse) throws (1:InventoryServiceException cex),
114
	
127
	
115
	/**
128
	/**
Line 301... Line 314...
301
    
314
    
302
    i32 getAllIgnoredInventoryupdateItemsCount();
315
    i32 getAllIgnoredInventoryupdateItemsCount();
303
    
316
    
304
    list<i64> getIgnoredInventoryUpdateItemids(1:i32 offset,2:i32 limit);
317
    list<i64> getIgnoredInventoryUpdateItemids(1:i32 offset,2:i32 limit);
305
    
318
    
-
 
319
    void updateItemStockPurchaseParams(1:i64 item_id, 2:i32 numOfDaysStock, 3:i64 minStockLevel);
-
 
320
    
-
 
321
    ItemStockPurchaseParams getItemStockPurchaseParams(1:i64 itemId);
-
 
322
    
-
 
323
    void addOosStatusForItem(1:map<i64, bool> oosStatusMap, 2: i64 date);
306
}
324
}