Skip to main content
Solved

PXRestrict Change My display text

  • October 19, 2023
  • 1 reply
  • 45 views

Forum|alt.badge.img

    [PXDBInt]
    [PXRestrictor(typeof(Where<InventoryItem.itemType, Equal<INItemTypes.nonStockItem>>), "Non-Stock Only")]
    [PXSelector(typeof(Search<InventoryItem.inventoryID>),typeof(InventoryItem.inventoryCD),SubstituteKey = typeof(InventoryItem.inventoryCD),DescriptionField =typeof(InventoryItem.descr))]
    [PXUIField(DisplayName = "Item ID")]
    public virtual int? UsrItemID { get; set; }
    public abstract class usrItemID : PX.Data.BQL.BqlInt.Field<usrItemID> { }

I should show Item ID

Best answer by sweta68

Hi @kevinheng21 ,

I didn't see any issues in the code, and I have tested it in my local environment, where I was able to display the Item ID display name.
 

Regards,

Sweta

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+9
  • Semi-Pro III
  • 229 replies
  • Answer
  • October 19, 2023

Hi @kevinheng21 ,

I didn't see any issues in the code, and I have tested it in my local environment, where I was able to display the Item ID display name.
 

Regards,

Sweta


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings