Replicate FRx To Management Reporter Command Customisation To Other Users

In the last post I showed how the FRx menu can be renamed to show Management Reporter instead.

However, it is also a per user setting so would need to be done for each user created in Microsoft Dynamics GP who had access to Management Reporter.

To make the job a lot less onerous, I thought it might be useful to follow up with a SQL script to copy the FRx command customisations from one user to all others;


USE [DYNAMICS]
GO

INSERT INTO SY07105
   (USERID
   ,CmdDictID
   ,CmdFormID
   ,CmdID
   ,CmdCaption
   ,CmdTooltip
   ,CmdNormalImageType
   ,CmdNormalImageDictID
   ,CmdNormalImageResID
   ,CmdCheckedImageType
   ,CmdCheckedImageDictID
   ,CmdCheckedImageResID
   ,CmdMenuDisplayOption
   ,CmdButtonDisplayOption)

   (SELECT
      ['Users Master'].USERID
      ,CmdDictID
      ,CmdFormID
      ,CmdID
      ,CmdCaption
      ,CmdTooltip
      ,CmdNormalImageType
      ,CmdNormalImageDictID
      ,CmdNormalImageResID
      ,CmdCheckedImageType
      ,CmdCheckedImageDictID
      ,CmdCheckedImageResID
      ,CmdMenuDisplayOption
      ,CmdButtonDisplayOption
   FROM
      SY01400 AS ['Users Master']
   INNER JOIN
      SY07105 AS ['Command Customizations']
   ON
      ['Command Customizations'].USERID = 'sa'
   AND
      CmdDictID = 0
   AND
      CmdFormID = 1556
   AND
      CmdID = 28
   WHERE
      ['Users Master'].USERID
   NOT IN
      (
SELECT
         USERID
      FROM
         SY07105
      WHERE
         CmdDictID = 0
      AND
         CmdFormID = 1556
      AND
         CmdID = 28)
   )

As with any script, please make sure you have a good backup of all your Microsoft Dynamics GP databases, including the DYNAMICS database as this is the one which this script updates, and are comfortable working with T-SQL and SQL Server Management Studio.

Ian Grieve

About Ian Grieve

Ian is a Microsoft Dynamics GP certified consultant specialising in the delivery of Microsoft Dynamics GP projects and currently working for Perfect Image Ltd., a Microsoft Partner and VAR in the North East of England. Ian has worked with Microsoft Dynamics GP since 2003 and, over the nine years since, has dealt with all aspects of the product life-cycle from presales, to implementation, to technical and functional training, to post go-live support and subsequent upgrades and process reviews. In his spare time, Ian runs the azurecurve | Ramblings of a Dynamics GP Consultant blog dedicated to Microsoft Dynamics GP and related products.
This entry was posted in Dynamics, FRx, GP, Management Reporter, Microsoft and tagged , , , , , , , , . Bookmark the permalink.

2 comments on “Replicate FRx To Management Reporter Command Customisation To Other Users

  1. Pingback: Replicate FRx To Management Reporter Command Customisation To Other Users | azurecurve – 7/3, DynamicAccounting.net | Partner Compete

  2. Pingback: Replicate FRx To Management Reporter Command Customisation To Other Users | azurecurve - DynamicAccounting.net - GP Technical Blogs - Microsoft Dynamics Community

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>