Good day, there is an external report on the ACS, for output of which it is necessary to set a lot of parameters (nomenclature groups, warehouses, etc.), which causes the user to have a “light” attack of dissatisfaction, is it possible to save the set values ​​of the parameters and restore them when will the report be open next time?

1C: Enterprise 8.2 (8.2.15.294) UPP

  • code for 1c admitting)))))))) - Gorets
  • There is no code except for the request) - Egor Sokolov

1 answer 1

Try this:

Menu All Actions

Save Report Settings Window

UPD.

Настройки = КомпоновщикНастроек.ПолучитьНастройки(); Настройки.ПараметрыДанных.УстановитьЗначениеПараметра("НачалоПериода", ТекущаяДата()); Настройки.ПараметрыДанных.УстановитьЗначениеПараметра("КонецПериода", КонецМесяца(ТекущаяДата())); 

Then according to the old МакетКомпоновки > ПроцессорКомоновкиДанных > ПроцессорВывода scheme МакетКомпоновки > ПроцессорКомоновкиДанных > ПроцессорВывода

  • I meant programmatically - Egor Sokolov
  • You did not quite understand me. I want the user to enter parameters once (for example, an array of warehouses) and these parameters are saved in some kind of user settings storage (if there is one). When a report is opened, these parameters are loaded from the repository and set in the ACS. Each user has its own repository of settings. If the settings change, the procedure repeats. Is it possible - Egor Sokolov
  • 1. The user after entering the initial settings presses the corresponding buttons in fig. 1, when opened, loads the last saved version 2. Manual work with the User Storage Repository. There are methods to save / load, the key will be the name of your external report, you also need to specify the user name for which to save the settings and the name of the key of the settings option. - mantigatos
  • Thanks, I will try) - Egor Sokolov