Á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
LocxNF.PRWInvoices02/08/2023
País:EUA
Ticket:16070416
Requisito/Story/Issue (informe o requisito relacionado) :DUSAL-22


02. SITUAÇÃO/REQUISITO

The automatic routine MSExecAuto(MATA101N) does not record the field D1_CUSTO for Inflow Invoices for the country USA.

03. SOLUÇÃO

Invoices routine (LocxNF.PRW):

A change was made in the function NFGravaCusto to consider EUA location when using the automatic routine MSExecAuto(MATA101N) to record the field D1_CUSTO.


  1. Create a Backup of the Environment Repository (RPO file).
  2. Apply the corresponding patch to the DUSAL-22.
  3. Validate that the routine includes in the patch coincide with the mentioned int the "Function" session of the heading of 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", Gener.Tr.Nt (F4_DUPLIC)? = "S-Yes", and Update Stock(F4_ESTOQUE)? = "S-Yes".
  1. Execute the User Function what uses the automatic routine MSExecAtuno(MATA101N). Use the previously configured TIO (D1_TES).
  2. At the of execution check the field (D1_CUSTO). The Value needs to be different of 0 (Zero).


04. DEMAIS INFORMAÇÕES


IMPORTANT!

This solution applies to version 12.1.33 or higher.


05. ASSUNTOS RELACIONADOS

  • N/A