Desktop version

Main > Forum > Applications > 1C:Standard Subsystems Library (SSL) > Predefined Description - User manual changed Description

Forum

Search UsersRules
Predefined Description - User manual changed Description
#1
Interested
Points:: 0
Joined:: Apr 5, 2012

Hi,

In some catalogs I have predefined objects. But in 1C:Enterprise mode user can (may-should) change description.

How can I compare with description setted at designer between description that user changed?

Profile
#2
Interested
Points:: 0
Joined:: Apr 5, 2012

Or can we update user descriptions 1C:Enterprise mode upon description setted at desginer?

Profile
#3
Active user
Points:: 0
Joined:: Nov 19, 2012

Did you try property PredefinedDataName for an object?
As example:

Code
Serv = Catalogs.Goods.Service.GetObject();
Name = Serv.PredefinedDataName;

Profile
#4
Interested
Points:: 0
Joined:: Apr 5, 2012

I do not need name, I need description.

Profile
#5
Active user
Points:: 0
Joined:: Nov 19, 2012

Quote
Murat Yazlıyev wrote:
I do not need name, I need description.
I think you cannot do it.
Maybe method SetPredefinedDataUpdate of catalog's manager can help you to overwrite user's changes in predefined data, but I am not sure.

Profile
#6
Guest
Points::
Joined::

Hello, Murat!

Because there are more attributes than only Description, this kind of updates should be performed during the infobase update by the Script. Please see InfoBaseVersionUpdate subsystem of 1C:Subsystems Library 2.0.

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



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.