Dynamics GP Training/Tutorial 101 - Youtube Video Series!

For all of the new/un-guided Dynamics GP users out there, this one’s for you!

Introducing the “Learn Dynamics GP - 101 Series” now up on YouTube! A lot of time and effort has gone into these tutorials but I’m happy to finally roll them out and make them official.

The 101 series is what you would think but is broken down core module by core module and includes some bonus 101 series training/tutorials (Fixed Assets, Navigation, etc.).

The hope is that these videos can serve as an introduction to Microsoft Dynamics GP and get you or your team up to speed very quickly. If you ever have questions or are looking for more in-depth & hands-on trainings, let our team help you out.

The 101 series is just the beginning and more videos are to come! Let us know what you think in the comments below or on the YouTube channel and do us a favor and SUBSCRIBE to stay up to date with our future releases.


Youtube - GP Training/Tutorial 101 Series



GPUG - All-Star Nominations!

With the User Group Summit conference right around the corner in October, there are lots of exciting things going on in the GPUG world at this time of year, one of which is the yearly "All-Star" awards.

All-Star nominees are put up by their peers based on their contributions to the GPUG community & this year, I've been fortunate enough to be considered!

If you're a part of the GPUG community and have benefited from all that GPUG offers, take a look @ the 2018 All-Star nominees that can be viewed @ https://www.surveymonkey.com/r/GPUG2018All-StarVoting.  There are quite a few recognizable names on the nominees list this year.

If you're not familiar with GPUG & you use GP, I'd HIGHLY recommend taking a look @ what the group has to offer.  There are benefits to non-members but for members, here are a few of the things that you can take advantage of:

  • Live & Recorded Webinars
  • Open GP Related Forum (Highly active!)
  • Conference discounts
  • Local chapter events
  • Other exclusive member discounts

If you ever find yourself around the New Orleans area and want to check-out a local chapter meeting, we'd love to have you!  Presenters and/or attendees are always welcome!

Hope to see some familiar faces in Phoenix for Summit!

Start Processing Credit Card Payments in GP TODAY!

On another installment of our video series, we covered a feature that's been around for quite awhile but was recently added to with Dynamics GP 2018.

Setting up credit cards, processing credit card transactions, and issuing payments for credit card bills all done within GP.

This short video will cover everything that you need to setup credit cards & begin processing them TODAY!

Enjoy, subscribe, and let us know what else you're interested in!

Provided by ALaCarteGP.com Don't forget to subscribe to our Youtube channel to stay in the loop w/ future posts & also check-out our blog @ ALaCarteGP.com/blog

Fixed Assets - Upgraded Projection Reports Using SSRS

Quick show-off of how to utilize SSRS to deploy improved Fixed Asset Projection reports in Dynamics GP 2018. Versions are a month over month report as well as a summary/detailed projection listing with G/L account.

Read More

Payables Payment Process Using Dynamics GP 2018!

The payables process within GP is tried & true within Dynamics GP.  It's one of the fundamental process that GP was built-on and it works very very well.  Below is a video that can be found on our YouTube channel that covers the payment process from beginning to end and highlights some of the additional features that Microsoft brought to the table with Dynamics GP 2018.

Feel free to take a look @ our full video library on our YouTube channel & let us know what you think!

If you like our videos, give us a like and a subscribe to be in the loop on future posts.

If there's a future topic that you'd like us to cover, let us know in the comments below!

SmartList Builder - Develop & Deploy Reports

eOne Solutions' SmartList Builder is the equivalent of the SmartList Designer product that Microsoft now offers with the out of the box Dynamics install.  SmartList Designer has been around a little longer thus was the focus of our post.  Everything that's done in this particular video can be accomplished using SmartList designed in almost a similar sequence.

Please check out our video post on Youtube and <SUBSCRIBE> to our channel for notifications on future posts.

Also, if you have feedback on our videos or have a topic in mind that you'd like for us to cover, please let us know in the comments below!

Automate Unit Account Values Based on Sales Quantities

It is a typical KPI request to be able to report on unit account values.  Let's go ahead and say that we're looking at a profit and loss report, by product and the business wants to see units sold that are included in that margin.

