Sage 100

 View Only
  • 1.  Problem: Automated VI import is giving me a headac

    Posted 01-08-2013 16:10
    Problem: Automated VI import is giving me a headache. Culprit: Sage 100 Advanced (MAS 200) Version 4.50. The Facts: I'm using a batch file (attached) to try to automate a VI job for a customer -- BTW Hat tip to @JimWoodhead for the inspiration found at https://90minds-com.socialcast.com/messages/4139927. When we try to run the import, we get an error 054. It's not a standard error message; it's in the console (see Attached Screen shot). The batch file runs just fine on my computer (Sage 100 Standard), but we get the same error when we try to run the batch file on the server, which was my attempt to emulate MAS 90 mode from the command line. It's been a long day, and I'm probably overlooking something stupidly obvious, but I need to get this figured out ASAP. Thanks in advance.

    Attachment(s)

    zip
    Bonanza.zip   316 B 1 version


  • 2.  RE: Problem: Automated VI import is giving me a headac

    Posted 01-09-2013 00:12
      |   view attached
    pushd and popd huh .. I don't think pvx likes that. I'd stay away from it. Your error 54 is masking the real error, which is mostly likely related to not finding the HOME directory. You could actually type these commands below and screenshot it then we'd know which program and line the error really appeared on ? PGM(-1) ? PGM(-2) Personally I wouldn't troubleshoot just change it to up something like this batch file. Pick a drive letter to map and use it. Or even better put it all in VB Script (like one attached) so you don't need to map a drive to begin with.

    Attachment(s)

    zip
    AaronBonanza.zip   752 B 1 version


  • 3.  RE: Problem: Automated VI import is giving me a headac

    Posted 01-09-2013 08:56
    You rock, @AlnoorCassim. I'll give it a try and let you know how it works.