Subversion Repositories SmartDukaan

Rev

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

Rev 3427 Rev 3451
Line 198... Line 198...
198
	*/
198
	*/
199
	list<Order> getOrdersByBillingDate(1:OrderStatus status, 2:i64 start_billing_date, 3:i64 end_billing_date, 4:i64 warehouse_id) throws (1:TransactionServiceException ex),
199
	list<Order> getOrdersByBillingDate(1:OrderStatus status, 2:i64 start_billing_date, 3:i64 end_billing_date, 4:i64 warehouse_id) throws (1:TransactionServiceException ex),
200
	
200
	
201
	/**
201
	/**
202
	Returns orders for a particular provider and warehouse which were shipped between the given dates.
202
	Returns orders for a particular provider and warehouse which were shipped between the given dates.
-
 
203
	Returned orders comprise of COD orders if cod parameter is true. It comprises of prepaid orders otherwise. 
203
	Pass providerId and warehouseId as -1 to ignore both the parameters.
204
	Pass providerId and warehouseId as -1 to ignore both these parameters.
204
	*/
205
	*/
205
	list<Order> getOrdersByShippingDate(1:i64 fromShippingDate, 2:i64 toShippingDate, 3:i64 providerId, 4:i64 warehouseId) throws (1:TransactionServiceException ex),
206
	list<Order> getOrdersByShippingDate(1:i64 fromShippingDate, 2:i64 toShippingDate, 3:i64 providerId, 4:i64 warehouseId, 5:bool cod) throws (1:TransactionServiceException ex),
206
	
207
	
207
	/**
208
	/**
208
	Returns order ids for orders which can be returned
209
	Returns order ids for orders which can be returned
209
	*/
210
	*/
210
	list<i64> getReturnableOrdersForCustomer(1:i64 customer_id, 2:i64 limit) throws (1:TransactionServiceException ex),
211
	list<i64> getReturnableOrdersForCustomer(1:i64 customer_id, 2:i64 limit) throws (1:TransactionServiceException ex),
Line 458... Line 459...
458
 
459
 
459
	/**
460
	/**
460
	Creates a purchase order corresponding to all the pending orders of the given warehouse.
461
	Creates a purchase order corresponding to all the pending orders of the given warehouse.
461
	Returns the PO no. of the newly created purchase order. Returns -1 no new purchase order had to be created.
462
	Returns the PO no. of the newly created purchase order. Returns -1 no new purchase order had to be created.
462
	*/
463
	*/
463
	i64 createPurchaseOrder(1:i64 warehouseId) throws (1:TransactionServiceException ex)
464
	i64 createPurchaseOrder(1:i64 warehouseId) throws (1:TransactionServiceException ex),
-
 
465
	
-
 
466
	/**
-
 
467
	Set the weight of the given order to the provided value. Will attempt to update the weight of the item in the catalog as well.
-
 
468
	*/
-
 
469
	Order updateWeight(1:i64 orderId, 2:double weight) throws (1:TransactionServiceException ex)
464
}
470
}
465
471