Hi All,
I am new to Dynamics 365 F & O trying to create a stored procedure through X++ and blocked. I can create a procedure, but I am looking slightly more.
1. I want to check if there is a stored procedure if its not present create the SP with one parameter.
2. After creation, execute the SP by passing the parameter value.
3. After execution of SP. Drop the SP.
All this I can do it directly from SQL, however when I use the same query from X++ its failing with Syntax error. I am sure there are a lot of X++ Gurus in the forum and can help answer or provide some workaround.