In a perfect world (and using some tools that are not named Management Reporter), if you're capturing the Product A quantity in the Sales Order Processing (SOP) module in GP, you'd be able to reference the sum of the sales instead of using a unit account.  However... We don't live in a perfect world whilst using Management Reporter thus Unit Accounts are required.

So what we'd see is in GP, we'd setup a unit account for something like "Units Sold - Product A"

In Management Reporter, we'd then have a row definition that looked something like...

Sales Product A

- Expenses Product A

= Margin

/ Units Sold - Product A

= Margin/Unit

In a typical fashion, in order for this report to be up to date, the accounting team would need to make a routine journal entry to the unit account within GP.  This process leaves way for manual errors, timing issues & the potential for management to lose confidence in their reports.

Using the method below, we complete streamline this process by automating the unit account journal entry within GP.

Part 1: Associate a unit account with an inventory item in GP.

Note: For example deliverable, one item may be used at multiple locations (segment 1 of COA).  Therefore, we just assign the Natural account to the item & then let the integration define the remaining COA segments)

Approach: We accomplish this using

eOne Solution's Extender product

Part 2: Setup integration that captures posted activity in GP & creates journal entry in GP.

Note: For example deliverable, we're pulling the prior day's activity & creating a journal entry first thing in the morning.

Note: Integration script defines COA segments based on the SITE of the sale on SOP invoice & then the natural account that we associated to the item.

Approach:  We accomplish this using

eOne Solution's SmartConnect product

Map/Integration Setup

ODBC Connection to Company Database - Selecting Prior Day Sales

Part 3: Enable map/integration schedule.  This is an out of the box functionality of SmartConnect.

Part 4: Create reconciling reports using SmartList/SmartView.  These reports can be used at month-end to reconcile financials.

Note: This report is best suited to be built using a Sales Line Item report, filter on the posting date & ensures that returns are shown as negatives

Part 5: Notify accounting team that all they need to do moving forward is post their batches & reconcile once @ month-end!

Integrated transactions in GP would look similar to...

Note: All prior day activity are rolled into 1 line.  Option to separate for each sales transaction would be available if desired.

A few other notes to consider in this process...

- Returns must be accounted for

- When deploying, it is recommended to have the accounting team reconcile more frequent.  As they gather an understanding of process and ensure that numbers are tying out, reconcile less frequent.

- Failed integrations should auto-notify an integration PowerUser.  PowerUser could re-run integration if/when needed

This solution is built in a manner that's easy to implement & maintain and quickly accomplishes the goals of time savings, accurate data & providing a more robust GP system.

Thinking about implementing for your business and looking for additional details?  Already implemented and have feedback?  Let us know in the comments below!

Copying Quick Links from One User to Another

Microsoft has come a decent ways to allow each user to customize their home login page.  For a long time there has been the feature for the first time that a user connects, they are prompted to select their "Role" that determines how their out of the box homepage will look & feel. 

With later versions of GP, there also came the ability to copy a user's homepage settings from 1 user to another (along with every other setting from the original user).

However, Microsoft still hasn't made it simple just to take an existing user's quick links and apply them to another user.  From using the interface, you'd have to copy ALL user settings from one user to another using the "Users Maintenance" window OR you'd have to login to a certain user's account and set their quick links OR provide them with instructions on setting them themselves. 


Using the script below, you can define a copy from user (TestUser1) & a copy to user (TestUser2) and either replace the existing quicklinks or add to.

--Declare Variables
DECLARE @CopyFromUserID CHAR(15), @CopyToUserID CHAR(15), @Count INT, @Delete CHAR(1)

 --Provide Values for Variables
--This is the section that MUST BE UPDATE
SELECT @CopyFromUserID = 'TestUser1', @CopyToUserID = 'TestUser2', @Delete = 'N' --Delete = Y means delete any existing quicklinks for copy to user, N = Append Only

--This script will delete existing favorites if @Delete = Y
DELETE FROM dbo.SY08140 WHERE userid = @CopyToUserID AND @Delete = 'Y'

--Start copy from one user to another
SELECT * INTO #TempQuickLinks FROM sy08140 WHERE userid = @CopyFromUserID AND dsplname NOT IN (SELECT DSPLNAME FROM dbo.SY08140 WHERE userid = @CopyToUserID) AND @CopyToUserID IN (SELECT userid FROM SY01400)

