Options

SETFILTER in XML-Port

Lars_EnderLars_Ender Member Posts: 10
Hello everyone,
today I tried the first time to create a xmlport. I try to translate one
of my dataports to a XMLPort. I use code in a codeunit (as i saw here
in the forum) to run the xmlport - that works fine!
But now I want to set my filters from the dataport in the trigger
"Export::OnPreXMLItem" and Navision says that there is an undeclared
variable "Setfilter" :?:

Could anyone tell me which mistake I did?
Thanks.

Kindest Regards,
Lars

Comments

  • Options
    jemmyjemmy Member Posts: 247
    Hello Lars Ender,

    With my little experience, I think you can't use the query database command in the xmlPorts.
    Then to resolve this, you have to SETFILTER in the its Code Unit.

    HTH,

    Jemmy
  • Options
    Lars_EnderLars_Ender Member Posts: 10
    thanks jemmy, i will try it.

    Is there a "how to" about using the xmlport in navision 4.0 (besides the webcast)?

    Lars
Sign In or Register to comment.