I have gone through the full setup of a new business central company and have created the no. series and tied it all through the purchases and payable setup and the sales and receivables setup but it is still giving me this error message.

The purchase invoice and sale invoice no. series works just fine.
Has anyone run into this problem and know how to fix it?