Archive for the ‘Dynamics GP 2010’ Category

Rollback your SQL script w/o restoring the database

Have you ever had to update a table in GP and made a mistake. No! Never right? Then had to restore the database to bring it back before you ran the statement.  Dang!! I forgot to make a backup! How many times have you had to restore before getting it right?

ptg02205064

Well there is in SQL the Rollback and Commit Statements to help rollback your changes in case of the OOPS!! or in case you forgot to back-up the database. Then you Commit in case you are perfect. For a few seconds more, you can save a time and heartache.

 

Example :

  – How to not commit changes in your database until you are sure it works and can roll back the changes without doing  a restore of the database.

–Below is an example of an Update Set command that can be rolled back in case of OOPS!!

– Uses a Specific Database

– Step One

Select * RM00101 where ChekBKID=’Main’

–check the number of rows for transactions

 

– Step Two

Begin Tran

Update RM00101 Set ChekBkId=’New’ where ChekBkId=’Main’

– check the number of rows for transactions to make sure it matches your first select statement

– you can run the select statement again by just highlighting it and make sure it is ’0′ rows and no data.

 

– Step Three or Four

Commit

–run this if everything works great

 

Rollback

– run this if you did something wrong OOPS

 

 

GP US Payroll Year End Update

We just received the delightful news that the GP year end updates are available for GP 2010 and GP 2013.

If you’re using GP 10 or an older version, there are no updates available from Microsoft for your versions. See Microsoft Support Lifecycle for Dynamics GP here.

You need to keep your business systems up to date. I talked with someone this week that is using GP 7.0. You’re just asking for future sorrows if you don’t keep current.

So here’s the information from Microsoft:

This update is all inclusive of prior updates for Microsoft Dynamics GP 2010 and GP 2013.

 

You can start to install and get the MSP via the link below for 2010 now:

https://mbs2.microsoft.com/fileexchange/?fileID=d85e8ceb-e263-49ac-bd6a-39b08025ba1e

 

Microsoft Dynamics GP 2010

https://mbs.microsoft.com/customersource/downloads/taxupdates/usgpye2010

Once you install the update, your version for GP 2010 will be    11.00.2292

(Also changes to Project Accounting, Fixed Assets, Human Resource, Field Service, Payroll Extensions, Advanced HR)

 

Microsoft Dynamics GP 2013

https://mbs.microsoft.com/customersource/downloads/taxupdates/usgpye2013

Once you install the update, your version for GP 2013 will be    12.00.1538

(Also changes to Project Accounting, Fixed Assets, Manufacturing, Human Resource, Field Service, Cashbook, Analytical Accounting,
Payroll Extensions, Advanced HR)

 

2014 US Payroll Round 1 Tax Update (due to release week of 12/16)

Changes so far: (circular E not final)

FICA Social Security limit, California, Kansas, Maryland, North Carolina

 

Please Note: The 2013 Year-End Update and 2014 Tax Updates will not be available for Microsoft Dynamics GP 10.0 and prior versions.

 

The type of Dynamics consultant you want

blog pictureI had the pleasure to watch from afar how a fellow consultant dealt with an issue her client was having in GP. I say from afar because I had little to do with the issue but was copied just in case I may be able to help.

The consultants situation involved a third party product to GP and because something was not working her client was faced with receiving fines if the software didn’t start working that day.

Here’s a summary of the events:

8:54 am I see this email come through: CUSTOMER IS DOWN!!!!!!!!!!!!!!!!!!!!!!!

I personally jumped to see what was wrong. It wasn’t really related to me so left it alone as I was sure the people involved would take care of it.

9:29 am Email to ISV that says roughly “here’s the issue, we need new or temporary reg keys for this client”

9:32 am Follow up email with different subject line

9:43 am Another follow up email to ISV

9:47 am Another email to someone else at ISV trying to get a response

9:50 am Email from ISV as follows

*******************************

Please REFRAIN from sending different emails with totally different subjects as this morning, you have already opened up 3 NEW tickets in our system.  Please use the same one.  We are already looking into this and getting back to you shortly.***************

******Side note**** At this point I’m laughing and we have several people in our office commenting on this issue. I call someone on my team to make sure we can’t do anything to help. I’m assured our team is on top of it and waiting for reg keys so we can get them input for the customer.

9:55 am ISV responds further

9:58 am Crisis is averted and plan put in place to resolve issue completely

