/// <summary>
		/// This method will return an object representing the record matching the primary key information specified.
		/// </summary>
		///
		/// <param name="pk" type="INVProductStockBatchPrimaryKey">Primary Key information based on which data is to be fetched.</param>
		///
		/// <returns>object of class INVProductStockBatch</returns>
		public INVProductStockBatch SelectOne(INVProductStockBatchPrimaryKey pk)
		{
			_iNVProductStockBatchWCF = new INVProductStockBatch();
			_iNVProductStockBatch = POS.DataLayer.INVProductStockBatchBase.SelectOne(new POS.DataLayer.INVProductStockBatchPrimaryKey(pk.ProductStockBatchID));
			
				_iNVProductStockBatchWCF.ProductStockBatchID = _iNVProductStockBatch.ProductStockBatchID;
				_iNVProductStockBatchWCF.ProductStockID = _iNVProductStockBatch.ProductStockID;
				_iNVProductStockBatchWCF.BatchID = _iNVProductStockBatch.BatchID;
				_iNVProductStockBatchWCF.Qty = _iNVProductStockBatch.Qty;
				
			return _iNVProductStockBatchWCF;
		}
		///<summary>
		///This method will Delete the object from the database
		///</summary>
		///<param name="pk" type="INVProductStockBatchPrimaryKey">Primary Key information based on which data is to be fetched.</param>
		/// <returns>True if succeeded</returns>
		public bool Delete(INVProductStockBatchPrimaryKey pk)
		{
			return POS.DataLayer.INVProductStockBatchBase.Delete(new POS.DataLayer.INVProductStockBatchPrimaryKey(pk.ProductStockBatchID));
		}