title: quickbooks purchase details
body: <p>When doing a purchase in qb you would enter a bill against the item you are buying. My question is the following:
  a. when using qbfc which component would be the correct one, i have tried the ibillquery, itranscationquery but cant seem to find the correct one.</p>
  
  <pre><code>Dim MsgRq As IMsgSetRequest
          MsgRq = sessMgr.CreateMsgSetRequest("US", 4, 0)
  
      Dim bquery As IBillQuery
      bquery = MsgRq.AppendBillQueryRq
      bquery.ORBillQuery.RefNumberList.Add("")
  
      Dim MsgRs As IMsgSetResponse
      MsgRs = sessMgr.DoRequests(MsgRq)
  
      Dim resp As IResponse
      resp = MsgRs.ResponseList.GetAt(0) 
  
      Dim blist As IBillRetList
      blist = resp.Detail
  
      Dim x As Integer
      For x = 0 To blist.Count - 1
          Dim bret As IBillRet
          bret = blist.GetAt(x)
          Console.Write(bret.ORItemLineRetList.GetAt(0).ItemLineRet.Desc.GetValue)
      Next 
  </code></pre>
  
  <p>The above works well for retrieving the actual bill info bot not the underlying stock.</p>