I have had this code for years now, but now with version 11.13 the RowVisibleForHelper no longer exists. What can I do now?
SelectionRow selc = SelectionRow.CreateNew();
selc.SetDefaultsAsync();
selc.Name = details.SelectionName;
selc.Seltype = 0; //static
selc.TargetTableNumber = details.TargetTableNumber;
selc.SaveAsync();
int group = SoContext.CurrentPrincipal.GetGroupId();
if (details.GroupId != 0)
group = details.GroupId;
switch (details.Visibility)
{
case VisibilityMode.All:
RowVisibleForHelper.SetVisibleFor(selc, RowVisibleForHelper.VisibleFor.All);
break;
case VisibilityMode.Group:
RowVisibleForHelper.SetVisibleFor(selc, RowVisibleForHelper.VisibleFor.Group, group);
break;
case VisibilityMode.Private:
RowVisibleForHelper.SetVisibleFor(selc, RowVisibleForHelper.VisibleFor.Private);
break;
}
Alles Antwoorden (1)
EntityVisibleForHelper inside namespace SuperOffice.CRM.Entities seems like the logical replacement?
2 u, 5 m geleden | 12:04 p.m.
Reply toevoegen
info
Login om te antwoorden.