Software Information

Upgrading Great Plains Dexterity Customization - switching to new technologies: SQL, Crystal, eConne


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

 

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.


MORE RESOURCES:

ABC News

Apple unveils software updates, new laptop
San Francisco Chronicle,  USA - 10 hours ago
The presentation included updates to the iLife and iWork software suites, a new 17-inch MacBook Pro with an 8-hour battery and a new digital rights ...
Video: Steve Jobs Weight Loss Due to Hormone Imbalance AssociatedPress
Apple's Macworld Surprise Is the Software PC Magazine
Summary: Software, MacBook Pro updates star in final Apple keynote Macworld
The Associated Press - Reuters
all 2,735 news articles


SAP Wants Oracle to Reveal Software, Support Profit Margins
PC World - 1 hour ago
SAP wants Oracle to reveal profit-margin information for JD Edwards and PeopleSoft software and support, according to a joint discovery statement filed this ...


BBC News

ITunes embraces 3-tier pricing, will remove anti-copy software
Los Angeles Times, CA - 12 hours ago
Apple also updated much of its software. The latest version of iPhoto scans for individual faces so computer users can label photos of friends or family, ...
Apple removes protection software from songs TourDates.Co.Uk
Apple changes iTunes prices; removes copy protection USA Today
Apple changes iTunes pricing CNNMoney.com
Bloomberg - Shiny Shiny
all 1,054 news articles


HEB Mexico adds price optimization software
Bizjournals.com, NC - 2 hours ago
HEB’s Mexico subsidiary will begin using a price optimization software program currently in use by its parent company. Supermercados Internacionales HEB ...


Macworld

IBM Lotus Delivers New "Social" Notes and Free Symphony Software ...
CNNMoney.com - 22 hours ago
At Macworld, IBM (NYSE: IBM) today announced the availability of Lotus Notes 8.5 collaboration software with social computing features for all Mac OS X ...
Macworld: IBM finalizing free Symphony office suite for Macs Computerworld
Lotus Notes 8.5 ships, free IBM Symphony suite coming MacNN
IBM unveils Lotus Notes 8.5 VNUNet.com
eWeek - Computer Business Review
all 45 news articles


ABC News

Macworld goes for the soft sell with budget-minded software
USA Today - 16 hours ago
Tuesday, the big news concerned 69-cent and $1.29 music downloads, and an upgrade to a $79 software suite. "In this economy, to focus on launching expensive ...
Feature: A Guide To iPhone Development In 2009 Gamasutra
Turning Technologies Announces ResponseWare Application Available ... Business Wire (press release)
Boingo Brings Wi-Fi Connections to Mac and iPhone Users Business Wire (press release)
all 225 news articles


Telegraph.co.uk

Indian Software Giant Admits Financial Wrongdoing
Washington Post, United States - 4 hours ago
The revelation shook India's stock market and sent shock waves across the country's booming software industry, while television commentators quickly dubbed ...
Satyam Chairman Resigns After Falsifying Accounts Bloomberg
Chairman of 'India's Enron' Resigns After Falsifying Financial Data FOXNews
Collateral Damage Feared From 'India's Enron' CNNMoney.com
Reuters India - Livemint
all 1,269 news articles


Plymouth software firm Paisley sold to Thomson Reuters
Bizjournals.com, NC - 1 hour ago
Paisley, a maker of risk-management and fraud investigation software, has been sold to Thomson Reuters’ tax and accounting business for an undisclosed ...


Times Online

Apple Unveils Software, MacBook At Macworld
CNNMoney.com - 23 hours ago
The first hour of the speech was dominated by updates to Apple's software line, which remains an important element for the company, but more as a driver to ...
Apple rolls out 17-inch MacBook Pro, new software, iTunes Store tweaks DVICE
Apple unveils raft of new Mac software Times Online
Apple updates iTunes, iLife, unveils 17-inch MacBook Bizjournals.com
CNN International - Sydney Morning Herald
all 279 news articles


New York Times

Data Analysts Captivated by R’s Power
New York Times, United States - 3 hours ago
R first appeared in 1996, when the statistics professors Robert Gentleman, left, and Ross Ihaka released the code as a free software package. ...

Software - Google News

home | site map
© 2006