Renegade
16th March 2014, 18:28
Environment: ERP 5c
Server OS: Windows

Am trying to hide certain field values on session forms that are already stored in tables. This applies to both multi-occurence and single-occurence sessions. TTAMS authorizations seem to help if I want to insert a record, but not of help if I just want to mask certain values. For example, would like to mask Purchase Price values for certain users. And I don't have source code so inputfieldinvisible is not an option. Am wondering if there is an option available at all in Vc that can satisfy my requirement using ttams sessions. Thanks in advance for any help.

bhushanchanda
17th March 2014, 09:37
Hi,

There can be ways to do it. A way to do it is, duplicate the session and get it into your own VRC. Now, use Dynamic Form to remove those fields. Give the access of this session to your users for whom you want to restrict the access.

This way you wont need any authorizations to do at table field level.

mrinmoygupta
17th March 2014, 12:16
In Baan IV you can use "Maintain Table Field Authorizations" and choose "Not Authorized" as "Authorization Indicator" to mask the field value.
You can offcourse change the form as an alternative as the other member has suggested.

Environment: ERP 5c
Server OS: Windows

Am trying to hide certain field values on session forms that are already stored in tables. This applies to both multi-occurence and single-occurence sessions. TTAMS authorizations seem to help if I want to insert a record, but not of help if I just want to mask certain values. For example, would like to mask Purchase Price values for certain users. And I don't have source code so inputfieldinvisible is not an option. Am wondering if there is an option available at all in Vc that can satisfy my requirement using ttams sessions. Thanks in advance for any help.

Renegade
18th March 2014, 01:37
Hi,

There can be ways to do it. A way to do it is, duplicate the session and get it into your own VRC. Now, use Dynamic Form to remove those fields. Give the access of this session to your users for whom you want to restrict the access.

This way you wont need any authorizations to do at table field level.

Thanks Bhushan. And interesting. But what if the session is already in the VRC linked to PC and Customized. No, we don't own the source. And this masking of field values is only for some users, not for all.

bhushanchanda
18th March 2014, 09:30
Hi,

Again, there are 3 ways to deal with that. One way is to duplicate the session and make a new one, remove the unwanted fields and give access to the restricted users to this session. But make sure, if there are any related AFS or session calls to the main session, you have to handle this session the same way.

Second way is to use session wrappers if you are open to such ideas.

And offcourse, table field authorization works as the other member suggested. Check the snap where I make reference A field for table tdsls400 masked.