목록분류 전체보기 (22)
ERP World
Lock이 발생하는 경우 Tree 형태로 해당 세션을 조회할 수 있는 쿼리이다. SET NOCOUNT ON; SET CONCAT_NULL_YIELDS_NULL OFF GO WITH Blockers (SPID, Blocked, Level, Batch, WaitType, LastWaitType) AS ( SELECT SPID, Blocked, CAST(REPLICATE('0', 4 - LEN(CAST(SPID AS VARCHAR))) + CAST(SPID AS VARCHAR) AS VARCHAR(1000)) AS Level, REPLACE(REPLACE(T.TEXT, CHAR(10), ' '), CHAR(13), ' ') AS Batch, R.WaitType, R.LastWaitType FROM sys.Sy..
MSSQL을 사용하다 보면 관리자 계정(SA)의 비밀번호를 잊어버리는 경우가 발생한다. 이떄는 아래의 절차로 비밀번호를 초기화 할 수 있다. - Open the command prompt - Run sqlcmd and press enter - Run a Transact-SQL (Below) command to add an existing account or a new account to the sysadmin server role. Replace DOMAIN\Username with the account you want to add. *NOTE: if you receive errors, I¡¯ve listed some common issues at the end of this article. EXEC s..
MSSQL을 사용하다 보면 잦은 데이터 수정/삭제로 인하여 Index fragmentation이 발생하여 성능이 저하될 수 있다. 이때는 Index Rebuild 작업을 통해 성능을 개선할 수 있다. 다음은 Index Rebuild를 위한 Procedure 이다. USE [Database name] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo].[SP_INDEX_MAINTENANCE_ENTERPRISE] AS DECLARE @RowThreshold INT DECLARE @PercentThreshold DECIMAL(38,10) /***************************************************..
[ Office Portal ] Microsoft Dynamics 365 Plan 1 https://portal.office.com/ => Office 365 계정 생성 [ Documents ] https://community.dynamics.com/crm/b/razdynamicscrmconsultant/archive/2017/02/15/useful-dynamics-365-downloads-and-resources https://docs.microsoft.com/en-us/dynamics365/operations/dev-itpro/dev-tools/get-evaluation-copy https://mbs.microsoft.com/partnersource/global/news-events/news/Micr..
AX 2012 R3 데모 환경을 구성하기 위해서는 다음의 절차대로 작업을 진행한다. 설치 미디어 다운로드 https://mbs.microsoft.com/customersource/northamerica/AX/downloads 압축 해제 (반디집을 이용하는 것이 더 빠름) 대상 폴더: E:\ ---> AX2012R3A 디렉토리가 생성 됨 Hyper-V 관리자 실행 가상 컴퓨터 가져오기 폴더: E:\AX2012R3A 이더넷: vExternal 가상 컴퓨터 속성 변경 이름: 136. AX2012R3A (Contoso, E) 프로세서: 4 -> 8 가상 컴퓨터 시작 로그인: contoso\Administrator / pass@word1 (비밀번호 변경 필요) 통합 서비스 설치 네트워크 설정 - How to Us..
Database synchronize 작업은 오랜 시간이 소요된다. 이때 윈도우 이벤트를 보면 작업이 어디까지 진행이 되고 있는지 알 수 있다. Object Server 01: Sync finished Object Server 01: Sync Logging Phase started Object Server 01: Syncing tables started Object Server 01: Syncing tables finished Object Server 01: Syncing views started Object Server 01: Syncing views finished Object Server 01: Show Sync Logging results started Object Server 01: Show S..
AX Client의 캐시를 지워야 하는 경우 다음의 내용을 배치파일로 만들어서 실행하면 된다. @ECHO OFF SETLOCAL EnableExtensions SET ProgramName=AX ERP SET EXE=Ax32.exe CLS ECHO ******************************************************************************* ECHO * AX ERP 캐시 삭제 * ECHO ******************************************************************************* ECHO. ECHO 1. %ProgramName% 실행 확인 @REM Check AX is running FOR /F %%x IN ..
Refresh Server public server static void refreshServer() { #AOT ; TreeNode::findNode(#TablesPath).AOTrefresh(); TreeNode::findNode(#TableMapsPath).AOTrefresh(); TreeNode::findNode(#ViewsPath).AOTrefresh(); TreeNode::findNode(#ExtendedDataTypesPath).AOTrefresh(); TreeNode::findNode(#BaseEnumsPath).AOTrefresh(); TreeNode::findNode(#LicenseCodesPath).AOTrefresh(); TreeNode::findNode(#ConfigurationK..
Refresh AOS static server void refreshAOS(Args _args) { ; xSession::removeAOC(); SysTreeNode::refreshAll(); SysFlushDictionary::doFlush(); SysFlushAOD::doFlush(); xSession::updateAOC(); }
Flush Sequence static void Job106(Args _args) { systemSequence seq; seq = new systemSequence(); seq.suspendRecIds(tableNum(HST_OutsourcingOperationDetail)); seq.suspendTransIds(tableNum(HST_OutsourcingOperationDetail)); seq.flushValues(tableNum(HST_OutsourcingOperationDetail)); seq.removeRecIdSuspension(tableNum(HST_OutsourcingOperationDetail)); seq.removeTransIdSuspension(tableNum(HST_Outsourci..