0
votes

I have a requirement for displaying allocated quantity in line items grid in Sales Order screen SO301000. As this is display only field, it should be unbound field. I know I can create unbound field for new screen by setting PrimaryView and TypeName properties. But not sure for an existing screen.

1
Got the answer. Simply create a respective CacheExtension and without PXDB datatype declaration. - Krunal

1 Answers

0
votes

Declare respective CacheExtension. Include your unbound field declaration without PXDB datatypes. DB in the type attribute name denotes whether the field is bound.

#region UsrQtyAllocated
        public abstract class usrQtyAllocated : IBqlField { }
        protected Int32? _UsrQtyAllocated;
        [PXUIField(DisplayName = "Qty. Allocated")]
        public virtual Int32? UsrQtyAllocated { get; set; }
#endregion