Hello Friends,
Recently I
have face the issue in file import by XMLPort.
XMLPort has
automatic replace the double space from item code by single space. Because of
that I have got error message item code doesn’t exists in item table.
For
example,
File has
contain item code - HL330063A REV.0 (it has contain double space)
While we
import file the XMLPort has convert the item code as - HL330063A REV.0
(it has contain only single space)
There is
one property in XMLPort – PreserveWhiteSpace
Determines whether white space should be preserved in
documents that are imported through an XMLport.
By default, Microsoft Dynamics NAV supports the XML
standard by normalizing white space in attribute names and values that are
imported through an XMLport. It converts tabs, carriage returns, and spaces to
single spaces. It also eliminates leading and trailing white space.
When this property is set to Yes, none of
these normalizations is performed
I hope it
will help in future.
Thank you for reading.
Keep Sharing...Keep Growing....
No comments:
Post a Comment