0

Microsoft Dynamics GP 2015 を使用しています。Windows スケジューラで Dynamics を開き、マクロを実行しています。これは何年も前から機能しており、Dynamics を扱う IT 担当者によると、何も変わっていないとのことです。スケジューラが Dynamics を開きますが、マクロが開始されないようです。ログインページを通過することはありません。ログにも何も書かれていません。この 1 週間で Dynamics で何が起こっているのか、または何が変更された可能性があるのか​​、誰か提案できますか? これらのプロセスが実行されていないため、私たちは水中で死んでいるので、助けていただければ幸いです. ありがとうございました!

通常、マクロはスケジューラを介して実行されます。呼び方は次のとおりです。

ここに画像の説明を入力

また、コマンドプロンプトから実行してみました:

ここに画像の説明を入力

これは、ユーザーをログインさせるだけのマクロの簡略版です (名前とパスワードを削除しました)。

# DEXVERSION=14.00.0084.000 2 2
Logging file ':c:/log.txt'
CheckActiveWin dictionary 'default'  form Login window Login 
  TypeTo field 'User ID' , 'xxxx'
  MoveTo field Password 
  TypeTo field Password , 'xxxx'
  MoveTo field 'OK Button' 
  ClickHit field 'OK Button' 
NewActiveWin dictionary 'default'  form sheLL window sheLL 
NewActiveWin dictionary 'default'  form 'Switch Company' window 'Switch Company' 
  ClickHit field '(L) Company Names' item 3  # '****' 
  MoveTo field 'OK Button' 
  ClickHit field 'OK Button' 
NewActiveWin dictionary 'default'  form sheLL window sheLL 
NewActiveWin dictionary 'default'  form sheLL window sheLL 
# Your current copy of Mekorma Products Manager 14.00.0020 is incompatible. You need to upgrade to version 14.00.0155 or greater.
NewActiveWin dictionary 'Mekorma Products Manager'  form DiaLog window DiaLog 
  ClickHit field OK 
NewActiveWin dictionary 'default'  form sheLL window sheLL 
NewActiveWin dictionary 'default'  form syReminders window syReminders 
  MoveTo field '(L) btnClose' 
  ClickHit field '(L) btnClose' 
NewActiveWin dictionary 'default'  form sheLL window sheLL 
4

0 に答える 0