:: Celigo :: 
Customer Login
 
SolutionsCustomersBlogAbout
On-Demand Simplified Solutions and services tailor made for on-demand

NetSuite CRM Samples have been redone!

| | Comments (0) | TrackBacks (0)

We’ve broken a tradition of modeling our .NET sample applications on the original CRM sample released by NetSuite.  Celigo has two enhanced versions of this sample app available: one that was a basic port of the original with few additional features, and another which further enhances it with the integration of the free ServiceManager library. We had initially kept the source code of these, similar to that of NetSuite’s sample. But, starting from this version, Celigo is pulling out all the stops to make these samples richer with much more functionality.

In these new versions, we’ve completely refactored the code, seperating the SuiteTalk logic from the application specific nuts and bolts. All of SuiteTalk based operations have now been partitioned into “Action” classes inheriting from a common abstract base. These classes have been structured in to namespaces reflecting the functionality that they demonstrate.  In order to understand how to implement certain functionality, you can take a look at the relevant “Action” and follow the flow of logic from there.

For example, take a look at the “Get Customer” option. The logic of this operation is bundled into the GetCustomerAction class. The code for the ServiceManager integrated version of this class and the regular version differ only in two lines. Without the presence of the ServiceManager, you’d have to ensure that your app is logged into NetSuite before performing an operation. This requires the regular version to have a bit of extra code. All this was previously packed into few methods making the old source code much harder to read and comprehend. So, you'd appreciate the clarity of our new approach.

The samples are available on our .NET samples page here. Please do check them out... as always, your feedback is much appreciated.


0 TrackBacks

Listed below are links to blogs that reference this entry: NetSuite CRM Samples have been redone!.

TrackBack URL for this entry: http://www.celigo.com/~celigoco/blog-admin/mt-tb.cgi/13

Leave a comment