RemoveItem Method
This method reduces the quantity of the specified item to 0 in the current solution. If multiple instances of an item have the same path, the Siebel Product Configurator engine randomly picks one of the instances and removes it.
Syntax
RemoveItem (ObjPath) as Integer
The following table explains the argument in this syntax.
Argument | Description |
---|---|
ObjPath |
String. The full path of the component product you want to remove. Use product path syntax to specify the path. |
Items
Can be used only for component products within the customizable product.
Returns
Returns 1 if the item removal was successful. Returns 0 if the removal fails.
Example
For an example of using RemoveItem, see About Product Path in Siebel Product Configurator Scripts.