Documentation

crm.item.productrow.getAvailableForPayment

Scope: catalog Permissions to execute: for all

crm.item.productrow.getAvailableForPayment(ownerId: number, ownerType: string)

This method gets list of products with payment pending.

Parameters

Parameter Description
ownerId CRM item ID.
ownerType CRM entity type ID. You can find out which specific code corresponds to the entity type using methods of \CCrmOwnerTypeAbbr class.

Example

BX.rest.callMethod(
	'crm.item.productrow.getAvailableForPayment',
	{
		ownerId: 21,
		ownerType: 'D',
	},
	function(result) 
	{
		if (result.error())
		{
			console.error(result.answer.error_description);
		}
		else
		{
			console.log(result.data());
		}
	}
);


© «Bitrix24», 2001-2024
Up