Skip to main content
Answer

Error: An error occurred during processing of the field Location value DEFAULT Error: Location 'DEFAULT ' cannot be found in the system.

  • June 14, 2025
  • 3 replies
  • 91 views

On purchase receipt Release getting this error Version is 24R2
Its working fine in local getting error on sandbox 
Note: Its not a space issue in database already check that 
#region UsrLocation
// Acuminator disable once PX1023 MultipleTypeAttributesOnProperty [Justification]
[PXDBInt()]
[PXUIField(DisplayName = "Location")]
[Location(typeof(usrWarehouse), DisplayName = "Location")]
public virtual int? UsrLocation { get; set; }
public abstract class usrLocation : PX.Data.BQL.BqlInt.Field<usrLocation> { }
#endregion

#region UsrWarehouse
[PXDBInt()]
[PXUIField(DisplayName = "Warehouse")]
[PXDimensionSelector(SiteAttribute.DimensionName, typeof(INSite.siteID), typeof(INSite.siteCD), DescriptionField = typeof(INSite.descr))]
[PXRestrictor(typeof(Where<INSite.active, Equal<True>>), PX.Objects.IN.Messages.InactiveWarehouse, typeof(INSite.siteCD))]
[PXRestrictor(typeof(Where<INSite.branchID, Equal<Current<AccessInfo.branchID>>>), "You can only select warehouses from your current branch.")]
public virtual int? UsrWarehouse { get; set; }
public abstract class usrWarehouse : PX.Data.BQL.BqlInt.Field<usrWarehouse> { }
#endregion

Best answer by JohnMichels

On your PO Receipt, warehouse = WDWHSE and LOCATION = DEFAULT.   These values need to be included Stock Item record.  From the images you provided, they are not included on the SPECIALORD stock item record. 

3 replies

Forum|alt.badge.img+1
  • Jr Varsity I
  • June 14, 2025

You should start by the Stock Item/Warehouse settings to make sure there is a default warehouse with locations set (default receipt to), 

 

 


  • Author
  • Freshman II
  • June 17, 2025

You should start by the Stock Item/Warehouse settings to make sure there is a default warehouse with locations set (default receipt to), 

 

 

For every stock items default Warehouse is already set still getting this error.


Forum|alt.badge.img+1
  • Jr Varsity I
  • Answer
  • June 18, 2025

On your PO Receipt, warehouse = WDWHSE and LOCATION = DEFAULT.   These values need to be included Stock Item record.  From the images you provided, they are not included on the SPECIALORD stock item record.