What is Catalogs.ContactType.MainPhone in this example

For students who study 1C Junior course.

#1
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Mar 22, 2021
Company: 1C Vietnam

Hi everyone.
I'm following this tutorial.


In 6:56 I see Catalogs.ContactType.MainPhone
My question is
Is this Attribute with an enumeration type or a data object of the ContactType Catalog or what kind of this is?
Thank you.

 
#2
People who like this:0Yes/0No
Active user
Rating: 3
Joined: Mar 10, 2017
Company: Rufinor

Hi,

Catalogs.ContactType.MainPhone  is a predefined catalog element that you can operate with in script language similarly as you do this with enumerations. Unlike enumerations such element has all attributes and methods as standard elements of a catalogue

Best regards,
Alex

 
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.