SET @Count = 1

WHILE @Count <= (SELECT COUNT(seqnumbr) FROM #TempQuickLinks)


UPDATE #TempQuickLinks SET SEQNUMBR = ISNULL((SELECT MAX(seqnumbr) + 1 FROM sy08140 WHERE USERID = @CopyToUserID),1)

INSERT INTO SY08140 (USERID, SEQNUMBR, TYPEID, CmdID, CmdFormID, CmdDictID, DSPLNAME, ScbTargetStringOne, ScbTargetStringTwo, ScbTargetStringThree, ScbTargetLongOne

,ScbTargetLongTwo, ScbTargetLongThree, ScbTargetLongFour, ScbTargetLongFive)

SELECT TOP 1 @CopyToUserID, SEQNUMBR, TYPEID, CmdID, CmdFormID, CmdDictID, DSPLNAME, ScbTargetStringOne, ScbTargetStringTwo, ScbTargetStringThree, ScbTargetLongOne

,ScbTargetLongTwo, ScbTargetLongThree, ScbTargetLongFour, ScbTargetLongFive FROM #TempQuickLinks WHERE DSPLNAME NOT IN (SELECT dsplname FROM sy08140 WHERE USERID = @CopyToUserID)

SET @Count = @Count + 1


DROP TABLE #TempQuickLinks
--End copy from one user to another

--View ending results
SELECT * FROM dbo.SY08140 WHERE userid = @CopyToUserID

Note: The script has only been used in limited GP 2015 R2 environments.  As always, it is recommended to run the script in a development environment before deploying to production.

This script might be useful when...
- Setting up a new user and wanting to setup their quicklinks based off another user in a similar role
- Setting up a new module and wanting to add quicklinks to all users based on your model user (say when setting up Fixed Assets & wanting to add an external link to the new GAAP Financial Leases requirements)
- Setting up a new SmartView favorite for certain users but also wanting to add the quicklink to their homepage

Have feedback or have you expanded the user of this script?  Let us know!

Company Address IDs - Import

Did you know that within Purchase Order Processing that the list of available ship to addresses pulled from the Company Address ID setup within GP?  During a POP/Inventory/SOP implementation, it's no uncommon for companies to have 100s of potential ship to addresses for purchases.  Below we've covered our favorite way to get this list of address IDs into the system using .csv/.txt files and SQL.

Step 1.)  Create a spreadsheet that list all address lines.  Our example contains the following columns.

Company ID, Address ID, Name, Contact, Address 1, City, State, Zip Code

Step 2.) Save spreadsheet to a tab-delimited text file

Step 3.) Open the text file & replace any " characters w/ {blanks}.  " characters will appear when a field contains a comma.

Step 4.) Import into SQL using SQL Server Management Studio

>>Right-Click Database

    >>Select Tasks

        >>Select Import Data

           >>Select Flat File as source

              >>Enter Staging Table Name in SQL Destination (Use name of CoAddressID_Template in our example below)

Step 5.) Create backup of table that we're about to insert into (select * into sy00600_backup{date} from sy00600.  This step is important in case we need to roll-back our insert and don't want to have to refresh the entire database.

Step 6.) Ensure that no address IDs in your staging table already exist within GP.

select * from sy00600 where locatnid in (select [Address ID] from coAddressid_template)

Step 7.) Run SQL Insert statement to move data from staging table (CoAddressID_template) to SY00600 table.

declare @cmpanyid numeric(2,0);

set @cmpanyid = (select cmpanyid from dynamics..sy01500 where cmpnynam = '{ENTER YOUR CO NAME}');


select @cmpanyid,left([Address ID],15),left([Name],30),'',left([Contact],60),left([Address 1],60),'','',left([City],25),

'',left([State],30),left([ZIP Code],10),'','','','','','','1900-01-01 00:00:00.000','' from coAddressid_template

That should do it.  You can add additional columns to your sourcefile if you please.  Just be sure to update your insert script to account for the new columns & remember character limitations! left(Address1,60)

Our first preference is to always use the Microsoft eConnect procedures or integration tools like Integration Manager when available.  However, when all else fails, a carefully executed SQL script can achieve the same outcome.  At the end of the day, it's all data in a database.

