Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Additional unique attribute

Forum

Search UsersRules
Additional unique attribute
#1
Active user
Points:: 3
Joined:: Sep 16, 2011

Hello!

I would like to make one of my custom attributes being unique. In addition to Code. But can't find any properties to set it unique.
Is there a way to do so?

Profile
#2
Guest
Points::
Joined::

You need to check it in BeforeWrite event in your catalog's Object Module using a query and if an item with the same attribute value is found you should set Cancel parameter of the event handler to True and return.

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.