Dynamics GP – SmartList Error: Unhandled script exception: Index 0 of local array is out of range in script ‘ASI_Initialize_Explorer_Tree’. Script terminated.
Original solution: https://community.dynamics.com/gp/f/32/t/128874.aspx
Find your Company ID
USE Dynamics
SELECT CMPNYNAM as Company_Name,CMPANYID Company_ID FROM SY01500
Run the following script replacing -1 with your Company ID from the results of the table above
INSERT into DYNAMICS..ADH00100 values (‘0’, ‘498’,’3′, ‘Requisition Line Items’,’sa’,’-1′)
INSERT into DYNAMICS..ADH00100 values (‘0’, ‘499’,’3′, ‘Purchase Requisitions’,’sa’,’-1′)