Home > Contents > Index >
ASSET.GETASSETTYPEDEPENDENTS
Provides a list of asset types which depend an asset type's existence
Syntax
<ASSET.GETASSETTYPEDEPENDENTS
TYPE="
assetType
"
VARNAME="
variable name
"/>
Parameters
TYPE (required)
- Input. Asset type for which to list dependents.
VARNAME (required)
- Input. Name of a variable in which to put a comma separated list of dependents asset types. If the asset type has no dependent asset types, this variable will be empty.
Description
When an asset type has dependent asset types, the asset type cannot be deleted without also deleting the dependent asest types.
Error Numbers
The possible values of
errno
include:
Value Description -10004 A required parameter is missing.Example
The following gets the list of dependent asset types and if there are any, displays it.
<ASSET.GETASSETTYPEDEPENDENTS TYPE="Variables.AssetType" VARNAME="dependentAssetTypes"/> <IF COND="Variables.dependentAssetTypes!=Variables.empty"> <THEN> Asset Type has <ICS.GETVAR NAME="dependentAssetTypes"/> as dependent asset types. </THEN> </IF>See Also
ASSET.GETASSETTYPESONWHICHIDEPEND
ASSET.GETASSETTYPE
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.