
I have added these subaccount in the restriction group and i wanted to allow user to only see these in the reports during generation.
I also checked the apply restriction in report definition

It still shows all the subaccount in the list


I have added these subaccount in the restriction group and i wanted to allow user to only see these in the reports during generation.
I also checked the apply restriction in report definition

It still shows all the subaccount in the list

Best answer by ron
I was able to solve this issue using customization
This is code
public sealed class RMReportPmExt : PXCacheExtension<RMReport>
{
public static bool IsActive() => true;
#region SubCD (Override selector with access restriction)
[PXMergeAttributes(Method = MergeMethod.Replace)]
[PXDimension("SUBACCOUNT")]
[PXSelector(
typeof(Search<Sub.subCD, Where<Match<Current<AccessInfo.userName>>>>),
typeof(Sub.subCD),
typeof(Sub.description)
)]
[PXString]
public string SubCD
{
get => null;
set { }
}
public abstract class subCD : BqlType<IBqlString, string>.Field<subCD>
{
}
#endregion
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.