This routine receives the file in text format of Cnab bank return, according to parameters definition.

The bank return file may come with any extension. That is why the system converts these files into the standard database, so data can be read.


Important:

To make it possible to send a file, the following registrations must have been made:

Important:

In Cnab return, bills write-off is multifunctional, which means, this process can be done in different branches.


If the Schedule routine and the Adapter EAI are configured, it is possible to integrate TIN (TOTVS Real Estate Enterprising) and Protheus to send and receive XML files, according to the XSD ractified by TOTVS®.



Procedures

To return Cnab Payable:

1. In the Return of Cnab Payable maintenance window, select Parameters.

The system displays the routine parameterization screen.

2. Configure the parameters and confirm.

Observe the field File name and enter BBRAZIL.

3. In the CNAB Mod.2 configuration screen, add a line:

Identification: 1H

Description: Lot Header

4. Click F4 to view the Cnab Payable return layout screen.

The screen is displayed without content. Fill in the data position in the return file, according to its bank manual.

Observe the question:

Process Branch? - The options All Branches or Current Branch are available.

Important:

For the perfect execution, when selecting All Branches, the resource IDCNAB for multiple branches must be installed.

5. Confirm the edition.

Important:

Positions are defined in the lot header.

Information concerning the lot current account are obtained after reading a lot header.

Check if the information obtained in the return file corresponds to the company's banking accounts file.

If banking accounts were registered using special characters (hyphens, dots, etc), it is required to adapt the information sent back by the bank to the current account code registered in the Banks File (SA6).

6. Then, select Receive File.

7. The system then starts searching and converting the data of the collection file, according to the parameters configured.

Tip:

If any parameter is incorrect, the system will display an error message and the solution.



See Also