Updating catalog from common module

The 1C:Enterprise developers forum

People who like this:0Yes/0No
Just came
Rating: 1
Joined: Nov 13, 2020
Company: IC Yazilim


I'm trying to create scheduled job for checking (catalog)activities' date and changing their (enum)status. But I'm getting an error which is shown in screenshot.

Download 1.png (191.67 KB)
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Dec 6, 2019
Company: 1C Innovation Vietnam


If you wanna change an attribute of a catalog, you need to modify the catalog object, not the catalog reference.
For example

ActivityObject = Activity.GetObject();
ActivityObject.Status = ActStatus.Delayed;

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.