WEB SERVICES (DYNAMICS NAV 2017) - HOW TO PASS MULTIPLE LINES TO CODEUNIT

FMDGFMDG Posts: 4Member
edited 2018-07-10 in NAV Three Tier
Hi
We have a Web Services with 3 variables in Codeunit Function parameter: Code, Name, Value. The key is Code.
We want to pass about 200 different Code lines, without invoking 200 times the WS.
In fact, how to design the Function parameter, to receive 200 Codes group of values?
Tks in advance.
Fernando Gomes
Consultant - KBC

[email protected]

Answers

  • zychzych Posts: 17Member
    I think you should use XML as the parameter. The xml can contain multiple lines
  • sorenhinrupsorenhinrup Posts: 86Member
    You can have your webservice codeunit recieve an XML file. Then import that through an XML port defined in the webservice codeunit
Sign In or Register to comment.