Good afternoon!
Please, I am doing a Notes Filters filter based on a series of CFOPs with SQL. It works like this:
SELECT * FROM NotasFiscais
WHERE CFOP = 5101 OR CFOP = 6101 OR CFOP = 5922 OR CFOP = 6922 OR CFOP = 5933 CFOP = 6933 OR ....... CFOP = N
How can I create a list of CFOPs to be passed in the WHERE clause so my code does not stay in the kilometer?
Note: CFOPs do not follow a logical sequence to use a filter of type