Home > Contents > Index >
ASSET.ADDCHILD
Designates an asset to be added as a child asset in the AssetRelationTree table when the
ASSET.SAVE
tag is called.Syntax
<ASSET.ADDCHILD NAME="asset object name" TYPE="asset type" CHILDID="ID" [CODE="association name"] [RANK="integer"] />Parameters
NAME (required)
- Name of the asset instance object.
TYPE (required)
- Asset type of child asset. Stored in OTYPE field.
CHILDID (required)
- ID of child asset to add. Stored in OID field.
CODE (optional)
- Association name. Stored in NCODE field You can specify named or unnamed associations.
RANK (optional)
- Integer indicating rank of child asset. Stored in NRANK field.
Error Numbers
The possible values of
errno
include:
Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory). -10007 Non-numeric rank. -10014 Asset cannot be its own child. -10017 Non-numeric rank.
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.