Loading ...

How To Deal With Read Commited Snapshot Error Message In Acumatica

Hello everybody, today I want to leave SQL fix for error message: "There are problems on database server side: READ_COMMITTED_SNAPSHOT is not set for current database. On your Acumatica instance it may look liike this: For fixing run this SQL: ALTER DATABASE Saddleback_staging SET READ_COMMITTED...

How To Debug Acumatica With Dnspy

Hello everybody, today I want to share with you few words about debugging of Acumatica. There are plenty of wonderful posts for doing this with help of already provided PDB files of existing graphs and first of all I definetely recommend to use them. But there are scenarios when default pdb provi...

How To Create Unique Index In Ms Sql That Will Allow Null

Hello everybody, today I want to leave a post about the following case: you need to index rows in your database by some unique value, which can be null. And you don't want index to include those values which are null.  How to achieve it? Following T-SQL can do this: CREATE UNIQUE INDEX idx_s...

Create View If Not Exists In Acumatica Customization

Hello everybody, today I want to leave a short post on how to create some custom view in Acumatica Customization if that view doesn't exist: if not exists (select * from sysobjects where name='CustomerSelector' and xtype='V') begin exec ( &nb...

How To Avoid Echo During Usage Of Teamviewer

Hello everybody, here I want to leave a short notice on how to avoid hearing yourself if you are connected over TeamViewer to somebodies computer. By defualt TeamViewer duplicates sound that goes through sound system of computer to which you've connected. Not many people know, that such functiona...

How To Shrink Database Of Acumatica With Rebuilding Of

Hello everybody, today I want to leave another portion of SQL Server optimization for Acumatica database. In case if your db become huge, and you want to make it smaller, you can try following SQL code: DECLARE @Table NVARCHAR(128)   DECLARE @Database NVARCHAR(128) D...