使用CR306000SetSchema
和CR306000Submit
,我可以创建一个新案例。但是,如果我想通过其活动获取特定案例的详细信息。任何人都有任何想法。
答案 0 :(得分:0)
我们可以使用CR306000Export
来获取数据。下面的代码示例将为您提供特定案例ID的活动。例如下面的例子中的“000001”。
string[][] export = context.CR306000Export
(
new CaseAPI.Command[]
{
new CaseAPI.Value
{
Value = "000001",
LinkedCommand = CR306000.CaseSummary.CaseID
},
CR306000.Activities.Type,
CR306000.Activities.Summary,
CR306000.Details.Description,
CR306000.Activities.Status,
CR306000.Activities.StartDate,
CR306000.CaseSummary.Owner
},
new CaseAPI.Filter[]
{
new CaseAPI.Filter
{
Field = CR306000.Activities.StartDate,
Condition = CaseAPI.FilterCondition.GreaterOrEqual,
Value = DateTime.Today
}
},
0, true, true
);