Hi Hougaard, I tried to run the code in the latest version of Business Central. It always stop in this point  And return this error on Business Central  The POS Setup Table exist on code but not in BC. thank you