Jumat, 31 Agustus 2012

Axapta Interfacing Using Stored Procedure

I got some duty to help and support our AX team to make interface between 3 platform on our project that have been running and will be go up to go live stage soon.

because we need to do interfacing between 3 difference platform consist of Magento and warehousing application, so we were decided using .csv and .xls file to sending and receiving data.

below are some queries and procedures, how to export and import using.csv and .xls.

export:
declare @table_name as varchar(200);
--set @table_name = 'WMSSO'
SET @cmdstr = 'bcp "select * from ' + @db_name + '.dbo.vTest' + '" QUERYout ' + @_FileName + ' -c -w -T -U sa -P sa","-CRAW'
--print @cmdstr
create table ##XPCmdShellOutput (OutputLine varchar(1000))
-- Show the output of xp_cmdshell when the directory does not exist
Insert into ##XPCmdShellOutput 
EXEC master..xp_cmdshell @CMDstr
there are sample query to exporting, just care on selection part, here I used xp_cmdshell, there has some limitation on string that used as parameter, so we need create a view in sql server to accommodate the result that we want to export, then the view can used on string parameter on xp_cmdshell.

so many ways to exporting from AX to another application, I prefer to using business connector or at least SSIS if we just want exporting to files such as .csv or .xls. Ok as much as this, I will update to explain how to import data to axapta table using stored procedure in the next posting.. CU.

Rabu, 01 Agustus 2012

Dynamics CRM 2011 installation error

When I'm installing Dynamics CRM 2011 in my laptop I got a error message like this "You do not have sufficient permission to perform this operation on the specified organization database when installing dynamics crm 2011" below is how to solve it:
  1. Open your MS SQL Server
  2. Go to security and server roles
  3. Mapping / add your administrator domain or the current user account who logging the server that used CRM database server to Sysadamin Server Roles.
  4. Try one more the installation process.
Good luck.. 

Apa itu CRM?


CRM (Customer Relationship Management)/Manajemen Hubungan Pelanggan, mungkin praktisi IT ataupun beberapa orang awam di bidang IT sudah sering mendengar mengenai istilah CRM ini. Secara sederhana bisa dibilang CRM ada suatu aplikasi selayaknya ERP (Enterprise Resource Planning), SCM (Supply Chain Management) yang telah banyak diaplikasikan di perusahaan-perusahaan, namun CRM ini lebih terfokus pada bagaimana pihak manajemen perusahaan menjaga hubungan dengan customer-nya.

Kustomer dalam hal ini bisa yang bersifat eksternal, seperti Perusahaan ponsel Blackberry menjaga hubungannya dengan pengguna Blackberry di Indonesia yang sangat banyak ini, bisa juga yang bersifat internal seperti perusahaan ponsel Blackberry dengan karyawan-karyawan yang pastinya berjumlah ratusan bahkan ribuan orang. Dapat diberikan sedikit kesimpulan biarpun ada kemungkinan sebaliknya dimana tepatnya mengimplementasikan CRM dimana suatau perusahaan atau organisasi memiliki kustomer yang banyak sehingga diperlukan pencataan secara historis, perencanaan yang matang, dan hal-hal lain yang bersifat sistematis sehingga kelak pihak manajemen dapat terbantukan dalam mengambil sebuah keputusan.

Secara modul aplikasi CRM itu mencakup beberapa hal-hal yang menjadi konsentrasi dalam penggunaannya, yaitu Sales/Penjualan, Marketing/Pemasaran, Services/Layanan. Jika dilihat secara global aplikas CRM adalah aplikasi yang mampu membantu sebuah perusahaan dalam membina hubungan dengan kustomer-kustomernya mulai dari pra-penjualan hingga setelah pasca-penjualan, sehingga kustomer dapat didapat, dan dipertahankan untuk tetap loyal kepada perusahaan melalui produk atau layanan yang diberikan oleh perusahaan.

Semoga penjelasan singkat dapat membantu memberikan bayangan mengenai apa itu CRM.