I’m sure there were several calls involved as well but I wasn’t privy to those efforts.

Discussion

I’d like to hear what everyone thinks about this exchange of events. I wrote down a few comments I expected but thought otherwise as I’d like to hear what things come to mind when seeing the summary of events above without me jading the conversation.

OK, one jading comment – I wish I had a consultant that’s persistent and engaged for whatever issues are important to me. I love the fact she got the attention of the people involved and didn’t wait for a response. I’m sure she rather get yelled at for being annoying then risk the client’s well being.

I personally wasn’t much help in this situation but I was aware of the issue and took action just in case I was able to help.

Running checklinks after multicurrency registration and setup in Dynamics GP

imageAfter registering and setting up Multicurrency in Dynamics GP the system prompts the user to run check links on the Multicurrency tables.

This usually isn’t that big of a deal except when there are thousands of transactions and records that need to be updated. This problem occurred for one of our clients today. The person updating the system to include multicurrency selected to add all financial tables to check links on. That was 5pm yesterday. The process completed at 10 am today and had 354k pages in the report.

It’s true. I’m not exaggerating this time. Check it out for yourself.

image

What’s worse is the user stayed up all night to get this process done at the office. By the time I was called at 6:30 am I had one crabby user when I mentioned “you’re calling me pretty early”. Her reply was a disgruntled “It’s late, not early. I haven’t been to bed.”

Maybe I don’t have the war wounds some of you out in the field consultants do but I can’t remember a check links process returning that many pages of updates. I’ve seen a couple hundred thousand pages before but this almost doubled it.

How about you? What’s the highest number of page results you’ve seen returned by the check links process.

Take this as a warning. Make sure you leave plenty of time when running check links on the financial tables particularly the CM tables.

Or at least bring a pillow and/or have a full pot of coffee ready.

Sorting in Smartlist the Smart way

312339_117542088417759_1094173370_nLast year I worked closely with customers that performed data dumps into excel from Dynamics GP.

There are the easy exports where they just publish the report in text mode and then open the same in excel and I’ve seen customers that love formatting data in excel, spending countless hours formatting and at the end they have to do it again because data was refreshed.

 

There are others that are more complicated but yield better results, like Excel Reports, SSRS or plain T-SQL extracts and just very few who take advantage of the Export Solutions but that will be a subject of a future post so stay tuned.

 

Smartlist is a very useful tool within GP but some customers find it confusing because of the filters and how data is stored in GP.

One of the questions that made me write this post for you is, How can I sort data in Smartlist using more than one field, so I don’t have to do this in Excel?

 

The solution is simple but believe it or not, I learned that not many people know about this, I queried my own colleagues and I was shocked.

Here is my revelation for you, hope I can save you some time …

Use the Order By feature in Smartlist. Let’s go thru a sample:

Step 1.- Open Smartlist

Step 2.- Open Financial > Account Transactions

Step 3.- Double click on the * named smartlist

image

Step 4.- In the Search Account Transactions window click on the Order By button

image

Step 5.- Add the sort rules/levels from the list on the left, by using the Insert button

in my sample I am sorting by Account, then by the amounts, but I want all debits  from highest amount to the lowest, then I want all Credit postings same rule and lastly I want to sort by the Series.

image

 

And here is the result, so no more single column sorting!!!

Step 6.- Click OK twice and see your results

image

 

Here is another sample where I am sorting by Journal entry then Highest Debit Amount to lowest and lowest Credit Amount.

image

 

 

Until my next post!!!

Francisco G. Hillyer

Why my GP is too slow?

Hello all, I would like to provide you with some information on what to look when 312339_117542088417759_1094173370_nDynamics GP seems to be working slow. As you may already know Dynamics GP is a process driven application and you may experience slow performance when specific processes are performed in GP please take a look:

 

· While posting might be due to the PJOURNAL table as you know checks post too or remittance is being printed separately

· Client workstations should have a default printer setup and online, remove invalid printers

· While opening windows, the autocomplete feature may cause performance issues and if not used can be turned off

· While login into Dynamics GP or utilizing 3rd party dictionaries as well if Menu Master table (SY07110) became too large.

· The location of the modified dictionaries other than local workstation

· Certain Smartlist reminders might interfere with login into Dynamics GP

· You may have shortcuts to network locations that are no longer mapped or available

· Printing to file directly into the client/remote computer instead of the hosted server user folders

