By Tobias Bangerter on Friday, 20 October 2023
Posted in VBA Development
Likes 0
Views 491
Votes 0
Hi,

What are the parameters of the ImportUpdateItemsPDM RunAutomation? Have the parameters been changed lately?
I am running the automation with the following parameters


'# 1 Projekt OID = e.g., 00000000-0000-0000-0000-00000034B2DC
'# 2 0
'# 3 0
'# 4 G_Artikel
'# 5 "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=""" & sExcelfile & """;Extended Properties='Excel 12.0;HDR=Yes'"
'# 6 Fördertechnik$ (table name in excel sheet)
'# 7 2 (Start Row)
'# 8 0 (Update Mode 0=All/1=Update/2=New)

With Automation
With .Parameters
Call .Clear
Call .Add(sStartObjectID)
Call .Add(lCoverID)
Call .Add(lTypeID)
Call .Add(sMapping)
Call .Add(sConnection)
Call .Add(slTableName)
Call .Add(lStartRow)
Call .Add(lMode)
End With
Call .Run("ImportUpdateItemsPDM.Wizard.RunAutomation")
End With


The following error is promting multiple times: attached

I set the priority to critical since our customer has to confirm the error message several times.

Thanks for your help and all the best
View Full Post