Legal Entity Contacts in Designer

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 8
Joined: Oct 15, 2024
Company:

Why are the fields in legal entity contacts not appear in the designer?

 
#2
People who like this:0Yes/0No
Administrator
Rating: 32
Joined: Oct 3, 2019
Company:

Hello Gigha,

the whole point is that the Client can have several contacts, and therefore the group “ContactInfomationGroup” is filled dynamically, depending on the presence (or absence) of contacts of the Client.

See how this is implemented in the "OnCreateAtServer" procedure.

Download 1.png (18.7 KB)
 
#3
People who like this:0Yes/0No
Active user
Rating: 8
Joined: Oct 15, 2024
Company:

Quote
Hello Gigha,

the whole point is that the Client can have several contacts, and therefore the group “ContactInfomationGroup” is filled dynamically, depending on the presence (or absence) of contacts of the Client.

See how this is implemented in the "OnCreateAtServer" procedure.

How to add the Legal Entity Contact field to the form used for new employee creation assistant in the "Employee" catalog

 
#4
People who like this:0Yes/0No
Administrator
Rating: 32
Joined: Oct 3, 2019
Company:

I think it's a not a good idea to make contacts for "Employee" the same way as it is done for "Counterparties"...

Maybe you can just add the required attribute to the  Catalog "Employees", for example "Address", and use it?

 
#5
People who like this:0Yes/0No
Active user
Rating: 8
Joined: Oct 15, 2024
Company:

Quote
I think it's a not a good idea to make contacts for "Employee" the same way as it is done for "Counterparties"...

Maybe you can just add the required attribute to the  Catalog "Employees", for example "Address", and use it?

User want field Address in employee like Legal address in Counterparties. When click Legal address, a form appears with fields for country, address line 1, postal code, and more.

 
#6
People who like this:0Yes/0No
Administrator
Rating: 32
Joined: Oct 3, 2019
Company:

In the Catalog "Counterparties", contact information is stored in a separate table section (screenshot 1). If you need to make similar functionality, then you also need to add a similar table section to the catalog "Employees" (screenshot 2), and write the program code similar to that in the catalog "Counterparties".

Download 1.png (10.01 KB)
Download 2.png (6.98 KB)
 
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.