要在 CLI 中创建更改包条目属性
在 CLI 中,输入下列命令:
im createcpentryattribute
--dataType=[integer|stringlist|float|logical|date|string|user|cpid]
--maxLength=value
--cpType=change package type
--decimalPlaces=value
--displayFormat=[truefalse|tf|yesno|yn]
--displayName=value
--[no]mandatory
--strings=value
--description=value
--name=value
--position=[first|last|before:<name>|after:<name>]
其中:
• --dataType=[integer|stringlist|float|logical|date|string|user|cpid] 指定属性数据类型。
• --maxLength=value 指定条目属性值的最大长度。此选项对数据类型 string、stringlist 和 cpid 有效。
• --cpType=change package type 指定要为其创建条目属性的更改包类型的名称。
• --decimalPlaces=value 指定属性值的小数位数。此选项对数据类型 float 有效。
• --displayFormat=[true|false|t|f|yes|no|y|n] 指定是否显示更改包条目属性值的格式。此选项对数据类型 logical 有效。
• --displayName=value 指定是否显示更改包条目属性的名称。
• --[no]mandatory 指定更改包条目属性值是否是必填项。
• --strings=value 指定属性的字符串值。此选项对数据类型 stringlist 有效。
• --description=value 指定属性的简短说明。
• --name=value 指定所创建更改包条目属性的名称。
• --position=[first|last|before:<name>|after:<name> 指定所创建更改包条目属性在属性顺序中的位置。