Documentation

crm.productrow.list

Returns a list of filtered product items. This is the implementation of the list method for product items. Owner of product items is defined by the required fields OWNER_TYPE and OWNER_ID, where OWNER_TYPE is a single-symbol code of the (D - deal, L - lead) type and OWNER_ID is the ID.

Parameters

See description of list methods.

Example

 var ownerType = prompt("Enter owner type (D, L)");
  var ownerId = prompt("Enter owner ID");
  BX24.callMethod(
   ""crm.productrow.list"", 
   { 
    filter: 
    { 
     "OWNER_TYPE": ownerType, 
     "OWNER_ID": ownerId 
    }
   }, 
   function(result) 
   {
    if(result.error())
     console.error(result.error());
    else
    {
     console.dir(result.data());   
     if(result.more())
      result.next();      
    }
   }
  ); 


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix Inc.», 2001-2019, «Bitrix Inc.», 2019