Hi,
I have some UNSgroub item in my itshop.
I have a workflow for request them.
I'd like to create some request from script for some employes (because I'm migrating from another system) for these UNSGroupb products.
I tried doing so:
Dim unsGroupB As ISingleDbObject = Connection.CreateSingle("unsGroupB","c48ec20a-2191-44eb-b9a9-6eb33ce6c9ba")
unsGroupB.Load
unsGroupB.Custom.CallMethod("CreateITShopOrder", "CCC_SetExtraPWOInfo")
but I get an error:
ErrorMessages = Optimizing by using the existing connection.
Test
[810222] Error executing script 'CCC_Import_Request'.
[810081] Method CreateITShopOrder (System.String) not found in Object AIDA Payroll User.
at StdioProcessor.StdioProcessor._Execute(Job job)
at VI.JobService.JobComponents.ScriptComponent.Activate(String task)
at VI.JobService.JobComponents.ScriptComponent._TaskScriptExec()
at VI.DB.Scripting.ScriptInstance.Eval(String key, Object[] parameters)
---- Start of Inner Exception ----
at VI.DB.Entities.EntitySingleDbObject._EntityCustomizer.CallMethod(String methodName, Object[] parameters)
at VI.DB.Customizer.GetMethod(String methodName, Type[] parameterTypes)
What I'd like to do is create a request for these group and update the status of the request with a cutoms processing status that I created in manager (day by day from an import) until the final state when I will put my final processing status and order state in assigned.
Is it possible?
I red some old posts but doesn't work.