Solved

PXRestrict Change My display text

  • 19 October 2023
  • 1 reply
  • 39 views

Userlevel 3
Badge

    [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

icon

Best answer by sweta68 19 October 2023, 12:36

View original

1 reply

Userlevel 7
Badge +10

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


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved