Hello Community,
I have been trying to add a Contact selector field in the Stock Items (IN202500) but looks like there’s something I am missing here. Can anyone guide me out what else I am missing here?
Code Attribute:
[PXDBInt]
[PXUIField(DisplayName = "Contact", Visibility = PXUIVisibility.SelectorVisible)]
[PXSelector(typeof(Search<CRContact.contactID>),
new Type[] {
typeof(CRContact.contactID),
typeof(CRContact.fullName),
typeof(CRContact.email)
},
SubstituteKey = typeof(CRContact.contactID),
DescriptionField = typeof(CRContact.fullName),
CacheGlobal = true
)]
Best answer by Harshita
View original