Xmlport export

navdevelopernavdeveloper Member Posts: 23
Simple one, but not getting it right. I have a custom Boolean field in purchase header called 'exported'. It gets checked when a purchase order gets exported. Now I want to export purchase lines which are not already exported using a variable text XMLport. Wondering what would be the right way to filter purchase lines as I can't intend purchase lines under purchase header here.
Thanks

Comments

  • TallyHoTallyHo Member Posts: 416
    I use currxmlport.skip when a line needs not be exported on any kind of condition.
    So, skipping instead of filtering.
  • navdevelopernavdeveloper Member Posts: 23
    Thank you for replying. Yes, I am doing currXmlPort.skip now..but the disadvantage though is that it should loop through every single purchase line..I have added whatever filters I could, but still performance wise, it doesn't look good.

    Thanks
  • TallyHoTallyHo Member Posts: 416
    You can filter an xml dataitem on a flowfield (add 'exported' from header to purchase line table as flowfield). Perrmance wise, this is not ideal either. But perhaps better.
Sign In or Register to comment.