Upgrading Great Plains Dexterity Customization – switching to new technologies: SQL, Crystal, eConnect

Upgrading Great Plains Dexterity Customization – switching to new technologies: SQL, Crystal, eConnect

 by: Andrew Karasev

This article is for intermediate Great Plains Dexterity developer. It describes the directions to phase out Dexterity functionality and replace it with newer technologies.

Microsoft Great Plains and its current programming language Dexterity should still be considered seriously by developers community. However Microsoft Business Solutions announced switching to new technologies, mostly .Net, where all the MBS applications will be arranged into suites (Microsoft Financials, Microsoft Distributions, Microsoft Manufacturing, Microsoft Human Resources) and integrated into so called Microsoft Business Portal. Looking into the future we recommend you to analyze Microsoft Great Plains Dexterity customization for replacement it's portions with Microsoft SQL Server stored procs, Crystal Reports, direct C#/VB.Net web publishing, eConnect

1. Replace Dexterity cursor with SQL Stored Procedure

Dexterity was designed as multiplatform technology (primarily Btrieve, Ctree, SQL Server, potentially Oracle). Dexterity data retrieving mechanism is based on Range start, Range End, Get First and Get Next clauses. It is in fact similar, however a little bit slower to cursors in Transact SQL. Long ranges in Dexterity are good candidates for replacement by SQL stored procedures with update clause.

For example, consider to replace following Dexterity code:

Range clear SOP_HDR_WORK.


Clear ‘SOP Type’ of table SOP_HDR_WORK.


Clear ‘SOP Number’ of table SOP_HDR_WORK.

Range start table SOP_HDR_WORK.


Get first table SOP_HDR_WORK.


While errEOF do


If ‘Salesperson ID’ of table SOP_HDR_WORK = “ERIC” then


Edit table SOP_HDR_WORK.


Set ‘Salesperson ID’ of table SOP_HDR_WORK to “BILL”.


Save table SOP_HDR_WORK.


End if.


Get next table SOP_HDR_WORK.


End while.

With the following SQL code

Update SOP10100 set SLPRSNID=”BILL” where SLPRSNID=”ERIC”

Bringing new data into a table in Dexterity is based on change/edit table clauses, in SQL they are equivalent (by performance) to inserting one record at the time.

When having long cycle of change/edit table in Dexterity, consider replacement by SQL stored procedure with Insert Into clause.

2. Use Crystal Reports, call them from via VBA in Modified form

The easy way to call Crystal Report from your VBA code from your modified form:

Const RPT = "D:ClientsTheClientInvoice Status.rpt"

Public crwApplication As CRPEAuto.Application


Public crwReport As CRPEAuto.Report

Private Sub Print_BeforeUserChanged(KeepFocus As Boolean, CancelLogic As Boolean)


If SalesTransactionInquiryZoo.Type = "Invoice" Then

If crwApplication Is Nothing Then


Set crwApplication = CreateObject("Crystal.CRPE.Application")


End If

Set crwReport = crwApplication.OpenReport(RPT)


crwReport.ParameterFields(1).SetCurrentValue (DocumentNo)

crwReport.Preview

End If

3. Use Direct .Net Web Publishing from Great Plains Database

The easiest and safest way is to use eConnect - SDK with VB samples, created for eCommerce programmers and web designers to call the functionality in Microsoft Great Plains. If your company can not afford eConnect - create your own set of stored procedures to address Great Plains database and go ahead with Visual Studio.Net to do the web publishing.

Happy upgrading and customizing! if you want us to do the job - give us a call 1-866-528-0577! help@albaspectrum.com

About The Author

Andrew Karasev is Chief Technology Officer in Alba Spectrum Technologies – USA nationwide Microsoft CRM, Microsoft Great Plains customization company, based in Chicago, California, Texas, New York, Georgia, Arizona, Minnesota, Washington, Colorado and Florida and having locations in multiple states and internationally (www.albaspectrum.com), he is Dexterity, SQL, C#.Net, Crystal Reports and Microsoft CRM SDK developer.


akarasev@albaspectrum.com

More Computers and The Internet and other resouces to help you locate great articles just like Upgrading Great Plains Dexterity Customization – switching to new technologies: SQL, Crystal, eConnect :

Here are other categories to find more must know information on anything and everything.
Auto and Trucks
Business and Finance
Computers and Internet
Education
Environment
Family
Food and Drink
Gadgets and Gizmos
Gardening
Government
Health
Hobbies
Home Improvement
Kids and Teens
Legal Matters
Marketing
Music and Entertainment
Online Business
Parenting
Pets and Animals
Recreation and Sports
Self Improvemen
Site Promotion
Travel and Leisure
Web Development
Women
Writing
Here are more Computers and The Internet articles to give you more must know information just like in Upgrading Great Plains Dexterity Customization – switching to new technologies: SQL, Crystal, eConnect article.

Autoresponders: Automatic Internet Marketing Success
What if you could send out all the information that your potential customers have requested without checking your email or answering a phone? While this may seem impossible, it is becoming more and m...
Read more


Which is better, EDTV or HDTV?
With all the new digital formats out there, it is of little surprise that there exists considerable confusion about EDTV and HDTV. First of all, EDTV stands for Enhanced Definition Television, while HDTV stands for High Definition Television. TVs equipped...
Read more


Integrating Microsoft Great Plains Accounting/ERP: RMS, CRM, eCommerce, Lotus Domino – overview for developer
Microsoft Business Solutions Great Plains has substantial market share among horizontal and vertical clientele in the USA, Canada (including French version for Quebec/Montreal), UK, Australia, New Ze...
Read more


Top 10 Tips for Blogging
Tips for creating a blog. There are no hard and fast rules on how to blog. Having said that, bloggers will likely increase their exposure by following some simple blog guidelines. 1.) Stay on topic....
Read more


A Privacy Treatise
A Privacy Treatise
The message is out - consumers have clear and growing expectations when it comes to the privacy they expect and ultimately demand for their personal contact information. Telecommunications organizations that ignore this need for priv...
Read more


 

Thank you very much for viewing this must know article: Upgrading Great Plains Dexterity Customization – switching to new technologies: SQL, Crystal, eConnect . Hopefully you have found all the information you were looking for in " Upgrading Great Plains Dexterity Customization – switching to new technologies: SQL, Crystal, eConnect ". If you feel like you need more information feel free to check out Info Pom HOMEPAGE to look for more articles in our humangous database

Site Partners:
Background Check