Forum Discussion
rhankey
2 months agoContributor
It sounds like you have created a Sub for your NoCalculate rule, as is normal. You need to make sure you include args As DataQualityEventHandler as one of your passed in parameters to that function. It's been a long time since I looked at the very basic sample GolfStream NoCalculate function that most people use as is, but I'm pretty sure that sample includes the parameter. Rip it off from there, if it's still not making sense.
Marco
31 days agoContributor II
Dim wfProfileInfo As WorkflowProfileInfo = BRApi.Workflow.Metadata.GetProfile(si, wfChildClusterPk.ProfileKey)
Dim wfText2 As String = wfProfileInfo.GetAttributeValue(scenarioType.Forecast.Id, sharedconstants.WorkflowProfileAttributeIndexes.Text2)
Dim sValue As String = BRApi.Workflow.Metadata.GetProfileEntitiesAsMemberFilter(si, wfChildClusterPk.ProfileKey)
Dim ParamsDict As New Dictionary(Of String, String)
ParamsDict.Add("EntityParam", sValue)
Dim obj_ProcessPLP As TaskActivityItem = BRApi.Utilities.ExecuteDataMgmtSequence(si, "PROCESS_PLP", ParamsDict)
Dim obj_Copy = BRApi.Utilities.ExecuteDataMgmtSequence(si, "COPY_PLP_TO_PLN", ParamsDict)
If obj_ProcessPLP.TaskActivityStatus <> TaskActivityStatus.Completed Or obj_Copy.TaskActivityStatus <> TaskActivityStatus.Completed Then
completed = False
End If
I have the following code where I retrieve the same entity name that appears in the image, except that it was located in Text2. My question is whether this part is correctly implemented or if it needs any changes to function the same as the ProcessCube.
Related Content
- 2 years ago
- 8 months ago
- 3 years ago
- 10 months ago