I'm trying to add a column to the Inventory Summary (IN.40.10.00) grid and I feel like I must be missing something simple.
I need to output the INLocation.PickPriority value as a column which corresponds to the LocationID.
I've created this DAC extension:
public class InventorySummaryEnquiryResultExt : PXCacheExtension<PX.Objects.IN.InventorySummaryEnquiryResult>
{
#region UsrPickPriority
[PXInt]
[PXDBScalar(typeof(Search<INLocation.pickPriority,
Where<INLocation.locationID, Equal<InventorySummaryEnquiryResult.locationID>,
And<INLocation.siteID, Equal<InventorySummaryEnquiryResult.siteID>>>>))]
[PXUIField(DisplayName = "Pick Priority")]
public virtual int? UsrPickPriority { get; set; }
public abstract class usrPickPriority : PX.Data.BQL.BqlInt.Field<usrPickPriority> { }
#endregion
}
The PickPriority value is set to 999 in the Warehouses (IN.20.40.00) screen, but I can't get it to display on the Inventory Summary screen. It’s always null.
Can anyone point me in the right direction?
Best answer by Naveen Boga
View original