title: Acumatica Error: 'AP Sub.' cannot be empty
body: <p>In Acumatica I am trying to update payment instructions on a location for a supplier and it wont allow me to save saying Error: 'AP Sub.' cannot be empty.</p>
  
  <p>I am not using sub accounts at all and the GL accounts tab is filled out.</p>
  
  <p>After getting the message a trace shows the following:</p>
  
  <p>Error:  Error: 'AP Sub.' cannot be empty.      Send
  Raised At: 26/06/2017 1:19:58 AM    Screen: AP.30.30.10 Command: Save</p>
  
  <p>26/06/2017 1:19:58 AM Error: 
  Error: 'AP Sub.' cannot be empty. </p>
  
  <pre><code>    at MYOB.AdvancedLive.Core.Extensions.AP.VendorLocationMaintExtension.Location_RowPersisting(PXCache sender, PXRowPersistingEventArgs args, PXRowPersisting handler) 
     at PX.Data.PXRowPersisting.Invoke(PXCache sender, PXRowPersistingEventArgs e) 
     at PX.Data.PXCache.OnRowPersisting(Object item, PXDBOperation operation) 
     at PX.Data.PXCache`1.PersistUpdated(Object row) 
     at PX.Data.PXCache`1.Persist(PXDBOperation operation) 
     at PX.Data.PXGraph.Persist(Type cacheType, PXDBOperation operation) 
     at PX.Data.PXGraph.Persist() 
     at PX.Objects.CR.LocationMaint.Persist() 
     at PX.Objects.AP.VendorLocationMaint.Persist() 
     at PX.Data.PXSave`1.d__2.MoveNext() 
     at PX.Data.PXAction`1.d__31.MoveNext() 
     at PX.Data.PXAction`1.d__31.MoveNext() 
     at PX.Web.UI.PXBaseDataSource.tryExecutePendingCommand(String viewName, String[] sortcolumns, Boolean[] descendings, Object[] searches, Object[] parameters, PXFilterRow[] filters, DataSourceSelectArguments arguments, Boolean&amp; closeWindowRequired, Int32&amp; adapterStartRow, Int32&amp; adapterTotalRows) 
     at PX.Web.UI.PXBaseDataSource.ExecuteSelect(String viewName, DataSourceSelectArguments arguments, PXDSSelectArguments pxarguments) 
  </code></pre>