Let us know if this works for you or if you'd like to see similar processes using SQL!

Submitting Microsoft Dynamics Feedback - Updated 2018!

"The only thing that is consistent is change"

Change in the GP world is always coming and in most cases should be welcomed with open arms.  Changes for the betterment of the system ensures that you're getting the most out of your investment and using a product that is competitive in the current marketplace.  

Did you know that you can factor into the upcoming changes for GP?  There's an actual direct line to the Microsoft Dynamics GP team that allows customers and partners to submit product improvements and bugs to be considered for future releases.  We urge everyone to use this avenue when you're looking for more from your system!

Update 2018:

The feedback/suggestion process is now a whole lot simpler and with the times.  Simply go to the new Microsoft Dynamics GP Ideas page, create an account, review existing suggestions or suggest away!

Give it a shot and keep us posted on what new features you'd like to see in GP.  We're happy to give your submission a vote as well!

Recurring Sales Transaction in GP Using Sales Order Processing

For the environments that rely on the Sales Order Processing module for billing purposes, one of the downsides is that recurring batches that are available in other modules aren't so readily available within SOP.  While recurring batches may not be available by name, there is still the opportunity to create recurring transactions using sales orders.

Instead of a batch of recurring sales invoices, we'll create Sales Orders that can be placed in a batch and transferred to invoices over and over.

Setup Recurring Sales Orders

The first thing that we'll want to do is create a sales order document 'template' that will allow recurring transactions.

1. Open the Sales Order Processing Setup window and create or open a sales order document ID by selecting the 'Order ID' link.

2. Setup Sales Order

Note Required:

- Allocate by: None

- Allow repeating documents

Create Individual Recurring Sales Order

1. Open the Sales Transaction Entry window

2. Enter normal Order information

3. Drill into each lineitem (blue arrow) and set distribution accounts

4. Review transaction distributions to ensure they are valid for current and future transactions.

5. Drill into Document Number (blue arrow) once Sales Order has been filled out

Note Required:

- Enter times to repeat

- Enter frequency of recurrence.  (This will update order date, not posting or invoice dates)

- Ensure Invoice Type ID is valid

- Enter batch ID of recurring INVOICES - Create holding batch if necessary

- Save

Process: Batch Transfer from Order to Invoice

Transactions can be transferred from recurring sales orders to sales invoices in a batch or at the transaction-level

1, Open 'Recurring' Sales Order batch

2. Select Transfer

Note Required:

- Transfer Order to Invoice (bottom-left)

3. Preview items to be transferred

4. Transfer document(s)

5. Open sales batch window and ensure posting date is correct.

6. Open Transaction(s) and ensure expected invoices transferred to designated batch(es)

Note Required:

- Check document date 

Process: Transaction Transfer from Order to Invoice

1. Open sales order transaction

2. Select Actions>>Transfer>>Transfer to Invoice

Best Practice Notes

- Utilize separate recurring batches for orders and invoices.

Example is to create a recurring sales order batch for daily, weekly, monthly transactions and have the transferred transactions push to similar setups for invoice transactions.

- Always review posting and document dates of transferred invoices.

We hope that this process makes your billing process easier?  Have any billing tips of your own that you'd like to share?  Let us know in the comments below!

Re-Enable New Account Segment Notification in Dynamics GP

If you've ever integrated new accounts via Integration Manager, you've probably found that the notification that prompts users that a Chart of Account segment does not exists and that prevents you being able to add accounts easily.  The easiest and quickest solution for this problem is to quickly select 'Yes, add segment' and 'Do not display this message again'.  No harm no foul.

The downside of this is that the notification window exists for a reason and that reason is to ensure that users are not accidentally adding unnecessary COA segments.  Once you've selected 'Do not notify me again', GP listens and will no longer notify that user.

However, via SQL, we can reverse these effects and force GP to forget what we told it earlier.

Step 1. View users that currently have disabled this notification window

- Select * from {CompID}..SY01401 where coDefaultType = 13

Step 2. Create database backup or table backup

- Select * into SY01401_backup_MMddYY from SY01401

Step 3. Run delete statement

