EditSDIAttribute
Description:
Modifies attributes associated with an SDI.
Input Properties
sdcid
Description:
Identifier of the SDC for the SDI to which you are adding the Attachment.
Required:
Yes
keyid1
Description:
Identifiers of the SDIs.
Required:
Yes
keyid2
Description:
Identifiers of the SDIs.
Required:
Only for multi-key SDCs.
keyid3
Description:
Identifiers of the SDIs.
Required:
Only for multi-key SDCs.
attributeid
Description:
Attribute id being added.
If type SDC or Link with then this is not required as the attribute list is looked up from the master list.
Required:
Yes/No
attributesdcid
Description:
SDC attribute is being added for.
If type link then expect this to be provided. If the different to sdcid then this is a copy down attribute, but if same then is an instance of a linked attribute.
Required:
Yes/No
attributeinstance
Description:
Instance of attribute.
If type adhoc then this is expected then expect this to be provided. The instance id for the attribute to be updated.
Required:
Yes/No
value
Description:
Value for attribute.
If type adhoc then this is expected then expect this to be provided.
Required:
Yes/No
defaultvalue
Description:
Value for attribute.
If type linkdef then this is expected then expect this to be provided.
Required:
Yes/No
mandatory
Description:
MandatoryFlag for attribute.
If type link then this is allowed to be passed. It will either Y or N.
Required:
No
updatable
Description:
UpdatableFlag for attribute.
If type link then this is allowed to be passed. It will either Y or N.
Required:
No
hidden
Description:
HiddenFlag for attribute.
If type link then this is allowed to be passed. It will either Y or N.
Required:
No
editorstyle
Description:
EditorStyleId for attribute.
If type link then this is allowed to be passed. It will either Y or N.
Required:
No
editsdcid
Description:
Edit SDC Id for attribute.
If type link then this is allowed to be passed. It will either Y or N.
Required:
No
editreftypeid
Description:
Edit Ref Type Id for attribute.
If type link then this is allowed to be passed. It will either Y or N.
Required:
No
instructionflag
Description
Required:
No
copydowncontext
Description
Required:
No
worksheetcontext
Description
Required:
No
instructiontext
Description
Required:
No
requiredcomplete
Deprecated
Output Properties
requiredcomplete
Description:
Y if all required attributes are complete at end of action.
Returns string Y or N depending on if all required attributes for SDI are complete.
Additional Information
Additional information concerning this Action:
This Action modifies records in the SDIAttribute table. It handles update of sdc type, link type and adhoc type attributes for the primary sdc. It does not handle creation of template attributes (copied from template) or copy down attributes (copied from sdiattribute to link) as these are handled by the add and edit sdi actions. For SDC type attributes an attributeid or value is not expected as they are looked up from the master list. For link type if a value is provided then it will be used as the default value rather than the default value from the master list. For adhoc type a value is required.
Copyright © 1999-2016 LABVANTAGE Solutions, Inc.