Note
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 the posting are automatically posted, bank transactions and balance updates are generated, and these postings are accounted.
If a customer has paid a bill twice, the system generates an RA bill, crediting the customer for the duplicated payment. For this to happen, parameter MV_REC2TIT must be configured. When it is set to 1, the RA is generated and, when it is set to 2, the system continues without performing a new posting or transaction.
To post bills with multiple nature apportionments, set parameters MV_MULNATB and MV_MULNATR to .T.
If needed, use the MV_LOCREC parameter to enter the directory of the CNAB files that are returned from the bank and will be processed.
The system allows you to select the CNAB template to be used for bank receipt: Template 1 or Template 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: |
Note: |
If the Schedule routine and the EAI Adapter are configured, integration between TIN (TOTVS Real State Enterprising) and Protheus is possible for sending and receiving XML files according to the XSD ratified by TOTVS®.
For receiving CNAB receivable from the bank:
The system displays the routine parameterization screen.
2. Configure the parameters according to the field help instructions.
Pay attention to the following questions:
Process Branch?: determine if the return processing must consider only bills from the Current Branch or bills from All Branches if the IDCNAB resource is used.
Online Booking?: determine the booking of the CNAB return.
Consider Bank Retention?: a standard must be defined for using this question because, if it is constantly edited, the bills' due dates may not be corrected when the bills are transferred to a collection status or portfolio.
3. Check the data and confirm.
4. After filling in the parameters, select Receive File in the routine maintenance window.
The system then starts searching and converting data from the file according to the parameters configured.
Important: |