Options

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

FMDGFMDG Member Posts: 4
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

fernando.gomes@kbc.pt

Answers

  • Options
    zychzych Member Posts: 20
    I think you should use XML as the parameter. The xml can contain multiple lines
  • Options
    sorenhinrupsorenhinrup Member Posts: 136
    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.