Quantcast
Channel: Microsoft Dynamics NAV Forum - Recent Threads
Viewing all articles
Browse latest Browse all 18803

Running a Codeunit from a Page Web Service

$
0
0

Hi All,

I have a Codeunit which takes in 9 parameters ("No." : Code[20];dim1 : Code[20];dim2 : Code[20];dim3 : Code[20];dim4 : Code[20];dim5 : Code[20];dim6 : Code[20];dim7 : Code[20];dim8 : Code[20]) returntext : Text[50])

I need to create a Page Web Service which will be exposed by Odata which will take those 9 parameters and run the Codeunit mentioned above. 

Can I Just create a page with those 9 global variables on the list and run the Codeunit on the OnAfterGetRecord trigger on the page?

Thanks


Viewing all articles
Browse latest Browse all 18803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>