Hi Samuel

You understood my purpose well. I think I solved it like this:
1) Create a loockup that is loaded with the data of each line.
2) To send the item (row A, B, C ..) to the loockup, I used (Set psKardex of objectLoockup to (Trim (FacKardx.Code))), so when the loockup was activated it already had the article.

I see that the tests work well. I listen to suggestions to improve it or have best practices in technical matters.

thanks for your attention