# CMS_RemoveCustomUserInventory

> Removes a CustomUserInventory row from the database that is persistent.

Source: https://docs.capaone.com/capainstaller/vb-scripting-library/cms-functions/cms-removecustomuserinventory/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

### Description

Removes a CustomUserInventory row from the database that is persistent.

### Syntax

CMS_RemoveCustomUserInventory(category, entry)

User packages are not supported in PowerPacks

### Parameters

#### category (String)

Category name

#### entry (String)

variable name

### Example

**VBScript**

```vb
If bStatus Then bStatus = CMS_RemoveCustomInventory("Department", "Name")
If bStatus Then bStatus = CMS_RemoveCustomInventory("Department", "Office")
```

[Scripting Guidelines](/capainstaller/vb-scripting-library/scripting-guidelines/)

### Related functions

[CMS_AddCustomUserInventory](/capainstaller/vb-scripting-library/cms-functions/cms-addcustomuserinventory/) [Constants](/capainstaller/vb-scripting-library/addendum/constants/) [Package Property](/capainstaller/vb-scripting-library/addendum/package-property/) [Variables](/capainstaller/vb-scripting-library/addendum/variables/) [Business Unit support](/capainstaller/vb-scripting-library/addendum/business-unit-support/)
