Árvore de páginas


01. DADOS GERAIS

Produto:

TOTVS Backoffice

Linha de Produto:

Linha Protheus

Segmento:

Backoffice

Módulo:

TOTVS Backoffice (Linha Protheus) - Compras (SIGACOM)

Função:
FunctionDescriptionDate
LocxNF2.PRWInvoices08/07/2024
País:United States
Ticket:20509288
Requisito/Story/Issue (informe o requisito relacionado) :DUSAL-73


02. SITUAÇÃO/REQUISITO

When trying to delete an Inflow Invoice (MATA101N) with all items with a TIO that  integrate with the stock module (F4_ESTOQUE='S'), the System does not allow it by showing a message : "Parameter MV_ESTNEG set to not accept negative stock will not allow deleting the document!", even if the stock after deletion is 0.

03. SOLUÇÃO

Invoice routine (LocxNF2.PRW):

  • A change was made in the Function LxMaCacDelF1 to fix the EUA location to fix it.


  1. Create a backup of Environment Repository (RPO file).
  2. Apply the corresponding patch to the DUSAL-73.
  3. Validate that the routine in the patch coincide with the mentioned in the "Function" session of the heading or this Technical Document, as well the dates of the files.
  4. In the Purchases module (SIGACOM), go to Updates | Files | Type Inflow Outflow (MATA080).
    •   Configure a TIO (Type Inflow OutFlow), informing the fields: Inf./Out.Tp (F4_TIPO) = "E-Inflow", and Update Stock (F4_ESTOQUE)? = "S-Yes".
  1. In the Purchases module (SIGACOM), go to the Transactions / Inflow Invoice (MATA101N).
  2. Click "+Add" to register an Inflow Invoice.
  3. In the Items:
    • Fill in de product information;
    • Use the previously configured TIO (D1_TES) that integrates with the Inventory module.
  4. Save the Invoice. 
  5. Check that it is positioned on the Invoice that you included. Click "Other Actions/Delete".
  6. Click "Save"  to confirm the deletion of the Inflow Invoice.


04. DEMAIS INFORMAÇÕES


IMPORTANT!

This solution applies to version 12.1.33 or higher.


05. ASSUNTOS RELACIONADOS

  • Does not apply.