VI Perform logic Error Log

Hello everyone,

I received existing import job with defined perform logic

The import job contains Command "CREATE_ERRORLOG" on Failure.

Сan anyone tell me where I can find this error log?

Also, Is there a link where listed all available commands with their descriptions?

Thanks in advance

  • The commands are referencing a ..\MAS90\TC\ folder, which would be an enhancement.

  • TC is the legacy TimeCard module.  See if there is a MAS90\VI\ErrorLog folder.

  • in reply to Natasha Chang

    Hi Natasha,

    I just tested to see if this would work, in 2020 there is no TC folder so I copied an old TCWVIP file into the PO folder. The only thing I see that is close to a an Error Log is a file named VI_VIWX04.M4T in ..MAS90\MAS_System\LogFiles. But that's standard stuff, all my import and export jobs create a similarly named file. Also, that doesn't really help me as I'm hoping for something that doesn't need to be opened using Export Job Maintenance. 

    Am I mistaken thinking that this Create Error Log should be doing something different?

  • in reply to rclowe

    You found the VI error log.  TCWVIP is only used by the TimeCard module.  There is nothing that creates a different error log.

    If you have 2020 PU2, VI setup options allow you to specify a different log file location and to create a new log file every time instead of overwriting the old file.  But the log file is basically the same so it may not help you.

  • Hello valterwall73,

    I was wondering if you figured out the Perform Logic question you posted about 6 months ago?  The reason I'm asking is because I'm trying to create an error log at the end of a VI Job but I don't know the Perform command coding to do this, which might be within the "CREAT_ERRORLOG" you mentioned.

  • in reply to Paul Smith - Bretthauer

    Hi Paul, that's what I'm looking for as well, although my preference would be to preserve a logfile whether there were errors or not.

    - can you assist with this? I'm trying to set this up for an A/P Invoice Import job in a 2022 Advanced system. We have VI jobs set up to run every 5 minutes and we are using batch files to rename the source files and move them to an archive folder. That is working fine, but I would love to get a text file with the Job Log after each time it runs and put that in a LogFile folder. Isn't that something that Perform Logic can do?

    Also, just to see if this is possible, couldn't Perform Logic be used to rename and move the source CSV file after the job runs, instead of needing to use batch files?

    Thanks

  • in reply to rclowe

    I would ask Alnoor.  He has done a lot with Perform Logic

  • in reply to Kevin M

    Thanks BL, I may hit up Alnoor. Might even be worth the price of admission to the vaunted 90 Minds gang.

    Thanks Kevin, good old Slade Hornick, that's a blast from the past. I'll give that a shot.

  • in reply to rclowe

    You know VI Job logs are now nicely stored in the Activity Log?  Turn on a VI option, and it links the M4T... (new in v2022... for a couple versions the M4T copies were not-optional).

    DSD has (had?) a text file VI job log enhancement, but I expect they might have discontinued it when Sage added this feature.  It only included the first layer of the log (no drill down), where the Activity Log M4T is the full log.