How to Delete Information Register Records

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2011
Company:

Hello everyone!
I have a tiny problem: when a catalog item is written information register records are written also. So if it is possible to remove those information register records when the catalog item is marked for deletion and return them back when the deletion mark is unset?

 
#2
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Mar 15, 2012
Company: no

Dimentions of information registers have property master. "Record will be subordinate to objects written in this dimension"

It mean that if you will delete item of catalog, record of register will be deleted too.

If you want deactivate record of register you should use event subscribtion or procedure OnWrite() in object module of catalog.

 
#3
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2011
Company:

Right what I need, thanks, Mikhail Goncharov!

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.