Siebel Product Administration Guide > Siebel Configurator Scripts > Siebel Configurator Script Events and Methods >

GetObjQuantity Method


This method returns the quantity of the specified component product in the current solution.

Syntax

GetObjQuantity (ProdName) as Integer

Argument
Description

ProdName

String. The name of the component product. Use product name syntax to identity the component product.

Items

Can be used only for component products within the customizable product.

Returns

Quantity of the component product in the current solution as an integer. If multiple instances of the component exist, the quantity of all instances are added together and the sum is returned. For example if there are two instances of an item one with quantity five and the other with quantity three, the return is eight.

Example

This script fragment obtains the quantity of 10 GB Drive (vendor = Sony) in the current solution and assigns it to the variable iItemQty.

Dim iItemQty as Integer

iItemQty = GetObjQuantity("{10 GB Drive; Sony}")

Siebel Product Administration Guide Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.