Hello All,
I am adding a restrictor to ProjectID as follows:
[PXRestrictor(
typeof(Where<PMProject.defaultBranchID.IsInSubselect<SelectFrom<PX.SM.UserPreferences>
.Where<PX.SM.UserPreferences.userID.IsEqual<AccessInfo.userID.FromCurrent>>
.SearchFor<PX.SM.UserPreferences.defBranchID>>>),
"Invalid Project")]
The Selector works fine and shows the desired list but when I select a project from the list which is valid, the field does not hold the value and it clears it out. I checked the SQL query for the Selector and it is fine as well and returns the desired ResultSet. Any idea what is happening on the interface?