Created
November 4, 2013 10:32
-
-
Save dodopok/7300789 to your computer and use it in GitHub Desktop.
Tiponota to Cfop - Tabela Parâmetros
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE parametros SET `natoppadrao` = (SELECT id FROM cfop WHERE cfop.cfop = (SELECT tiponotas.cfop FROM tiponotas WHERE tiponotas.id = parametros.natoppadrao) AND cfop.group_id = parametros.group_id) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment