API Client
|
Some relationships in 1CRM may have additional attributes. For example, Contacts to Account relationship does not have additional attributes, it just records a fact that two records are related. But if we look at Assembly to Products relationship, we notice that it requires an additional attribute - quantity of the products in assembly.
When adding relationships using Model::addRelated() method, you can specify additional attributes as shown below
Output: