SQL Snippet: Split String By Delimiter

● Ian Grieve ●  ● 0 Comments   ● 

Microsoft SQL ServerIf you’ve been following this blog, you’ll know that I write a fair bit of SQL. I’m going to post some small snippets of SQL which I had to work out how to accomplish a small task as part of a larger script.

This third example, shows how to use the new in SQL Server 2016 string_split command:

/*
Created by Ian Grieve of azurecurve|Ramblings of a Dynamics GP Consultant (http://www.azurecurve.co.uk)
This code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales (CC BY-NC-SA 2.0 UK).
*/
SELECT
	value
	,ITEMNMBR
	,ITEMDESC
	,ITMCLSCD
FROM
	IV00101
 CROSS APPLY
	string_split(RTRIM(ITEMNMBR), '-')
WHERE
	value = 'SHP'

The example is part of the code I used when working on a client project a while ago; the client had a large number of Inventory Items and I needed to select a subset of the Items from the Inventory Master (IV00101).

When the clioent created their items they did so using a hyphen delimiter. Using the string_split command, I was able to separate out the segments of the Item Number and select only one of them in the WHERE clause.

● Categories: Microsoft, SQL Server, Uncategorized ● Tags: , , , ,  ● Permalink ● Shortlink ●

Fixing Reports Not Implemented Error After Upgrade

● Ian Grieve ●  ● 4 Comments   ● 

Microsoft Dynamics GPWe’ve been doing a number of upgrades recently and I encountered an old error when trying to deploy the SQL Server Reporting Services (SSRS) and Excel Reports through the Reporting Tools Setup window (Administration >> Setup >> System >> Reporting Tools).

This particular client is being upgraded from Microsoft Dynamics GP 2013 SP2 to 2016 R2.

The problem is that some of the companies are showing as Not implemented. The companies showing this way are the oldest; TEST2016… is actually the main company renamed for testing.

Reporting Tools Setup

Continue reading → Fixing Reports Not Implemented Error After Upgrade

● Categories: Dynamics, GP, Microsoft, Uncategorized ● Tags: , , , , , , ,  ● Permalink ● Shortlink ●

Hands On With Microsoft Dynamics GP 2016 R2: Bank Reconciliation Tracks History

● Ian Grieve ●  ● 3 Comments   ● 

Microsoft Dynamics GPWith the release of Microsoft Dynamics GP 2016 R2 it’s time for a series of “hands on” posts where I go through the installation of all of it’s components and also look at the new functionality introduced; the index for this series can be found here.

The tenth Feature of the Day I’m going “hands on” with is the Bank Reconciliation Tracks History one which introduced a new window on the Financial Routines menu:

Reconciled Transaction Maintenance

To use this feature, decide if all, a range or one Checkbook should have its reconciliation history moved to history.

Mark the checkbox next to the type of transactions which should be moved and enter a Cut Off date; although the date field is aligned with the Reconciled Deposit Transactions, it apples to all of the transaction types.

Click Process to perform the move of reconciled transactions to history.

Click to show/hide the Hands On With Microsoft Dynamics GP 2016 R2 Series Index

● Categories: Dynamics, GP, Microsoft, Uncategorized ● Tags: , , , , , , ,  ● Permalink ● Shortlink ●

Hands On With Microsoft Dynamics GP 2016 R2: Receivables & Payables Distribution Line Display UI Change

● Ian Grieve ●  ● 3 Comments   ● 

Microsoft Dynamics GPWith the release of Microsoft Dynamics GP 2016 R2 it’s time for a series of “hands on” posts where I go through the installation of all of it’s components and also look at the new functionality introduced; the index for this series can be found here.

The feature I am going “hands on” with is the ninnth Feature of the Day, GL Distribution Line Display UI change.

The status of the scrolling window on the Payables or Distribution Zoom window are remembered:

As with the GL Distribution Line Display UI Change feature, the settings for this feature are stored in the SY01402 table (System User Defaults) in the system database, which is typically called DYNAMICS.

Again is closed and 1 is expanded; the Payables Management setting is where the syDefaultType column is equal to 107 and Receivables Management is 111.

Click to show/hide the Hands On With Microsoft Dynamics GP 2016 R2 Series Index

● Categories: Dynamics, GP, Microsoft, Uncategorized ● Tags: , , , , , , , , ,  ● Permalink ● Shortlink ●

Hands On With Microsoft Dynamics GP 2016 R2: GL Distribution Line Display UI change

● Ian Grieve ●  ● 0 Comments   ● 

Microsoft Dynamics GPWith the release of Microsoft Dynamics GP 2016 R2 it’s time for a series of “hands on” posts where I go through the installation of all of it’s components and also look at the new functionality introduced; the index for this series can be found here.

The feature I am going “hands on” with is the seventh Feature of the Day, GL Distribution Line Display UI change.

