title: Acumatica Extension on SOSitesStatusSelected
body: <p>I've been having this problem on Acumatica extension for days now and can't seem to figure out the resolution. I've added an action on the Inventory Lookup Dialog of Sales Order screen (see screenshot below), the action is task to update the QtySelected to 1 and also to update my added Field which is the Brand to "testBrand". It is an extension of the SOSitesStatusSelected table, but whenever i clicked on the action, it only updates QtySelected and not my added Field Brand.</p>
  
  <p>You may refer to my code below, thank you and I appreciate all the help.</p>
  
  <p><a href="https://i.stack.imgur.com/8k0by.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8k0by.png" alt="enter image description here"></a></p>
  
  <pre><code>//DAC
    #region UsrBrand                            
    [PXUIField(DisplayName = "Brand", Visible = true, Enabled = true)]    
    public virtual string UsrBrand{get;set;}
    public abstract class usrBrand : IBqlField{}    
    #endregion
  
  //BLC
  public PXAction&lt;PX.Objects.SO.SOOrder&gt; updateAttributes;  
  [PXButton(CommitChanges = true)]
  [PXUIField(DisplayName = "Update Attributes")]
  protected void UpdateAttributes()
  {
    this.Base.sitestatus.AllowInsert= true;
    this.Base.sitestatus.AllowUpdate= true;
    foreach (SOSiteStatusSelected line in this.Base.sitestatus.Select())
    {                               
  
      line.QtySelected = 1;
      this.Base.sitestatus.Update(line);
  
      SOSiteStatusSelectedExt rowExt = this.Base.sitestatus.Cache.GetExtension&lt;SOSiteStatusSelectedExt&gt;(line);
      rowExt.UsrBrand = "testBrand";
      this.Base.sitestatus.Cache.Update(rowExt);        
  
    }
  }
  </code></pre>