Páginas filhas
  • ATFA060 Transfer between Branches with same CNPJ (EIN)


CONTENT

  1. Overview
  2. Example of use
  3. OTHER INFORMATION
  4. Tables

01. OVERVIEW

This document aims to clarify the scenario in which the transfer involves branches with the same CNPJ (EIN) and more than one store in the same branch (of origin), showing how you can transfer using the same State Registration as differentiation. 


02. EXAMPLE OF USE


Contextualization

To understand this scenario, we use the following example


Example branches.

Origin(D MG 01) -> CNPJ (EIN) -> 65972302000177 / State Registration -> 618599025233
Destination(D MG 02) -> CNPJ (EIN) -> 65972302000177 / State Registration -> 73806611389


Example customers:

We have 2 customers at BRANCH D MG 01 with the following characteristics:

Code

Store

State Registration

CNPJ (EIN):

Branch

600

01

618599025233

65972302000177

D MG 01

700

02

618599025233

65972302000177

D MG 01


Example supplier:

Code

Store

State Registration

CNPJ (EIN):

Branch

700

01

Not Applicable.

65972302000177

D MG 02


Operation of routine:

  • Before: Previously, when making a transfer with this scenario, the system always selected the 1st customer with this CNPJ (EIN), if two of them share the same.
  • After: Now it uses the State Registration to check which is the right customer when making the transfer, so if the customer desired is 700 02, it finds it based on its registration.



When registering a branch, fill out this field to use this feature:


IMPORTANT!

It must be emphasized that this feature is exclusive for scenarios in which the CNPJ (EIN) is identical and, in cases when you want to find a Customer not first on the list, you must necessarily fill out the state registration field as it is found in the Branch Register (SIGACFG → Environments → Companies → Branch) and leave the Customer desired with the same registration at the Origin Branch to send it with the correct data.


This will feed table SF2 (Outgoing Invoice with the customer desired as set in parameters).



For further information on the complete process, refer to the FURTHER INFORMATION topic in the link provided.


03. OTHER INFORMATION

ATFA060 - Transfer generating Invoice (tab INVOICE FN9_GERNF = YES)

04. TABLES

  • SF1 → Incoming Invoices Header  
  • SN1 → Fixed Assets  
  • SF2 → Outgoing Invoices Header  
  • SD1 → Incoming Invoice Items  
  • SD2 → Invoice Sales Items