Running a Codeunit from a Page Web Service

TESDeveloperTESDeveloper Member Posts: 34
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?

Sign In or Register to comment.