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:

Reuters India

Whistleblower details alleged Oracle contract violations
San Jose Mercury News
Oracle salespeople used a variety of questionable tactics to hide the fact they were overcharging the federal government for software, ...
DOJ Joins Suit Accusing Oracle of Overcharging USNew York Times (blog)
US suing Oracle alleging software contracts fraudThe Associated Press
US accuses Oracle of software contract fraudAFP
IT Business Edge (blog) -BusinessWeek -ZDNet UK
all 316 news articles »


CNET (blog)

Sony, McAfee, sued over software activation patent
CNET (blog)
In a suit filed in US District Court in the eastern district of Texas Thursday, Uniloc is alleging that its patent for software activation is being violated ...
Irvine's Uniloc Sues Sony, Activision Blizzard, OthersOrange County Business Journal
Sony, Activision, Others Sued Over Software Activation By UnilocNASDAQ
Uniloc USA Inc. Files Patent Infringement Lawsuit against Sony America, McAfee ...MarketWatch (press release)
Barron's (blog) -Techconnect Magazine (blog)
all 21 news articles »


Software maker SAP completes Sybase acquisition
BusinessWeek
German business software maker SAP AG said Friday it has completed its $5.8 billion acquisition of US database software maker Sybase Inc. SAP, ...
SAP closes buy of US business software firm SybaseTMCnet
SAP acquires SybaseTrading Markets (press release)

all 25 news articles »


Quest Software shares jump after solid 2Q results
The Associated Press
NEW YORK — Shares of Quest Software Inc. got a boost Friday after the business software maker posted better-than-expected second-quarter results. ...

and more »


msnbc.com

Security experts release software to attack Android phones
Apple Insider
A day ago, security researchers at Lookout reported the potential for mobile software to take invisible actions that users were not aware were happening, ...
Software released for attacking Android phonesReuters (press release)
Software released to attack Android phonesCIOL

all 33 news articles »


Moneycontrol.com

Adobe Buys Day Software
SYS-CON Media (press release) (blog)
Swiss-based web content management (WCM) house Day Software Holding AG got bought Wednesday by Adobe for roughly $240 million (255 million Swiss francs). ...
Adobe to Launch $240 Million Tender Offer for Day SoftwareWall Street Journal
Adobe acquires Web software maker for US$240 millionBusinessWeek
Adobe agrees to buy Day SoftwareBoston Globe
San Jose Mercury News -Reuters -The Mac Observer
all 237 news articles »



SYS-CON Media (press release) (blog)

SAP Warms to Open Source
PC World
In 2005, Shai Agassi, then the SAP executive in charge of the company's product group, expressed ambivalence over using open-source software. ...
SAP Trails Oracle; Its On-Demand Widgetry About to PopSYS-CON Media (press release) (blog)

all 8 news articles »



Software AG: webMethods License Revenue Doubles in the U.S. in Q2
MarketWatch (press release)
Software AG continued to show strong growth in Q2 2010. The high growth was driven by the webMethods business division. In the US, webMethods license ...

and more »

Google News

Home | Site Map

Powered By: Free Work At Home Business Opportunity!

© 2006