Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

when running an unattended macro to reconcile inventory error 'The specified path for the output file doesn't exist.'

(0) ShareShare
ReportReport
Posted on by 75

When running an unattended macro to reconcile inventory  the macro stops and generates an error 'The specified path for the output file doesn't exist.' .  The error does not occur if run while on the server, only when unattended. 

Here is the first part of the applicable code.  The program stops on "MoveTo Field 'Process Button P'

# DEXVERSION=11.00.0349.000 2 2
  CommandExec dictionary 'default'  form 'Command_Inventory' command 'IV_Reconcile'
NewActiveWin dictionary 'default'  form 'IV_Reconcile' window 'IV_Reconcile'
  MoveTo field 'Process Button P'
  ClickHit field 'Process Button P'
NewActiveWin dictionary 'default'  form 'Report_Destination' window 'Report_Destination'
  MoveTo field 'Print to Screen'  # 'TRUE'
  ClickHit field 'Print to Screen'  # 'FALSE'
  MoveTo field 'Print to File'  # 'FALSE'
  ClickHit field 'Print to File'  # 'TRUE'
  MoveTo field 'File Export Name'
  TypeTo field 'File Export Name' , 'c:\Program FIles\Microsoft Dynamics\GP2010\InvPrint.txt'
  MoveTo field 'Export File Type' item 1  # 'Text file'
  ClickHit field 'Export File Type' item 1  # 'Text file'
  MoveTo field 'If File Existing' item 0  # 'Append'
  ClickHit field 'If File Existing' item 0  # 'Append'
  MoveTo field 'OK Button'
  ClickHit field 'OK Button'

Anyone have an idea?????

 

*This post is locked for comments

  • L Vail Profile Picture
    L Vail 65,271 on at
    Re: when running an unattended macro to reconcile inventory error 'The specified path for the output file doesn't exist.'

    Teri,

    Tubal was straight on. You may have better luck trying to write to the data folder instead of the main product folder.

    Kind regards,

    Leslie

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: when running an unattended macro to reconcile inventory error 'The specified path for the output file doesn't exist.'

    Teri,

    Is possible that the machine on which you are running unintended macro does not have folder “c:\Program FIles\Microsoft Dynamics\GP2010”.

    Or the windows user which you are using to run unattended macro does not have access to this folder. Sometimes, users don’t have access to Program Files in Vista and windows 7.  You can test changing path.

    Rubal,

    http://dynamicsgphelp.com/

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans