Subversion Repositories SmartDukaan

Rev

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

Rev 2814 Rev 2819
Line 122... Line 122...
122
	31:string receiver,
122
	31:string receiver,
123
	32:i64 batchNo,
123
	32:i64 batchNo,
124
	33:i64 serialNo,
124
	33:i64 serialNo,
125
	34:bool doaFlag,
125
	34:bool doaFlag,
126
	35:string pickupRequestNo,
126
	35:string pickupRequestNo,
127
	36:i64 transactionId
127
	36:i64 transactionId,
-
 
128
	37:string purchaseOrderNo
128
}
129
}
129
 
130
 
130
struct Transaction{
131
struct Transaction{
131
	1:i64 id,
132
	1:i64 id,
132
	2:list<Order> orders,
133
	2:list<Order> orders,
Line 422... Line 423...
422
	ReturnOrder getReturnOrder(1:i64 id) throws (1:TransactionServiceException ex),
423
	ReturnOrder getReturnOrder(1:i64 id) throws (1:TransactionServiceException ex),
423
	
424
	
424
	/**
425
	/**
425
	Marks the return order with the given id as processed. Raises an exception if no such return order exists. 
426
	Marks the return order with the given id as processed. Raises an exception if no such return order exists. 
426
	*/
427
	*/
427
	void processReturn(1:i64 returnOrderId) throws (1:TransactionServiceException ex)
428
	void processReturn(1:i64 returnOrderId) throws (1:TransactionServiceException ex),
-
 
429
 
-
 
430
	/**
-
 
431
	Creates a purchase order corresponding to all the pending orders of the given warehouse.
-
 
432
	Returns the PO no. of the newly created purchase order. Returns -1 no new purchase order had to be created.
-
 
433
	*/
-
 
434
	i64 createPurchaseOrder(1:i64 warehouseId) throws (1:TransactionServiceException ex)
428
}
435
}
429
436