method ModifyNamedHold | |
Syntax: | Boolean = object.ModifyNamedHold ( bName, bDesc, bRegion, vExpiration ) |
Parameters: |
bName As
String -
Hold Name bDesc As
String -
Description bRegion As
String -
Region or Range where the hold becomes active. vExpiration
As VARIANT -
Hold Expiration |
Description: | The ModifyNamedHold method allows the user to modify a named hold to 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 oTrkItem.CreateNamedHold "MYHOLD_1", "Held to Test ",
"$OM_MASTR_BLND", 0 oTrkItem.ModifyNamedHold "MYHOLD_1", "Held by TrkNewItem
Script ", "REGION1", Now oTrkItem.InsertItem vTrkItem |