Subversion Repositories SmartDukaan

Rev

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

Rev 1223 Rev 1244
Line 188... Line 188...
188
	
188
	
189
	/**
189
	/**
190
	 Create a batch of all the pending orders for the given warehouse.
190
	 Create a batch of all the pending orders for the given warehouse.
191
	 The returned list is orderd by created_timestamp.
191
	 The returned list is orderd by created_timestamp.
192
	 If there are no pending orders, an empty list is returned.
192
	 If there are no pending orders, an empty list is returned.
193
	 **/
193
	 */
194
	list<Order> batchOrders(1:i64 warehouseId) throws (1:TransactionServiceException ex),
194
	list<Order> batchOrders(1:i64 warehouseId) throws (1:TransactionServiceException ex),
195
	
195
	
196
	/**
196
	/**
197
	Mark the given order as out of stock. Throws an exception if the order with the given Id couldn't be found. 
197
	Mark the given order as out of stock. Throws an exception if the order with the given Id couldn't be found. 
198
	**/
198
	*/
199
	bool markOrderAsOutOfStock(1:i64 orderId) throws (1:TransactionServiceException ex),
199
	bool markOrderAsOutOfStock(1:i64 orderId) throws (1:TransactionServiceException ex),
200
	
200
	
201
	/**
201
	/**
202
	Marks all BILLED orders for a warehouse and a provider as SHIPPED_FROM_WH
202
	Marks all BILLED orders for a warehouse and a provider as SHIPPED_FROM_WH
203
	*/
203
	*/
Line 206... Line 206...
206
	/**
206
	/**
207
	Marks all SHIPPED_FROM_WH orders of the previous day for a provider as SHIPPED_TO_LOGISTICS.
207
	Marks all SHIPPED_FROM_WH orders of the previous day for a provider as SHIPPED_TO_LOGISTICS.
208
	Returns a list of orders that were shipped from warehouse but did not appear in the pick-up report.
208
	Returns a list of orders that were shipped from warehouse but did not appear in the pick-up report.
209
	Raises an exception if we encounter report for an AWB number that we did not ship.
209
	Raises an exception if we encounter report for an AWB number that we did not ship.
210
	*/
210
	*/
211
	list<Order> markOrdersAsPickedUp(1:i64 providerId, 2:map<string, i64> pickupDetails) throws (1:TransactionServiceException ex),
211
	list<Order> markOrdersAsPickedUp(1:i64 providerId, 2:map<string, string> pickupDetails) throws (1:TransactionServiceException ex),
212
	
212
	
213
	/**
213
	/**
214
	Marks all orders with AWBs in the given map as delivered. Also sets the delivery timestamp and
214
	Marks all orders with AWBs in the given map as delivered. Also sets the delivery timestamp and
215
	the name of the receiver.
215
	the name of the receiver.
216
	Raises an exception if we encounter report for an AWB number that we did not ship.
216
	Raises an exception if we encounter report for an AWB number that we did not ship.
Line 221... Line 221...
221
	Mark all orders with AWBs in the given map as failed. Also sets the delivery timestamp.
221
	Mark all orders with AWBs in the given map as failed. Also sets the delivery timestamp.
222
	Raises an exception if we encounter report for an AWB number that we did not ship.
222
	Raises an exception if we encounter report for an AWB number that we did not ship.
223
	*/
223
	*/
224
	void markOrdersAsFailed(1:i64 providerId, 2:map<string, string> returnedOrders) throws (1:TransactionServiceException ex),
224
	void markOrdersAsFailed(1:i64 providerId, 2:map<string, string> returnedOrders) throws (1:TransactionServiceException ex),
225
	
225
	
-
 
226
	/**
-
 
227
	Update the status description of orders whose AWB numbers are keys of the Map.
-
 
228
	*/
-
 
229
	void updateNonDeliveryReason(1:i64 providerId, 2:map<string, string> undeliveredOrders) throws (1:TransactionServiceException ex),
-
 
230
	
226
	//Alerts apis 
231
	//Alerts apis 
227
	list<Alert> getAlerts(1:i64 orderId, 2:bool valid),
232
	list<Alert> getAlerts(1:i64 orderId, 2:bool valid),
228
	void setAlert(1:i64 orderId, 2:bool unset, 3:i64 type, 4: string comment),
233
	void setAlert(1:i64 orderId, 2:bool unset, 3:i64 type, 4: string comment),
229
}
234
}
230
235