Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

GP Macro Hot key switched to none after log off

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Has anyone seen this strange behavior before with Macros. Customer created a Macro shortcut on the GP home  page with hot key. When users log off and log back in the next day the hot key selected is switched to none.

*This post is locked for comments

  • L Vail Profile Picture
    L Vail 65,271 on at
    RE: GP Macro Hot key switched to none after log off

    Hi,

    I don't think this is the fault of the macro itself, I don't think you can change the hot key via the macro. Mahmoud M. AlSaadi has a good question about whether the 'sa' user has the same issue.

    1. You mentioned 'users', plural, are you adding the macro to a user class?

    2. When you right click and check the properties of the shortcut, does it show a blank entry (I think that's what you said)?

    3. Does it happen to everyone for every company from every workstation?

    4. Is it intermittent, or does it happen every time?

    The shortcut key information is stored in the SY01990 of the Dynamics database. When you set the shortcut, check the value of the ScbShortcutKey column. After the user logs out, check the value again and let us know what you find.

    Kind regards,

    Leslie

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: GP Macro Hot key switched to none after log off

    I have been trying different scenarios, and I am not being able to reproduce this !

    Does it happen on another machine, using a windows admin user ?

    Your feedback is highly appreciated,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: GP Macro Hot key switched to none after log off

    Hi Mahmoud,

    Here is the code:

    Macro 1 Fullfill order

    # DEXVERSION=11.00.0221.000 2 2

    CheckActiveWin dictionary 'default'  form 'SOP_Order_Fulfillment' window 'SOP_Order_Fulfillment'

     MoveTo field '(L) Sites' item 0  # 'All'

     ClickCancel field '(L) Sites' item 0  # 'All'

     MoveTo field '(L) Fulfill All PB'

     ClickHit field '(L) Fulfill All PB'

    Macro 2 Print packing slip

    # DEXVERSION=11.00.0221.000 2 2

    CheckActiveWin dictionary 'default'  form 'SOP_Order_Fulfillment' window 'SOP_Order_Fulfillment'

     MoveTo field '(L) Fulfill All PB'

     ClickHit field '(L) Fulfill All PB'

     MoveTo field 'Holds Button'

     ClickHit field 'Holds Button'

    NewActiveWin dictionary 'default'  form 'SOP_Process_Holds_Entry' window 'SOP_Process_Holds_Entry'

    # Key 1:

     MoveTo line 2 browsewin 'Assigned_Scroll'

     MoveTo field 'Remove Button'

     ClickHit field 'Remove Button'

    NewActiveWin dictionary 'default'  form DiaLog window DiaLog

     TypeTo field ANSWER , 'invoice'

     MoveTo field OK

     ClickHit field OK

    NewActiveWin dictionary 'default'  form 'SOP_Process_Holds_Entry' window 'SOP_Process_Holds_Entry'

     MoveTo field 'OK Button'

     ClickHit field 'OK Button'

    NewActiveWin dictionary 'default'  form 'SOP_Order_Fulfillment' window 'SOP_Order_Fulfillment'

    ActivateWindow dictionary 'default'  form 'SOP_Order_Fulfillment' window 'SOP_Order_Fulfillment'

     MoveTo field WindowPrint

     ClickHit field WindowPrint

    NewActiveWin dictionary 'default'  form 'SOP_Print_Options' window 'SOP_Print_Options'

     MoveTo field '(L) Print Packing Slip CB'  # 'FALSE'

     ClickHit field '(L) Print Packing Slip CB'  # 'TRUE'

     MoveTo field 'Print Button NONE'

     ClickHit field 'Print Button NONE'

    NewActiveWin dictionary 'default'  form 'Report_Destination' window 'Report_Destination'

     MoveTo field 'OK Button'

     ClickHit field 'OK Button'

    NewActiveWin dictionary 'default'  form 'SOP_Print_Options' window 'SOP_Print_Options'

    NewActiveWin dictionary 'default'  form 'SOP_Order_Fulfillment' window 'SOP_Order_Fulfillment'

     PrintDialog copies 1 hori_adj 0 vert_adj 0

    # Print To Printer:  'SOP Blank Packing Slip Form'

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: GP Macro Hot key switched to none after log off

    Would you please elaborate more, sharing the Macro code could definitely help

    Your feedback is highly appreciated,

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,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,401 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans