Delete
bool CCatalogStore::Delete(int Id);
Method deletes warehouse with ID. Simultaneously, deletes the remaining product stock at this warehouse. Static method.
Call parameters
Parameter | Description |
---|---|
ID | Warehouse identifier for deleting. |
Returned value
Returns true on success and false otherwise.
Example
$result = CCatalogStore::Delete($id);
© «Bitrix24», 2001-2024