- This delete statement removes the records that suppress the notification window from appearing

- Delete from (CompID}..SY01401 where coDefaultType = 13

- To filter for one specific user, add the filter "and UserID = {User}"

Step 4. Run select to confirm records have been removed

- Select * from {CompID}..SY01401 where coDefaultType = 13

Step 5. Add a non-existent COA segment in GP & ensure the prompt window appears

Seems minor but notifications like these are valuable in ensuring account structures remain clean in consistent in an environment.

Simple solution to a simple problem?  Let us know in the comments below.

Automatically Running the Receivables Aging Routine via SQL - Dynamics GP

The manual aging routine can be a controversial topic when dealing with Dynamics GP.  For some businesses, seeing aged values at a certain period in time (say end of week, end of month, end of year), is all that's needed for receivables management.  For other businesses, there may be a demand to have more up to date receivable balances thus requiring the aging routine to be run on a more frequent basis. 

With a system like Microsoft Dynamics GP where the customer base is so diverse, having this sort of flexibility is key and makes sense from a development perspective.  However... it does create a rather tedious process of having to run the aging process each time the receivables team deems they'd like to see up to date summary balances by period.

Until Microsoft releases the ability to auto-age on a pre-determined schedule (fingers crossed for GP 2016!), the following script can be used to run the aging process directly through SQL.  The beauty of having a script is that this routine can be scheduled to run on a nightly basis thus never having to manually run again!

Please note that this stored procedure is designed to run in


.  Table/Stored procedures can change between versions thus requiring the script to be updated.  If you're looking for another version of the script, please contact us or let us know in the comments below.

Automatic Running of Aging Routine
--Includes Aging of Finance Charges
--Deployed Date yyMMdd
--Runs every x hours, days, months, etc

DECLARE @O_iErrorState int, @I_dAgingDate datetime

select @I_dAgingDate = convert (varchar(10),GetDate(),102)

EXEC dbo.rmAgeCustomer 0,'','þþþþþþþþþþþþþþþ',@I_dAgingDate,127,1,0,'',@O_iErrorState OUT

Automatic Running of Aging Routine
--Excludes Aging of Finance Charges
--Deployed Date yyMMdd
--Runs every x hours, days, months, etc

DECLARE @O_iErrorState int,@I_dAgingDate datetime

select @I_dAgingDate = convert(varchar(10),GetDate(),102)

EXEC dbo.rmAgeCustomer 0,'','þþþþþþþþþþþþþþþ',@I_dAgingDate,127,0,0,'', @O_iErrorState


After running the script, you can open the aging window in GP to view your last run and also view the customer summary window to see the "Aged as of date".

Quick, efficient, and manageable solutions that make everyone's live easier are our favorite.  Running the auto-aging routine via SQL when wanting to see up to date balances is a no-brainer.  Just be sure that this routine is documented so that it doesn't get forgotten in future upgrades or server changes.

Check back soon for information on more simple solutions that we'll be discussing!

Professional Services Tools Library (PSTL) - Practical Uses

Microsoft now offers Professional Tools Services Library as part of the base Microsoft Dynamics package.  The set of tools offer many under-utilized tools that are easy selling points from an administrative side and simple to implement and manage going forward.


Before we get too far along, let's be sure that everyone knows how to install PSTL within your Dynamics GP environment.

Once Dynamics has been installed, select 'Change' from the machine's Add or Remove Applications page for Microsoft Dynamics GP.  After the installation window appears, select the Professional Services Tools Library & 'Enable'.

After the installation is complete, PSTL must be setup in EACH GP company that you wish to be able to use the tools within.  Simply navigate to the PSTL 'Gear' Icon that should now be available in the list of available modules & open the hub.

Tip:  For frequent users of PSTL, we typically recommend adding PSTL to the Home navigation pane.  This can be done by right-clicking the pane & selecting Add>>Window>>Technical Service Tools>>Project>>Professional Services Tools Library

One-Time Tools

There are a handful of tools that we recommend making use of in almost all circumstances.

Doc Date Verify

First & foremost is doc date verify under the Purchasing module.  This tool does as imagined and checks the document date of transactions being saved and posted in the posting module.  The days of posting transactions with document dates from 2216 are now behind us.  Thank you PSTL!

