Do you only have Sales Invoice Line as a dataitem in the xmlport? If yes, then you have alot of lines then of course it will take a looot of time, as you will have to read all lines first. If you add sales invoice header to the dataset, then you will be able to filter on the salesperson code directly in the header. And the you would link the headers and lines. That would change it so that only the correct sales lines are read from the database.
↧