This xmlport worked well on nav. 5 but now it doesn’t! :-k It seems as when the record (Item) is empty the xmlport doesn’t return the “elements” as it did before. However, when the record is NOT empty it works just fine as before. What is changed in Nav 6 :bug: ?
OnPreXMLport()
IF Item.ISEMPTY THEN
Response := STRSUBSTNO(Text501, Item.GETFILTER("No."));
Node Name Node Type Source Type Data Source
GetInventoryItem Element Table <Item>(Item)
No Element Field Item::No.
Description Element Field Item::Description
Amount Element Text <Amount>
LocationCode Element Text <LocationCode>
Shelf Element Text <Shelf>
Unit Element Field Item::Base Unit of Measure
Response Element Text <Response>
Hilfe!
P.s. I get around by doing a ERROR(STRSUBSTNO(Text501, Item.GETFILTER("No.")); Q+D
D.s.
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I've still not managed to solve this. Can someone pls look into this.
/K