Setup > General parameters > Personalization > Screens > Access code assignment 

This function is used to assign to the different fields in the entry screens access codes used to restrict access on entry or display to certain users.

An access code is an alphanumeric code, which can be attached or not to a user (in the Access tab, a check box All access codes gives global access). If it is not attached to a user, all fields controlled by this access code are inaccessible to the user (in both inquiry and entry mode). If this code is present in the user profile, the following indicators Inquiry, Modification, Execution  are available :

  • the Inquiry right is linked to the possibility to view the contents of a field on a screen.
  • the Modification right is linked to the possibility to modify the contents of a field on a screen (if, in addition, the application logic authorizes it).
  • the Execution right is not relevant to this case.

It should be noted that the Modification right implies the Inquiry right in the case of screens (this is not necessarily the case for other uses for these access codes).

Any field that does not have an access code (this is in principle the general rule, access codes normally being used by exception) can be consulted and modified within the limits fixed by the application logic and the access rights of the corresponding functions.

Prerequisite

SEEREFERTTO Refer to documentation Implementation

Screen management

Entry screen

Presentation

After having selected a screen to customize, a list of fields existing in the screen is displayed in the grid. It is then possible to associate an access code to each of these.

Close

 

Fields

The following fields are present on this tab :

Block number 1

The code for the screen whose fields need to be affected is entered here. The editable fields appear then in the following grid.

  • Description (field COMMENT)

Title associated with the previous code.

Grid

  • No. (field NUMLIG)

 

  • Field (field ZONE)

 

  • Description (field INTIT)

Title associated with the previous code.

Enter an access code for the selected screen field, if needed.

Close

 

Important notes

This function works on the screen structure that is being modified and the saving of the modifications leads to an automatic re-evaluation of the screen, the window and the associated process in all the folder languages (a box signals that the compiling is underway is displayed).

When wanting to use this functionality :

  • the first thing to understand is the screen code that is to be re-parameterized. The simplest way to do this is to set in enter mode on one of the fields in the screen in question, then use the function Field info, accessible either from the general help menu or by using the button . The screen that is displayed carries the title Field XXX / Screen YYY, and this provides access to its information.
  • it is necessary to be careful not to use this function in a screen automatically generated by means of transactions (a revalidation of the corresponding transactions will lose the modification). In this case it is necessary to modify the screen templates used by the transaction, and then revalidate the transactions that inherit the characteristics parameterized in this way.

This function is a parameterization. This signifies that the modifications carried out in this case remain even if there is a version change. In fact, as standard, no control table, no access code, nor conditional style is associated with field in the screen, even if this information is part of the screen description. They are no longer displayed by any patch.

Error messages

The only error messages are the generic ones.

Tables used

SEEREFERTTO Refer to documentation Implementation