title: acumatica add field to display values from database
body: <p>I created a custom field UsrFOBprice in Stock Items Screen(IN202500),</p>
  
  <p>I also created a new custom screen in Purchase Order. 
  <a href="https://i.stack.imgur.com/YYjnu.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>How do I add Inventory ID lookup field and the custom field FOB price in this new screen which would display the values from the database?</p>
  
  <p>(When I try to add new field on the new screen it says MasterTable does not exist in the database)</p>
  
  <pre><code>using System;
  using PX.Data;
  
      namespace NewScreen
      {
        public class NewPurchaseOrder : PXGraph&lt;NewPurchaseOrder&gt;
        {
  
  
          public PXCancel&lt;MasterTable&gt; Cancel;
  
  
          public PXFilter&lt;MasterTable&gt; MasterView;
          public PXFilter&lt;DetailsTable&gt; DetailsView;
  
          [Serializable]
          public class MasterTable : IBqlTable
          {
  
          }
  
          [Serializable]
          public class DetailsTable : IBqlTable
          {
  
          }
  
  
        }
      }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Pq5At.png" rel="nofollow noreferrer">DAC</a></p>