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