SetRequiredUse(<Field>, <Use>)


<Field> (required)

Type: String.
Field value of which it is mandatory to obtain on the client.

<Use> (required)

Type: Boolean.
Indicates whether field selection is mandatory.
True - the field is mandatory.
False - the field is optional.


Sets up a flag for mandatory selection of this column and passing it to the client side.
If the flag for required selection of this column is not set and the column is invisible (e.g. a hidden column in a table), the data for this column will not be selected.
If you plan to access the data programmatically, you have to set up the mandatory selection flag for this column.


Thin client, web-client, server, thick client, Mobile application (client), Mobile application (server).


1C:Enterprise Developer's Community