During transaction entry, if entering a document date for a close fiscal period, the user is warned that the fiscal period is closed & allows them the ability to override.  If the user tries to enter a document date for a fiscal period that does not exist, entry is prevented until the document date is corrected or the fiscal period is created.

Master Triggers

Ever have the problem of vendors, customers or accounts existing in 10 different GP companies with 10 different values?  You certainly wouldn't be alone as this is a very typical problem.  The master triggers within PSTL aim to ease these woes by 'triggering' creation of master records in all companies that you select.  That means when you add ABC Company as vendor ID 0001 in company A, that vendor ID will automatically be created with the full information in all other GP companies that you've setup.  Pair this feature with field-level or window security in subsidiary companies and instruct your users to create records in only one company and you're one step closer

to standardization.

SOP Customer Item Lookup

We all love quick & beneficial reports right?  Enabling the SOP Customer Item Lookup provides you with an additional inquiry window that quickly lists all items that a customer has purchased as well as their current prices.  After enabling the tool, you can populate the report with historical data from Sales Order Processing Setup>>Additional.  After the data has been populated, the inquiry window becomes available under the SOP Entry & SOP Item Detail windows.

Maintenance Tools

Maintenance tools are the tools that make all of our lives easier as being those responsible for keeping our Dynamics environments up and running smoothly at all times.


Toolkit under the Systems module provides us with the capability to quickly and efficiently rebuild the GL00105 table using the GL00100 table.  Too many times have we seen the GL00105 table become corrupt and the archaic methods required a semi-advanced working SQL knowledge or using 'other' tools within GP that gave us little to no confidence in the efficiency of the task being performed.  The rebuild tool is a great tool.

Update User Date

This tool will automatically update the system date for all users in the system @ midnight.  For environments where users are typically logged in around the clock, this is a nifty little tool that avoids confusion for end-users and prevents the accidental "Posting an entire day's worth of activity in the wrong period".

RM Transaction Unapply

How many times have you or your users questioned 'Removing' paid transactions from the sales module?  One of the biggest headaches with this process is that once a transaction is in the historical tables, it became an overly complicated burden to make changes to that transaction (like unapply a payment).  This tool allows you to do just that and will move the transaction(s) back to the open tables automatically.

Everyday Tools

Our final grouping of tools are the tools that can be used to solve common business/data problems that are typically encountered

Master Record Modifiers/Combiners

Ever wanted to combine checkbook activity, change an item number, update your chart of account format, etc?  More likely than not, PSTL is a good place to begin this process and the tools available can handle the execution of changing data on the back-end.  We recommend starting small & testing any changes in a development environment before attempting in production.  Also, factor in the 3rd party applications in your environment that may NOT be updated using the PSTL tools available.  No need to fear if PSTL doesn't reach far enough, most ISVs are prepared to handle any data changes that are needing to be made.

Company Copy

This tool isn't perfect and doesn't do ALL of the work for you (what good would we be if it did?) but it does handle a large majority of the simple company setup tasks.  When setting up a company and wanting to use another company as a template, try using the company copy tool.  You'll be glad that you did after you're hours into the new company setup checklist provided by Microsoft.

Years ago, this article might have never ended but with each new release of Dynamics GP, Microsoft has done a great job at providing some more robust tools directly within the normal interface or made improvements so that some of these cleanup tools are no longer needed to be relied on.

Want to know more about a tool or have another favorite in mind?  Let us know in the comments below!

GP Security: Identifying Security Roles, Tasks, & Operations

A common request we receive is: "We want to tie down security of our users but have no clue as to who has access to what".  To be frank, the reporting for this in GP is not exactly easy to come by.  While there are a number of ISVs available that will provide you with tools and analytics for this information, we have a quick fan-favorite solution via SQL to gather this data.

This information can also be found on the Microsoft Developer Blog here.  

First thing's first, in order to get the following script to populate data, the Clear Data Procedure on the Security Resource Descriptions table within GP.  This can be done from Microsoft Dynamics GP>>Maintenance>>Clear Data

Select 'Display' in the toolbar change to 'Physical', Series = 'System' & Table = Security Resource Descriptions.