Continue reading → Hands On With Microsoft Dynamics GP 2016 R2: GL Distribution Line Display UI change

● Categories: Dynamics, GP, Microsoft, Uncategorized ● Tags: , , , , , , ,  ● Permalink ● Shortlink ●

Hands On With Microsoft Dynamics GP 2016 R2: Display Tax Percent for Historical Sales Transactions

● Ian Grieve ●  ● 3 Comments   ● 

Microsoft Dynamics GPWith the release of Microsoft Dynamics GP 2016 R2 it’s time for a series of “hands on” posts where I go through the installation of all of it’s components and also look at the new functionality introduced; the index for this series can be found here.

In this post, I’m going “hands on” with the sixth of the Microsoft Dynamics GP 2016 R2 Feature of the Day posts, Display Tax Percent for Historical Sales Transactions.

To test this feature, I created a new Tax Detail in Tax Detail Maintenance (Administration >> Setup >> Company >> Tax Details) for a Sales series Standard Rated UK VAT at 20% and created a related Tax Schedule:

Tax Detail Maintenance

Continue reading → Hands On With Microsoft Dynamics GP 2016 R2: Display Tax Percent for Historical Sales Transactions

● Categories: Dynamics, GP, Microsoft, Uncategorized ● Tags: , , , , , , , , , , , , ,  ● Permalink ● Shortlink ●

Error After Copying Database From Live Server To Test Server

● Ian Grieve ●  ● 0 Comments   ● 

