I am trying to automate FDM process using a batch script. We have a location with integration script on import format.
API for import process is
WebLink (Main) Objects 8.3 (upsWObjectsDM.dll) clsImpProcessMgr
Main (Single Period) import and calculate process. This rountine sequences and executes the required subprocesses
of the import process. The sub-processes that executed are: 1)Clear Data, 2)Execute Load [Text, Excel,
or Integration], 3)Process Logic, 4)Process Maps, 5)Set Process Status
ByVal strFilename As String, ByVal strLoc As String, ByVal strCat As String, ByVal strPer As String, Optional ByVal
blnMerge As Boolean strFilename Full path to file to be processed (Valid File Types: Text, Excel, Null if using Data Integration)
strLoc Name of the Location to process (See Property: clsPOVMgr.PPOVLocation)
strCat Name of the Category to process (See Property: clsPOVMgr.PPOVCategory)
strPer Name of the Period to process (See Property: clsPOVMgr.PPOVPeriod)
blnMerge Optional Flag to indicate that data should be appended/merged with existing data for the POV
Since we have a integration script on that location I am passing Null in the strFilename field but I am getting error like it is not a option to pass Null.
I use Custom Script to automate from Validate to Export/Load only. File Import still go by click Import Fish, I made function call to Validate/Export/Load in AftImportScript.
I did run well from FDM Client, automate script is running fine. Only when run by clicking Import fish from FDM Web Client, then report Automation Error. The following is my automation script code. Do you have any idea regarding this error?