

Where TRXSOURC in ('Change Decimal Places'Įxists(select top 1 * from MOP10223 order by DEX_ROW_ID) T-SQL_Statement.sql – Add the startup macro for %USERID% use TWOĭelete from DYNAMICS.SY01990 where SCBowneriD = '%USERID%' and ScbNodeID = 999
#DYNAMICS GP PROCESS MONITOR ARCHIVE#
Use a three-step SSIS package to archive reports, execute a sql statement and run Dynamics.Īrchive_Report.bat – Rename the files at the archive location for /f "tokens=1-5 delims=/ " %%d in ("%date%") do rename "InventoryReconcileReport.txt" %%e-%%f-%%g_InventoryReconcileReport.txtįor /f "tokens=1-5 delims=/ " %%d in ("%date%") do rename "PicklistReconcileInventoryAllocationReport.txt" %%e-%%f-%%g_PicklistReconcileInventoryAllocationReport.txtįor /f "tokens=1-5 delims=/ " %%d in ("%date%") do rename "PicklistReconcileReport.txt" %%e-%%f-%%g_PicklistReconcileReport.txt ShellCommand 'Navigate set context to \cmdListShortcutBar\Startup\Stoneridge_Reconcile_Exit' # Print To File: 'Picklist Reconcile Report'ĪctivateWindow dictionary 'default' form sheLL window sheLL # Print To File: 'Picklist Reconcile Inventory Allocation Report' # Print To File: 'Inventory Reconcile Report' NewActiveWin dictionary 'default' form sheLL window sheLLĪctivateWindow dictionary 'default' form 'Progress_Control' window 'Progress_Window' TypeTo field '(L) Files', 'C:\AutoReconcile\Reports\PicklistReconcileR'ĬontTypeTo field '(L) Files', 'eport.txt' TypeTo field '(L) Files', 'C:\AutoReconcile\Reports\PicklistReconcileI'ĬontTypeTo field '(L) Files', 'nventoryAllocationReport.txt'ĬlickHit field '(L) File Type' item 1 # 'Text file' NewActiveWin dictionary 'DEX.DIC' form 'Report Destination' window 'Report Type' TypeTo field 'File Export Name', 'C:\AutoReconcile\Reports\InventoryReconcile'ĬontTypeTo field 'File Export Name', 'Report.txt' NewActiveWin dictionary 'default' form 'Report_Destination' window 'Report_Destination'ĬlickHit field 'Print to Screen' # 'FALSE' MoveTo field 'Include Item History' # 'TRUE'ĬlickHit field 'Include Item History' # 'FALSE'ĬommandExec dictionary 'default' form 'IV_Reconcile' command 'Process Button P_w_IV_Reconcile_f_IV_Reconcile' NewActiveWin dictionary 'default' form 'IV_Reconcile' window 'IV_Reconcile' Stoneridge_Startup_Exit_After_Reconcile.mac – Reconcile, remove the startup macro, exit the system # DEXVERSION=.000 2 2ĬommandExec dictionary 'default' form 'Command_Inventory' command 'IV_Reconcile' ShellCommand 'Navigate set context to \cmdListShortcutBar\Startup\Stoneridge_Exit'ĬommandExec form BuiLtin command cmdNavPaneDeleteĬommandExec form BuiLtin command cmdQuitApplication Stoneridge_Startup_Exit_Without_Reconcile.mac – Removes the startup macro, then exit the system # DEXVERSION=.000 2 2 Stoneridge_Login.mac – Log into the system Logging file 'LOGIN.LOG'ĬheckActiveWin dictionary 'default' form Login window Login Use these automation macros to perform the operations needed to reconcile inventory. Visual Studio 2017 with SQL Server Data Tools Addin.Here are the steps for performing an after-hours inventory reconcile in Dynamics GP. Otherwise, a reconcile happens and reports will be archived in a text file.

In the event that someone is processing a transaction when the scheduled job occurs, the automation will exit the system gracefully. This way the event can work overnight without interruptions.

Thus, the best time to have this process take place is after hours. In order to perform an inventory reconcile in Microsoft Dynamics GP, users cannot be processing inventory transactions.

Initially, I thought I had accidentally deleted a bookmark in the footer section while editing the template. Do you want to recover the contents of this document?
