Было нужно, найти не смог, порылся сам, нашел, может кому пригодится.
$prop_date_punkt_id=20;
$getListParams['filter']=array('!PROPS.VALUE'=>false,'PROPS.ORDER_PROPS_ID'=>$prop_date_punkt_id);
$getListParams['select'] = array(
'ID',
'PROPS.VALUE'
);
$getListParams['runtime'] = array(
new \Bitrix\Main\Entity\ReferenceField(
'PROPS',
'\Bitrix\Sale\Internals\OrderPropsValueTable',
array(
'=this.ID' => 'ref.ORDER_ID',
),
array(
"join_type" => 'inner'
)
)
);
$getListParams['order'] = array();
$res = \Bitrix\Sale\Order::getList($getListParams);
$rows=array();
while ($row = $res->fetch()){
$rows[]=$row;
}
print_r($rows);
$prop_date_punkt_id=20;
$getListParams['filter']=array('!PROPS.VALUE'=>false,'PROPS.ORDER_PROPS_ID'=>$prop_date_punkt_id);
$getListParams['select'] = array(
'ID',
'PROPS.VALUE'
);
$getListParams['runtime'] = array(
new \Bitrix\Main\Entity\ReferenceField(
'PROPS',
'\Bitrix\Sale\Internals\OrderPropsValueTable',
array(
'=this.ID' => 'ref.ORDER_ID',
),
array(
"join_type" => 'inner'
)
)
);
$getListParams['order'] = array();
$res = \Bitrix\Sale\Order::getList($getListParams);
$rows=array();
while ($row = $res->fetch()){
$rows[]=$row;
}
print_r($rows);