Options

Use of unbounded Text Element when Exporting xmlport to WS

primeapprimeap Member Posts: 37
edited 2012-01-17 in NAV Three Tier
Hi

i use an xmlport to export a record as a webservice like described here:
http://www.kauffmann.nl/blog/index.php/2011/02/24/how-to-use-xmlports-in-web-services-2/#comment-4642


i have a question. when i use the xmlport and set an Element with Source Type “Text”
and on the properties i leave tha maxoccur to “unbounded”
in the .net this Element will be mapped as an array of string -> name[]..
ok, thats fine.

but my question is..
HOW CAN I FILL THE ARRAY IN NAVISION ON THE SAME RECORD?

Saying im exporting the saleline 123
in that i define a text element barcodes unbounded
so i can assign multiple barcodes to the same line..

regards

alex

Best Answer

Answers

  • Options
    primeapprimeap Member Posts: 37
    I would like to do something like in the printscreen..
    fUhgm.png
    but the output comes only for the last barcode..
    OOTq3.png
    there are two active barcodes in the item cross reference table


    1000 STK Barcode 022255127790 Nein 12.01.12
    1000 STK Barcode 22255127790 Nein 12.01.12
  • Options
    primeapprimeap Member Posts: 37
    so genious!
    thank you very much!
Sign In or Register to comment.