E
E
Ex1st2021-03-30 11:59:14
1C-Bitrix
Ex1st, 2021-03-30 11:59:14

"Unknown property group" in CRM Bitrix?

I create an order via the API, and an unknown group of properties is taken from somewhere.
6062e83dce89e098011060.png

I tried to remove the addition of properties, nothing has changed. I add properties like this:

$propsColl = $order->getPropertyCollection();

$order->setField('COMMENTS', 'Это быстрый заказ. Нужно перезвонить клиенту.');

$phoneProp = $propsColl->getPhone();
$phoneProp->setValue($phone);

$nameProp = $propsColl->getPayerName();
$nameProp->setValue($name);

$emailProp = $propsColl->getUserEmail();
$emailProp->setValue($email);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Gritsuk, 2021-03-30
@Ex1st

when creating an order, specify the type of payer $order->setPersonTypeId($personTypeId);
Also, check the groups of properties of the order, suddenly there is a group called "Unknown group of properties"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question