· OLE Notes path in Dex.ini

· SQL AutoClose and AutoShrink options not set to false

· Virus scanner setup not excluding the following extensions (CNK, DIC, CHM, SET, INI, DAT, IDX, VBA, LOG, LDF, MDF)

· The Dynamics GP homepage smartlist favorites

· The Dynamics GP homepage outlook integration

· Enabling tracing options in DEX.ini

· Bad user defined triggers in SQL

· Bad configuration of SQL server memory allocation

· SQL server or Dynamics GP server available disk space

· SQL server log file is full and is not set to Autogrow

· TNT*.* files, your %TEMP% folder has not been cleaned

· Non-compliant SQL server/GP Server/Client hardware

· Different DB owner than DYNSA

· Little or no SQL server maintenance (Table Fragmentation)

· You might be missing table indexes or statistics

· When exporting a budget, thru the budget wizard it seems locked (if you are using the excel wizard to export, make sure the “save as” dialog is not on the background, Alt-Tab to it as it must have been opened and its behind your main GP windows.

· Too much history (You can archive historical years, specially if you have large tables like Item Master, Customers, Vendors) Believe me I ran reconcile one time and it took 6.5 days on a company with more than half a million SKUs and 5 years of sales.

 

I have witnessed how few administrators that in order to preserve enough disk space they have a tendency of running SHRINK on the SQL server, this obviously will fragment tables affecting performance. I have a post that covers that here.

 

If you want us to take a look at your environment don’t forget to contact us, and as always when troubleshooting record answers for the following questions:

1.- Can you replicate the issue? write down steps that let you reproduce the issue.

2.- If its related to posting, please note the module( s ), how many transactions are in the batch, how long does the process last? how long did the process last before?

3.- On a Server/Client install, can you replicate on the server?

4.- Can you reproduce on all or other clients?

5.- Are there any 3rd party products running on the same SQL/GP server or together with Dynamics GP?

6.- Are there any customizations in GP?

 

Until my next post and let us know if we can help!!

Francisco G. Hillyer

What happens if I update Payroll tax tables and…

Hello all, here is something I was asked recently:

“I have processed my 2012 payrolls for the year, my IT is always on the latest and greatest regarding service packs, hotfixes, updates etc, and they installed the 2013 payroll tax tables update, and I have not executed the Payroll Year End, can I close it anyway?”

Short answer: Yes you can close it, but it will be incorrect.

Please if this happens to you, make sure to restore the Dynamics DB prior to the install of the payroll tax table update because I am sure you always do a backup of your databases prior to any updates installed right?

Leslie Vail has a post from 2011 where she explains how FICA/S wages and withholding is calculated Leslie’s Post

NOTE FOR LESLIE (Step 5b says “he year-end” instead of “the year-end”Smile)

But I wanted to provide a graphical representation of it

01-09-2013 12-21-51 PM

 

Until my next post…

 

Francisco G. Hillyer

It’s here again: Year End Processes 2012

So just like every year we go thru similar steps, I am providing some help along the way, 598846_4784214609951_774409899_nmany of the processes described here belong to a published KB from Microsoft as well links to posts from other resources but I wanted you to have them all in one place.

Please note that some of the links require you to have access to Customersource/Partnersource.

 

Difference between Year End Update and Payroll Tax Table Updates

The Year End Update download contains software changes to allow you to comply with 2012 filing requirements as well as the most recent fixes for your Dynamics application.

The 2013 Payroll Tax Table Updates contains updated rates and tax changes as well it might contain FICA/Medicare changes to be applied when processing 2013 payrolls.

Here is the link for the 2012 US Payroll Year End Update: Click Here

Here is the link for the US Payroll Tax Updates: Click Here

It is important to mention that you can install the Year end update prior to your last payroll for 2012, however do not install the Tax table updates before your last 2012 payroll as you might end up with a wrong calculation.

Always backup your data, your .DIC files as well.

 

Setting up / Adjusting Fiscal Periods in GL

Microsoft provides a KB article number 871679 KB871679

 

Closing Dynamics GP GL

STEP 1: CLOSE ALL OTHER MODULES

Complete the posting/closing procedures for the modules in the suggested order prior to closing GL, please note that if you are not using a particular module, just skip it:

Follow the instructions provided in each KB

Inventory: KB 872713

Receivables Management: KB 857444

Payables Management: KB 875169

Fixed Asset Management: KB 865653

Analytical Accounting:

For Microsoft Dynamics GP 10.0 Service Pack 2 and greater, functionality was added to consolidate balances for dimensions in Analytical Accounting. Please review KB 960356 to make sure you have properly marked the dimensions that you want to be consolidated  during the year-end process. Please note that there is no separate year-end process that needs to be run in the Analytical Accounting module. When the year-end close process is run for General Ledger, it will automatically consolidate the balances and move the transactions in Analytical Accounting for dimensions that were properly marked.

PAYROLL year end procedures are independent of the procedures in other modules and are usually performed at the end of the calendar year. Please see this KB 850663

STEP 2: POST FINAL ADJUSTING ENTRIES

Adjusting entries are considered most of the time as entries that allow you to correct errors that were made when transactions were recorded as well they might be utilized to assign revenues or expenses to period or periods in which revenues were earned or expenses incurred.

If you need to in setup or adjust your fiscal periods in GP, please review the section “Setting up / Adjusting Fiscal Periods in GL” at the beginning of this article.

STEP 3: VERIFY ACCOUNTS POSTING TYPE

The posting type helps Dynamics GP determine whether an account will be closed to the retained earnings account or if the account balance will be brought forward to the next fiscal year.

Follow these steps to print an account list:

  1. On the Reports menu, point to Financial, and then click Account.
  2. In the Reports list, select All Accounts, and then click New.
  3. In the Option box, type all accounts.
  4. Click to select the Inactive Accounts check box. (if you want to delete inactive accounts)
  5. Click Destination to specify a report destination, and then click OK.
  6. Click Print.
STEP 4: CLOSE FISCAL PERIODS FOR 2012 (OPTIONAL)

Use the fiscal periods setup window to close all fiscal periods open for the 2012 year. This will prevent transactions from posting to the wrong period or the wrong year.

NOTE: If you still use Microsoft FRx, keep one period in the most recent historical year open to prevent the error: “FRX Print Engine Failed to Load the Company Calendar” see this KB 874932

STEP 5: PERFORM MAINTENANCE ON FINANCIAL SERIES (OPTIONAL)

Run the check links procedure on the financial series group of modules.

Make sure that you always have a backup and that you can confirm you can restore from it.

STEP 6: VERIFY SETTINGS IN GL SETUP WINDOW

If you are like me and always want to keep historical records, you must enable the checkbox next to Accounts and Transactions in the Maintain History area of the General Ledger Setup Window.

NOTE: If for some reason you have the checkbox enabled for “Close to Divisional Segments” and you are no longer closing to Divisional Segments or by mistake someone else enabled it and not using it pay attention:

I have discovered in the past a BUG in dynamics GP that is still there as I reported in this blog in August 14, 2012, if you would like to read more about this important step please click here: YEAR END CLOSE BUG 64711

STEP 7: MAKE ANOTHER BACKUP (OR BACKUP IF YOU HAVE NOT)

Make sure all users are out of the system

Remove stranded user sessions, you can follow this post Removing Stranded Sessions

Backup DYNAMICS database

Backup all company databases if you are unsure which databases to backup you can query the company master table (SY01500) and retrieve the names, the following script can help you determine that information.

select INTERID, CMPNYNAM from dynamics..sy01500

Make sure to backup as well the Dynamics GP code folder

STEP 8: PRINT A TRIAL BALANCE REPORT (OPTIONAL)

Use the Trial Balance report window to print a year end detailed trial balance report. Even when this step is optional it is highly recommended to be followed.

STEP 9: PRINT YEAR END FINANCIAL STATEMENTS (MR, FRx, Other)

Print any year end financial statements that are required. The most common are:

  • Balance Sheet
  • Profit and Loss Statement
  • Statement of Cash Flows
  • Statement of Retained Earnings
STEP 10: SETUP A NEW FISCAL YEAR

Before you can perform the year end closing routine, you must setup a new fiscal year, please follow the instructions on the section at the top of this article to Setup or Adjust Fiscal Periods.

STEP 11: CLOSE THE YEAR
  • Click on the Microsoft Dynamics GP Menu > Tools > Routines > Financial > Year End Closing.
  • If its not specified, you can key in the Retained Earnings Account.
  • Optional: Specify the Starting Journal Entry
  • Click on Close Year
STEP 12: BACKUP YOUR SYSTEM

Make another backup of the Dynamics DB and all the company Databases.

 

Thank you for reading I would like to mention that this post enhances Microsoft KB 888003 

 

Until my next post

Francisco G. Hillyer

DYNSA and SQL Maintenance for Dynamics GP

Hello all, it has been quite some time since my last post, kind of missing all of you, specially with the holidays approaching etc.598846_4784214609951_774409899_n

This time I would like to share with you something that I recently learned “the hard way” obviously on a support case.

First of all, I want to express the importance of validating your information and that the engineers/partners that are/were involved in your company setup of Dynamics GP were bound to the best practices established by Microsoft and supported by many of my colleagues.

In my case, a customer did a side by side upgrade of SQL, with this came the issue of not having the DYNSA login in the new SQL instance, we followed certain processes to make sure DYNSA was the owner of the Databases Dynamics GP is using.

But you may ask who or what is DYNSA? my friend Mariano Gomez has a post very complete about this subject and you can find it here: Mariano’s DYNSA Info since I am not reinventing the wheel take a look at Mariano’s blog its packed with information for all audiences (GP related !!).

So when I was working on this customer DYNSA setup, I suddenly remembered another case where I was having issues with a third party, I jumped into their environment (literally) and started investigating this DB configuration, to my surprise the owner of the databases was an AD account not DYNSA. I proceeded to replace the owner and then certain SQL reports started working and producing results. I am still intrigued on why, but I will do a full research on spare time.

So back on the game for this customer issue I was having while trying to archive data, just imagine a SOP30300 table with 11 million records and a huge base of customers.

The queries running were taking countless hours to execute not even mentioning the impact on the processor. memory and of course user experience.

I learned that the customer had a “Maintenance Plan” where they executed the Shrink process on SQL, as you may know I am a SQL enthusiast and I recalled an important blog post from another noted resource Mr. Pinal Dave aka “The SQL Authority” here is his post about why is BAD to shrink a DB Shrink is Bad for you… there is one section in the article that explains that Shrinking a DB to obtain disk space will actually fragment your tables, obviously to reduce fragmentation you rebuild indexes. So this maintenance plan was being executed to reduce disk space, then to improve performance, and the disk space was gone again. Wise words from a mentor that prefers to be in the shadows once said “with current prices on storage why waste time shrinking when you can focus on performance”.

I ended up tweaking some SQL scripts to automate a SQL job on finding fragmented tables in the DB and executing that as part of DB maintenance, as I said “go buy another disk drive and add it to your server, move the logs to this new disk and keep data apart from the logs and you will be better than now”.

If you need help, let us know, our team at RoseASP and RBS we have experience in solving this type of issues.

I hope my experience helps you for a better community.

 

Until my next post

Francisco G. Hillyer

Additional Sorts in Smartlist…. not just one

Hello, this time I just want to share something I learned sometime ago but to my surprise being completely honest most people I show them never heard about this.Me

I know people that use Smartlist extensively, they really use it but the pain they have is sorting, I have witnessed many exports to Excel and even some people were some kind of creative that they made their own “Export Solution” to do what? you may ask, and yes you have the answer, to SORT by other columns.

So when I show them this trick they just think that I’ve been hanging around with MGomez, FHamelly, DPitcher, the famous SChapman, MPolino and many more just I wont finish the list.

 

Here it is… how about if I tell you I can show you how to sort Smartlist by using multiple fields, different sorts and even with fields not being displayed on the smartlist itself?

Lets open Smartlist….

SM1

Double click on one of your smartlist objects, I am choosing the “All” in Account Transactions.

Once the Search dialog appears click the button on the bottom called “Order By”

SM2

Then the Select Order By window appears, note on my example that I sorted my list by Account, then by Series (Descending), by Transaction Date and by the User Who Posted.

The User Who Posted is a field that is not being displayed in the screen, even in this example the user who posted is not doing us any good report wise as we cannot see the value, it’s a clear example that you can use a non displayed field to sort.

SM3

Once you have chosen the available columns and moved them to the Order by section you click OK to go back to smartlist search dialog, then OK again to have the search executed.

SM4

As you can see the result is ordered by the Account number, then by the series int value, then by date.

Don’t forget that once you define your sort, save your smartlist definition so you don’t have to re-work.

I hope I can save you sometime with Excel macros and ease your job directly from Dynamics GP Smartlist.

 

Until my next post!!

Francisco G. Hillyer

Subscription Options:
Subscribe via RSS
Articles Categories