DeleteSDIAttachment
Description:
Removes attachments from SDIs.
Input Properties
sdcid
Description:
Identifier of the SDC for the SDIs to which the Attachments belong.
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.
attachmentnum
Description:
Identifies the attachments to be removed from the SDI.
Required:
No
Comments:
  • This is an integer that uniquely identifies an Attachment associated with an SDI. This value is in the attachmentnum column of the SDIAttachment table.
  • Leave this blank to remove all Attachments from the SDI.
applylock
Description:
Determines whether or not (Y/N) data are locked during Action processing.
Required:
No
Additional Information
Additional information concerning this Action:
  • To delete multiple Attachments from a single SDI, use this example as a guideline:

    sdcid = Sample
    keyid1 = S01
    attachmentnum = 1;2
    This deletes Attachment numbers 1 and 2 from Sample S01.

  • You can also specify multiple SDIs and delete a single Attachment from each:

    sdcid = Sample
    keyid1 = S01;S02
    attachmentnum = 1;2
    This deletes Attachment number 1 from Sample S01, and Attachment number 2 from Sample S02.

  • This Action affects records in the SDIAttachment table.

Copyright © 1999-2016 LABVANTAGE Solutions, Inc.