如何在siebel eScript中检索静态选项列表的值?

时间:2016-10-05 14:18:12

标签: siebel escript

我正在尝试获取活动(动作BC)中状态字段的所有不同值。状态是静态选项列表字段。如何获得此字段包含的所有不同值?提前谢谢。

1 个答案:

答案 0 :(得分:0)

BusComp.GetPicklistBusComp(FieldName)

以下示例位于Siebel VB中:

If this.GetFieldValue("City") = "ABC" Then
   Set oBCPick = this.GetPicklistBusComp("CUT Address")
   With oBCPick
      .ClearToQuery
      .SetSearchSpec "Value", "CA"
      .ExecuteQuery (ForwardOnly)
      If .FirstRecord Then .Pick
   End With
   Set oBCPick = Nothing
End If