Documentação Geral
Admin – Nova variável indDeduzDeson e novas travas de lançamento de regra no Admin Regras
Nova variável indDeduzDeson e novas travas de lançamento de regra no Admin Regras
Por Carlos Dupim Jr.
Para satisfazer determinações da documentação fiscal, foi criada a nova variável indDeduzDeson, a ser preenchida no campo variáveis do Admin Regras.
Além disso, visto que essa variável só pode existir quando em conjunto com a variáveis motdesicms, foi implementada a seguinte trava:
Será erro:
#047_1 - Se campo genérico variável indDeduzDeson <> vazio E CST = 20 ou 40 E campo genérico variável motdesicms = vazio OU null
#047_2 - Se campo genérico variável motdesicms <> vazio E CST = 20 ou 40 E campo genérico variável motdesicms = vazio OU null
Ou seja, para situações em que a regra possui CST 20 ou 40, se houver uma das variáveis marcadas, obrigatoriamente deve haver a outra.
Desse jeito, nossas regras ficam de acordo com a determinação legal de informações necessárias no documento fiscal, e nosso sistema evita o lançamento de regras que não sigam os padrões corretos.
New variable indDeduzDeson and new locks for tax rule submission on the Rules Admin tool
By Carlos Dupim Jr.
To comply with the tax document determinations, a new variable called ‘indDeduDeson’ was created, to be added in the variables field of the Rules Adimn tool when needed.
Alongside that, considering that this variable can only exist when together with the variable ‘motdesicms’, the following lock was implemented as well:
It will be an error:
#047_1 – When in the generic variables field indDeduzDeson <> empty AND CST = 20 or 40, if in generic variables field motdesicms = empty OR null
#047_2 When in the generic variables field motdesicms <> empty AND CST = 20 or 40 if in generic variables field motdesicms = empty OR null
So, in situations where the tax rule has a CST of 20 or 40, if there is the marking of one of those variables, it is mandatory that the other one is there as well.
This way, our rules comply to the legal determinations of what information needs to be documented, and our systema prevents the registration of rules that don’t follow the correct standards.
Versão do documento: 74 | Publicação: 9/20/2024 |