on 2023 Sep 18 2:33 PM
Olá pessoal,
Estou inativando alguns depósitos na qual não serão mais utilizados pela empresa, e me deparei com alguns depósitos que registram a seguinte mensagem de erro ao se tentar inativar / desativar:
"Você não pode desativar esse depósito; o depósito tem estoque ou está sendo utilizado em ordens pendentes ou documentos de contagem de estoque"
Chequei nas tabelas, e de fato não existem estoque para os depósitos em questão, também não existem ordens pendentes e nenhum documento de contagem de estoque em aberto.
Alguém já se deparou com esse problema, e conseguiu contornar o mesmo?
Obrigado.
Atenciosamente,
Vinicius Dezan.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi,
Check if the below query gives any result:
SELECT * FROM "OITW" T0 WHERE (T0."OnHand" <>(0 ) OR T0."IsCommited" <> (0 ) OR T0."OnOrder" <> (0 ) ) AND T0."WhsCode" IN('Enter here the Warehouse Code to be marked Inactive' )
If result, then there is some entries related.
Kr,
Jitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much Jitin, problem solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 22 | |
| 16 | |
| 13 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.