Subversion Repositories SmartDukaan

Rev

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

Rev 4506 Rev 4579
Line 419... Line 419...
419
	Also, it generates an invoice number for the order, marks the order as
419
	Also, it generates an invoice number for the order, marks the order as
420
	BILLED and sets the billing timestamp.
420
	BILLED and sets the billing timestamp.
421
	Returns false if it doesn't find the order with the given ID.
421
	Returns false if it doesn't find the order with the given ID.
422
	*/
422
	*/
423
	bool addBillingDetails(1:i64 orderId, 2:string invoice_number, 3:i64 imeiNumber, 4:string itemNumber, 5:string billed_by, 6:i64 jacketNumber, 7:i64 billingType, 8:i64 vendorId) throws (1:TransactionServiceException ex),
423
	bool addBillingDetails(1:i64 orderId, 2:string invoice_number, 3:i64 imeiNumber, 4:string itemNumber, 5:string billed_by, 6:i64 jacketNumber, 7:i64 billingType, 8:i64 vendorId) throws (1:TransactionServiceException ex),
-
 
424
 
-
 
425
	/**
-
 
426
	Add the invoice number to the order.
-
 
427
	*/	
-
 
428
	void addInvoiceNumber(1:i64 orderId, 2:string invoiceNumber) throws (1:TransactionServiceException ex),
424
		
429
		
425
	/**
430
	/**
426
	Depending on the third parameter, marks either all prepaid or all cod orders BILLED by the
431
	Depending on the third parameter, marks either all prepaid or all cod orders BILLED by the
427
	given warehouse and were picked up by the given provider as MANIFESTED.
432
	given warehouse and were picked up by the given provider as MANIFESTED.
428
	*/
433
	*/
Line 501... Line 506...
501
	If the order status was DELIVERY_SUCCESS, it is changed to be DOA_PICKUP_REQUEST_RAISED.
506
	If the order status was DELIVERY_SUCCESS, it is changed to be DOA_PICKUP_REQUEST_RAISED.
502
	If the order status was DOA_PICKUP_REQUEST_RAISED, it is left unchanged.
507
	If the order status was DOA_PICKUP_REQUEST_RAISED, it is left unchanged.
503
	For any other status, it returns false.
508
	For any other status, it returns false.
504
	Throws an exception if the order with the given id couldn't be found.
509
	Throws an exception if the order with the given id couldn't be found.
505
	*/
510
	*/
506
	bool requestPickupNumber(1:i64 orderId) throws (1:TransactionServiceException ex),
511
	bool requestPickupNumber(1:i64 orderId, 2:i64 providerId) throws (1:TransactionServiceException ex),
507
	
512
	
508
	/**
513
	/**
509
	If the order status is DOA_PICKUP_REQUEST_RAISED, it does the following
514
	If the order status is DOA_PICKUP_REQUEST_RAISED, it does the following
510
		1. Sends out an email to the customer with the dispatch advice that he has to print as an attachment.
515
		1. Sends out an email to the customer with the dispatch advice that he has to print as an attachment.
511
		2. Changes order status to be DOA_PICKUP_AUTHORIZED.
516
		2. Changes order status to be DOA_PICKUP_AUTHORIZED.