Note
This routine receives the CNAB bank return in text format according to the parameter 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: |
Important:
|
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®.
To return Cnab Payable:
The system displays the routine parameterization screen.
Important: |
2. Set the parameters and confirm.
Observe the File name field and enter BRAZIL.
3. In the CNAB Mod.2 configuration screen, add a line:
Identification: 1H
Description: Batch 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 your bank manual.
Observe the question:
Process Branch? - The options All Branches or Current Branch are available.
Important: |
5. Confirm the edition.
Important: Information concerning the batch current account is obtained after reading a batch 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 data from the file according to the parameters configured.
Tip: |