Answer the question
In order to leave comments, you need to log in
Why is BP executed on only one trade?
In $resultDeal I have a lot of deals, I'm running a loop to run the BP on each one, but for some reason the BP is launched only on the first one, what can be?
foreach ($resultDeal as $row){
$arErrorsTmp = array();
$bic = CBPDocument::StartWorkflow(
29,
array("crm","CCrmDocumentDeal","DEAL_".$row['ID']),
array('new_subtractor'=>'N'),
$arErrorsTmp
);
print_r($bic);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question