I want to create a custom field using the [Inventory] attribute so that I get the selector and it is all sorted out for me. I don’t want it to be PXDBInt. I want it to be a virtual field of type PXInt.
#region UsrModEquipTempID
[Inventory]
[PXUIField(DisplayName = "Model Equipment")]
public int? UsrModEquipTempID { get; set; }
public abstract class usrModEquipTempID : PX.Data.BQL.BqlInt.Field<usrModEquipTempID> { }
#endregion
If I put [PXInt], it causes a compiler error.
How can I do that?
Best answer by Naveen Boga
View original