‎2021 Jul 30 8:02 AM
I'm using SAP B1, v10.00.120 PL2, with Coresuite customizations.
I'd like to run an MS Access procedure, passing an UDF value as parameter. The help file suggests to use an Easy Function (like SQLQuery) with EXEC xp_cmdshell. Once enabled the above, by default it's OFF, I configured this command:
SQLQuery("QCT|EXEC xp_cmdshell 'MSACCESS.EXE c:\Sviluppo\QCT\QCT1000.mdb ;$[$COR_G_903.QCT.0]';")
msaccess.exe is the runtime, QCT1000.mdb is my procedure, $[$COR_G_903.QCT.0] is the UDF placeholder
It does NOT work and I can't sort it out. The command is OK, I can run it directly from Windows, once I replaced the parameter with a proper value.
I can't find any alternative, due to my limited knowledge.