The return file sent by the bank with information about the status of the bills under collection at the collecting agent is processed in this routine. The bills returning with information related to write-off are automatically written-off; bank transactions and balance updates are generated; and these write-off will be accounted.

If a customer has paid a bill twice, the system generates an RA bill, crediting the customer for the duplicate payment. For this treatment, the parameter MV_REC2TIT must be configured. When filled out with 1, the RA is generated and when filled in with 2, the system continues without executing the write-off or movement.

To write off bills with apportionment of multiple classes, configure the parameters MV_MULNATB and MV_MULNATR with .T.

The system allows selecting the CNAB model to be used for bank receipt: Model 1 or Model 2.

As the return file from the bank is in .TXT format, the system converts this format into .DBF so that its data can be interpreted.


Important:

In the Cnab return, bills write-off is multi-functional, which means, enables this process to occur in different branches when the data sent to the bank is IDCNAB; if the key is sent with the data of the bills, the treatment is effected by company.

You may define the usage of an official account, if defined on the Bank Parameters routine.

Note:

This routine has the functionality of integration with RM Classis Net.

For technical details on Implementation and Use Procedures, Table Synchronization between Bases, and Parameterization for Generation, refer to the Guide of Protheus x Classis Integration, available at the TDN portal.

See also information about Education Management.


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

Collecting CNAB receivable:

1. In Return of CNAB Receivable, select Parameters.

The routine parameterization screen is displayed.

2. Configure the parameters according to field help instructions:

Process Branch?: By entering All Branches, the resource IDCNAB for multiple branches must be installed.

Account Transfer?  and On-line Accounting?: They determine CNAB Return Accounting.

Consider Bank Withholding?: A standard must be defined to use this question because when it is often changed, bill due dates may not be adjusted correctly when these bills are transferred to portfolio or collection status.

3. Check data and confirm them.

4. After filling out the parameters, select Receive File in the routine maintenance window.

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


Important:

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

In case of reprocessing files, which means, when the system receives a file and identifies it as already processed, a message with the name of the file processed, the user who processed it, the last line read of the file and the number of times that this file was processed is displayed on screen. Then, confirmation of re-processing of this file is requested.

If the option is reprocess, the system continues reading this return file from the last line processed, preventing that a bill already written off (paid) generates a credit bill (RA) for the customer. This happens when the company uses the parameter MV_REC2TIT = 1.



See Also