XMLPort do not import empty fields (when type option)

NaCoderNaCoder Member Posts: 26
edited 2013-11-07 in NAV Three Tier
Hi,

I would like to import Textfiles that created with Dataports into the XML-Ports. It worked, but on some Optionfield where one option is emtpy (one space key) that it set it to the second option and not to the first only.

File:
"Data";"Data2";" ";"Data3";...

Option of 3. field are: " ,D1,D2,D3,D4"
Then it will set to D1 instead the first empty option. Why?

Comments

  • geordiegeordie Member Posts: 655
    Hi, I reproduced the behavior with field Type on Sales Line: it happens if InitValue property is evaluated for an option field :wink:
  • NaCoderNaCoder Member Posts: 26
    geordie wrote:
    Hi, I reproduced the behavior with field Type on Sales Line: it happens if InitValue property is evaluated for an option field :wink:

    Thank you very much... It worked... I remove the InitValue Entry.
Sign In or Register to comment.