Microsoft Dynamics GPThis particular error is one I have seen a number of times after a client, or inexperienced consultant, has copied a database from the live server to the test server and run the scripts from the Microsoft Knowledge Base and thought everything was fine after logging in with the sa account (which is another good reason for not using sa as it hides a multitude of errors.

However, as soon as a user tries to log in, they receive the error message shown below:

Microsoft Dynamics GP: A get/change operation on table 'syUserDefaults' failed accessing SQL data.

Microsoft Dynamics GP

A get/change operation on table 'syUserDefaults' failed accessing SQL data.

The cause of this error is quite simple; the SID (Security Identifier) of the Server Login ID and of the Database User are different.

There are two ways of fixing it:

  1. Use SQL Server Management studio (SSMS) to delete the server login and database users and then save the user with a new password from within Microsoft Dynamics GP.
  2. Use SSMS to run an ALETR USER command on the database user to link it to the Server Login.

The latter option is by far the quicker, and there are two methods you can use to do this:

  1. Alter each user individually, which is only feasible if you have a small number of users.
  2. Alter all users in Microsoft Dynamics GP using a SQL script, which is by far the easiest method.
● Categories: Uncategorized ● Permalink ● Shortlink ●

A Diary of reIMAGINE 2016: Part 4 – At Heathrow Airport

● Ian Grieve ●  ● 1 Comment   ● 

reIMAGINE2016The plane arrived at Heathrow slightly late, apparently due to the airport being busy.

The flight from Newcastle was pleasant enough. I now have three-and-a-quarter hours until my flight to Chicago is due to take-off. The downside is once I get to Chicago, the next connection departs from a different terminal and I have to collect my luggage before going through customs and re-checking my luggage.

And I have to do all of that in one-and-a-half hours.

Slightly concerned, which I voiced on Twitter, but American Airlines responded saying their staff will be happy to help and not to worry. Yeah, still worrying.

As it is my flight is due to arrive in Fargo at 2205 and I am due to start work tomorrow at 0930. I don’t exactly have a lot of latitude in timings if I am going to get any sleep tonight. Why did we book a flight like this, you ask? All of the flights available had similar timings, so there was little actual choice.

Well, I’m going to try to stop borrowing trouble and worrying about it and have a nose about Heathrow Terminal 5 while I am here.

● Categories: Conferences & Events, Dynamics, GP, Microsoft, Uncategorized ● Tags: , , , , ,  ● Permalink ● Shortlink ●

wfDeployClrAssemblies Error When Deploying The System Database

● Ian Grieve ●  ● 1 Comment   ● 

Microsoft Dynamics GPThis post is a slight diversion from my Hands On With Microsoft Dynamics GP 2016 R1 series, but I am posting it as it came up while I was deploying the system database.

Towards the end of the deployment an error occurred while the wfDeployClrAssemblies was being executed (actually there were three error messages produced):

Microsoft Dynamics GP Utilities: The following SQL Statement produced an error: EXEC wfDeployClrAssemblies

Microsoft Dynamics GP Utilities

The following SQL Statement produced an error:
EXEC wfDeployClrAssemblies

Continue reading → wfDeployClrAssemblies Error When Deploying The System Database

● Categories: Uncategorized ● Tags: , , , , , , , , , , , ,  ● Permalink ● Shortlink ●

Perfect Image Are Recruiting for a Dynamics GP Consultant (Grade 3)

● Ian Grieve ●  ● 0 Comments   ● 

Perfect ImagePerfect Image have an opening for a Dynamics GP Consultant (Grade 3).

The position is for a full time position based in Newcastle upon Tyne in the North East of England, working on a growing team of consultants which includes the UK’s only Microsoft Most Valuable Professional for Microsoft Dynamics GP (and one of only two in Europe).

The full job specification is below and you can email me your CV to cv@nospam.azurecurve.co.uk (remove the nospam.).

The typically approach we have is that in the first instance I’ll review the CV and, if it shows the appropriate skills, I’ll conduct a quick phone call to confirm experience and system knowledge (no pressure), before we look to organise an in person interview with the relevant people at PI (HR Manager, the Director of Project Delivery and I) for anyone successful on the call.

Please only candidates who have not already applied via a recruiter and ABSOLUTELY NO RECRUITERS. If these rules aren’t abided by, I will immediately delete the CV.

Click to show/hide the full job specification

Job type
Full time
Salary
£30,000 to £45,000 p/a depending on skills and experience
Benefits
25 days annual leave plus bank holidays, profit and performance related bonus, occupational sick scheme, company pension scheme, career progression plan, cycle to work scheme, childcare voucher scheme.
Job summary

Perfect Image works with clients to define, implement and support IT systems which will help to make them more successful.  Our range of offerings cover bespoke web and Windows-based systems, the integration of existing and new systems, intranet, CRM, business intelligence and ERP systems.

The role of the Dynamics GP Consultant is pivotal to the success of our clients’ ERP projects and therefore to Perfect Image.  You will need to be a motivated, enthusiastic and have experience in supporting and implementing Dynamics GP. Ideally this will include upgrading Dynamics GP implementations to recent releases. This should also include experience of the financial and distribution modules.

The ideal candidate will also be able to demonstrate experience which includes initial pre-sales consultation with the clients, assisting with the creation of sales proposals, presentation and demonstration skills and the management of the resultant project through to a successful implementation.

The Dynamics GP consultant needs to be willing to learn, or have previous experience in, solutions that are complimentary to Dynamics GP, including SharePoint and Dynamics CRM. A proven track record in delivering customer care to diverse clients is a must.

Key responsibilities and accountabilities
  • To work with clients at all levels helping to shape business priorities and to determine the resultant requirements for an ERP solution.
  • Document business and systems requirements to the required level of detail and in an appropriate format.
  • To take on principal responsibility for pre-sales consulting in significant opportunities.
  • Support all elements of Dynamics GP implementations, including server and client installations, data migration exercises, system upgrades, trouble shooting issues as they arise, fixing data issues within a SQL environment, and report writing.
  • Providing a 3rd line support function, assisting our support department in resolving more complex customer enquiries.
  • Keep abreast of changes and opportunities in the technology marketing.

This is not exhaustive.

Job requirements
  • Experience in all aspects of ERP Consultancy, with existing Dynamics GP consultancy experience.
  • Good level of knowledge and experience with accountancy principals and practices.
  • Ability to support all elements of Dynamics GP implementations including server and client installs, data migration exercises, system upgrades, trouble shooting issues as they arise, fixing data issues within a SQL environment and report writing.
  • Experience in or hunger to learn new skills and technologies that compliment Dynamics GP and our clients, such as Dynamics CRM, SharePoint, Visual Basic, Job Costing / Construction Accounting.
  • A good level of IT and accounting knowledge and an ability to express this knowledge in terms appropriate to the audience which includes client senior executives, IT managers and end-users.
  • Ability to building strong relationships with clients, supporting income generation and securing repeat business.
  • Experience in managing implementation projects would be beneficial.
  • Ability to think clearly, and to write clear documentation which is sufficiently detailed, unambiguous and complete.
  • Ability to work under pressure and to tight deadlines.
  • Strong presentation skills.
  • Experience of the ERP core modules including Financials and ideally Distribution.
  • Strong skills in spoken and written English.
  • Proven ability to deliver results.
Qualifications

Education to degree level (or equivalent).

Personal profile
  • Is able to deal positively about ambiguity and complexity. Is positive in seeing a way through client problems and challenges.
  • Work well under pressure and will go the extra mile to provide excellent client service.
  • Understand that asking for help and input from others is a strength, not a weakness, so actively involves others.
  • Concern yourself principally with the development of the business of our clients and our firm.
  • Look to develop our consulting capability through recruitment, training, mentoring of our people and the development of our methods.
  • Facilitate cooperation within the consulting team and across the firm.
  • Start to develop a personal and social relationship with clients.

● Categories: Dynamics, GP, Microsoft, Uncategorized ● Tags: , , , ,  ● Permalink ● Shortlink ●