Therefore, 1C:Enterprise provides a script for programming the business logic within the context of the 1C:Enterprise object model. The script is used to program the handlers of various events that change the state of system objects, i.e., user command handlers, document posting handlers, etc.
It is important to note that the script’s structural features correspond directly to the data structure design model implemented in 1C:Enterprise. Since the whole configuration development is based on standard system objects, the developer of applied solutions can use script objects that correspond to these system objects and are very functional and flexible.
Among the most important technological features of the script are the following:
- precompilation. Modules are converted to the native code before execution;
- caching compiled modules in the memory;
- soft typing: you can change the type of variables in the course of work;
- no programmatic description of configuration objects: the applied solution can manipulate objects integrated into the 1C:Enterprise platform as well as objects described by the developer in the process of visual construction of the system as metadata objects.