Hi,
I want a custom selector on my project screen that functions the same way as the 'Owner' selector on the Project Quote screen. I have provided my code, and although I am getting a selector, it does not match the 'Owner' selector Of the Project Quote screen.
#region UsrOwner
public abstract class usrOwner : PX.Data.BQL.BqlInt.Field<usrOwner> { }
[PXSelector(typeof(Search<Contact.contactID,
Where<Contact.contactType, Equal<ContactTypesAttribute.person>,
And<Contact.isActive, Equal<True>>>>),
SubstituteKey = typeof(Contact.displayName),
DescriptionField = typeof(Contact.fullName))]
[PXDBInt(BqlField = typeof(CROpportunityRevision.ownerID))]
[PXUIField(DisplayName = "Owner", Visibility = PXUIVisibility.SelectorVisible)]
public virtual int? UsrOwner { get; set; }
#endregion
The below mentioned data I want in my custom selector field.
The below image shows wrong data which I ‘m getting from my code.
Regards,
Sweta
Best answer by Naveen Boga
View original