method DeleteNamedHold | |
Syntax: | object.DeleteNamedHold bName |
Parameters: |
bName As
String -
Hold Name |
Description: | The DeleteNamedHold method allows the user to delete a named hold for the item. Example: Dim oTrkItem As Object Dim vTrkItem As Variant Set oTrkItem = CreateObject("Tracker.TrkNewItem") oTrkItem.ItemId = "T123" oTrkItem.ProjectId = "PA1" oTrkItem.RegionID = "A_TP1" oTrkItem.ItemTypeId = "ITEMTYPE1" oTrkItem.RegionLoc = -1 For i = 0 To 10 oTrkItem.CreateNamedHold "MYHOLD_" & Format(i, "00"),
"Held to Test " & Format(i, "00"), "$OM_MASTR_BLND",
0 Next i oTrkItem.DeleteNamedHold "MYHOLD_05" oTrkItem.InsertItem vTrkItem |