Software informational articles

Upgrading great plains agility customization ? switching to new technologies: sql, crystal, econne - software

 

1. Change Ability indicator with SQL Stored Procedure

Dexterity was considered as multiplatform knowledge (primarily Btrieve, Ctree, SQL Server, potentially Oracle). Adroitness data retrieving apparatus is based on Range start, Range End, Get First and Get Next clauses. It is in fact similar, but a barely bit slower to cursors in Deal with SQL. Long ranges in Ability are good candidates for substitute by SQL stored procedures with bring up to date clause.

For example, believe to interchange next Agility 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 subsequent SQL code

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

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

When having long cycle of change/edit table in Dexterity, bear in mind proxy by SQL stored formula with Addition Into clause.

2. Use Gemstone Reports, call them from via VBA in Custom-made form

The easy way to call Gemstone Account from your VBA code from your bespoke 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 Nobody 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 Address . Net Web Publishing from Great Plains Database

The easiest and safest way is to use eConnect - SDK with VB samples, formed for eCommerce programmers and web designers to call the functionality in Microsoft Great Plains. If your ballet company can not give eConnect - construct your own set of stored procedures to adopt Great Plains folder 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 Expertise Detective in Alba Spectrum Technologies - USA all over the country 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 manifold states and globally (www. albaspectrum. com), he is Dexterity, SQL, C#. Net, Gem Gossip and Microsoft CRM SDK developer.


MORE RESOURCES:
Developed by:
home | site map
goldenarticles.net © 2018