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.
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
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.
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".