Importing Good Card
This routine automatically imports the fillings of Good Card agreement, in the Asset Maintenance module applied to Fleet Management.
There are two very important reasons to integrate the Good Card information with other Fleet systems:
• | To carry out the automatic inflow, replacing the typing, of information of supply and hodometer for the system. |
• | To make calculations and statistics of supply average, etc., different than the one available in the Good Card system. |
This way, the Fleet Management system enables processes to import, internalize and consist this information that is generated by Good Card.
Import layout of Good Card file for the Fleet Management:
The Good Card agreement layout is composed of 3 types of registration: HEADER, DETAIL and TRAILLER
• | HEADER – First line of transfer files. |
POSITION |
NAME OF THE FIELD |
TYPE |
SIZE |
DESCRIPTION |
001 to 003 |
ID_Reg |
|
3 |
Registration Type ID (000) |
004 to 017 |
CNPJ_Emi |
|
4 |
Issuer CNPJ |
018 to 049 |
ID_Emi |
|
2 |
Issuer Identification |
050 to 057 |
Dt_Preg |
|
8 |
First Registration Date (DDMMAAAA) |
058 to 063 |
Hr_PReg |
|
4 |
First Registration Time (HHMM) |
064 to 071 |
Dt_UReg |
|
8 |
Last Registration Date (DDMMAAAA) |
072 to 077 |
Hr_UReg |
|
4 |
Last Registration Time (HHMM) |
078 to 100 |
DtHr_Gera |
|
3 |
Date/Time of File Generation |
101 to 150 |
Período |
|
0 |
Period of Calculation Information |
The value of the field ID_reg is always equal to 000 for the HEADER registration. |
• | DETAIL – Information Transferred. |
POSITION |
NAME OF FIELD |
TYPE |
SIZE |
DEC |
DESCRIPTION |
001 to 003 |
ID_Reg |
|
03 |
|
Registration type ID (100) |
004 to 007 |
Num_Seq |
|
04 |
|
Sequential No. |
008 to 015 |
Dt_Trans |
|
08 |
|
Transaction Date (DDMMAAAA) |
016 to 026 |
Vl_Trans |
|
11 |
|
Value in Reais |
027 to 042 |
Num_Cart |
|
16 |
|
Card No. |
043 to 048 |
Qt_Mater |
|
06 |
|
Used Material Amount |
049 to 050 |
Tp_Mater |
|
02 |
|
Material Type |
051 to 080 |
Servico |
|
30 |
|
Service Code |
081 to 091 |
Tp_Abast |
|
11 |
|
Supply Type |
092 to 098 |
Placa |
|
07 |
|
Vehicle License Plate |
099 to 105 |
Hodom |
|
07 |
|
Vehicle Hodometer in the Supply |
106 to 119 |
CNPJ_Estab |
|
14 |
|
Estabelecimento CNPJ No. |
120 to 169 |
Nome_Estab |
|
50 |
|
Name of Establishment |
170 to 199 |
Info_Ad01 |
|
30 |
|
Additional Information 1 |
200 to 229 |
Info_Ad02 |
|
30 |
|
Additional Information 2 |
230 to 259 |
Info_Ad03 |
|
30 |
|
Additional Information 3 |
260 to 269 |
Matric |
|
10 |
|
Driver's Registration |
270 to 274 |
Hr Trans |
|
05 |
|
Transaction Time (HH:MM) |
275 to 284 |
Vl_Litro |
|
10 |
|
Value per liter with 3 decimal places |
|
• | TRAILLER - Last line of the transfer file |
POSITION |
NAME OF THE FIELD |
TYPE |
TAM |
DEC |
DESCRIPTION |
001 a 003 |
ID_reg |
|
3 |
|
Registration type ID (100) (200) |
004 a 009 |
Qt_reg |
|
6 |
|
Amount of Registrations Sent |
010 a 019 |
Tot_mater |
|
0 |
|
Totalizer of Used Material |
020 a 029 |
Tot_valor |
|
0 |
|
Totalizer of Values in Reais |
The value of the ID_reg field is always equal to 200 for the TRAILLER registrations. |
Procedures
1. To automatically import the fillings of Good Card agreement, in the Asset Maintenance module, access the following path:
Updates > Fuel Control > Filling > Import Good Card Agreement
2. The program prompts a warning message concerning the implementation of a backup of TR6 files / tables in use. Confirm processing.
3. The program finds the desired file.
This file must be stored in the server directory. The name of the file to import cannot exceed 20 characters. |
4. The system displays the message Filling File loaded successfully.
This message identifies that the selected file is the correct format.
5. Confirm it.
After importing, the process is the same as the one used in other agreement, that is, you must Consist the Fillings and than Analyze the Consistency of Checking for the records containing errors. |