Subversion Repositories SmartDukaan

Rev

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

Rev 4979 Rev 4985
Line 490... Line 490...
490
	
490
	
491
	/**
491
	/**
492
	This method adds a log to authorize table with Item Id, username who authorized the change, reason.
492
	This method adds a log to authorize table with Item Id, username who authorized the change, reason.
493
	*/
493
	*/
494
	bool addAuthorizationLog(1:i64 itemId, 2:string username, 3:string reason) throws (1:InventoryServiceException cex)
494
	bool addAuthorizationLog(1:i64 itemId, 2:string username, 3:string reason) throws (1:InventoryServiceException cex)
-
 
495
 
-
 
496
    /**
-
 
497
     * Resets availability of an item to the quantity mentioned in a warehouse.
-
 
498
     */
-
 
499
    void resetAvailability(1:string itemKey, 2:i64 vendorId, 3:i64 quantity, 4:i64 warehouseId) throws (1:InventoryServiceException cex);
-
 
500
 
-
 
501
    /**
-
 
502
     * Returns the list of item keys which need to be processed for a given warehouse.
-
 
503
     * This is currently used by Support application to send item keys whose inventory needs 
-
 
504
     * to be updated from PLB
-
 
505
     */
-
 
506
    list<string> getItemKeysToBeProcessed(1:i64 warehouseId);
-
 
507
 
-
 
508
    /**
-
 
509
     * Marks/Deletes missed inventory updates for a given key and warehouse.
-
 
510
     * This generally happens when updates from PLB are applied on the currentinventorysnapshot for an item
-
 
511
     */
-
 
512
    void markMissedInventoryUpdatesAsProcessed(1:string itemKey, 2:i64 warehouseId);	
495
}
513
}
496
514