The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Active user
Rating: 5
Joined: Jun 4, 2013
Company:

Sorry for asking a lot ... i hope my questions are helping other people here.

I'm trying to make a report that record actions on a catalog.

for example if I create one record in a catalog the application will know what happened (Added,Changed, or Deleted) and write the action in the report  

if someone have any idea how to do this please answer.

and thanks in advance.

 
#2
People who like this: 0 Yes / 0 No
Active user
Rating: 4
Joined: Nov 19, 2012
Company:

Hi,
first of all try answer to question - what kind of data would you like see in this report?

If you just want to see who, when and what modified - it's not necessary configuring something. This information already exist in Event log, and you may get it by special function: UnloadEventLog(<Destination>, <Filter>, <Columns>, <InputFileName>, <MaximumCount>)

If you want to see all versions modified objects - it's is two diffrent ways:
1) Use the appropriate subsystem fr om 1C:Subsystem library - it's very ease and already contain report about objects modification.
2) If you configuration does not use 1C:Subsystem library - try to create yourself version of this mechanism. You may add new "event subscription", specify object that you want to monitor, and add some code inside event-module wh ere you write all information you want about user action (you may store this info in some catalog or information register).

Edited: Aleksey Bochkov - Jun 12, 2013 07:18 AM
 
#3
People who like this: 0 Yes / 0 No
Active user
Rating: 5
Joined: Jun 4, 2013
Company:

Thanks for the advice .... I'm working now on a costume function :)

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)