After inserting the table and running the clear data procedure, the SQL query will now populate the users>>roles>>tasks>>operations which can be used as a starting point to identify and cleanup security/internal control concerns.



    C.CMPNYNAM CompanyName, S.SecurityRoleID,

    coalesce(T.SECURITYTASKID,'') SecurityTaskID,

    coalesce(TM.SECURITYTASKNAME,'') SecurityTaskName,

    coalesce(TM.SECURITYTASKDESC,'') SecurityTaskDescription,

    coalesce(R.DICTID,'') DictionaryID,

    coalesce(R.PRODNAME,'') ProductName,

    coalesce(R.TYPESTR,'') ResourceType,

    coalesce(R.DSPLNAME,'') ResourceDisplayName,

    coalesce(R.RESTECHNAME,'') ResourceTechnicalName,

    coalesce(R.Series_Name,'') ResourceSeries

FROM    SY10500 S   -- security assignment user role


    SY01500 C   -- company master



    SY10600 T  -- tasks in roles



    SY09000 TM  -- tasks master



    SY10700 O  -- operations in tasks



    SY09400 R  -- resource descriptions 



Without the Clear Data procedure ahead of time, the resource descriptions table would be empty and provide no detail on the security operations.

Security is never fun and sometimes hard to grasp your arms around.  We hope this report helps.  Please leave us any questions or feedback below & be sure to our out website @ ALaCarteGP.com.

Until Next Time!

Management Reporter Performance Issues --> Clearing Report Repository

We've run into multiple occasions where we've seen environments with top-notch resources, up to date servers and not an overly abundant amount of data yet they still seem to experience performance issues while generating reports.

The report itself would take 30+ seconds to generate but then the opening of the MR Report Viewer application would drag on and one and sometimes take upwards of a minute to open and display the generate report.  When the Report Viewer application opens, it calls the reports in the report library (to an extent) and typically isn't a big deal.  However, when you are working in an environment where Management Reporter reports are heavily relied on, the number of reports in the repository builds quickly.  You'll also find that there is no option within Management Reporter or the Report Viewer (as of CU14) to clear the repository reports or set any amount of time to store the historical reports before clearing.  This is where a bit of SQL magic comes in handy.

The following query defines an integer that is used to define how many days worth of reports that you'd like to keep in your repository.  In our example, we decided that only 10 days worth were necessary and if any reports past 10 days were ever needed that we'd simply re-generate the report.

Please note that this query may take an extended period of time to run, especially when being used as a first time.  We also highly recommend running this in a Development environment to ensure the desired outcome is what's expected before moving into production.

DECLARE @DaysBack integer

Set @DaysBack = 10

delete reporting.reportlinetransaction

where ReportID in (select id from reporting.report where RepositoryID in

(select id from reporting.repository where StatusType = 0 and [Type] = 10 and CreateDate <= DATEADD(day,@DaysBack,getdate())))

delete reporting.ReportLineFinancial

where reportid in (select id from reporting.report where RepositoryID in (select id

from reporting.Repository where StatusType = 0 and [Type] = 10 and CreateDate <= dateadd(day,@DaysBack,getdate())))

delete reporting.ReportLineAccount

where reportid in (select id from reporting.report where RepositoryID in (select id from reporting.Repository where

StatusType = 0 and [Type] = 10 and CreateDate <= dateadd(day,@DaysBack,getdate())))

delete reporting.report where RepositoryID in (select id from reporting.Repository where StatusType = 0

and [Type] = 10 and CreateDate <= DATEADD(day,@DaysBack,getdate()))

delete reporting.repository

where statustype = 0 and [Type] = 10 and CreateDate <=DATEADD(day,@DaysBack,getdate())

After running this query, you should find that when generating your next report that Report Viewer will open up in a fraction of a time as before.

That's all for today everyone.  Please feel free to leave any comments or questions below and check out ALaCarteGP.com.

Customer/Vendor Relationship Setup and Processing

Too many times have we seen makeshift customer & vendor relationships and processes being used within GP.  With the latest versions of GP, even more features are available that make creating relationships and processing transactions between the purchasing and sales module a breeze.  Our video tutorial covers the setup and processing of the most useful features to help you bridge the gap between the purchasing and sales modules. 

Check out our full video library on our Youtube channel.