Generic General Ledger Conversion Program
ASI has developed numerous General Ledger (GL) interfaces to work with popular third-party accounting software packages. See ASI Support for the list of supported interfaces and the support policy.
If you are integrating to an accounting package that is not included in the list of GL Interface types supported by iMIS, you can use the Generic GL Interface and the Visual Basic (VB) Conversion Template.
The Generic GL Interface creates a standard generic export file. The VB Conversion Template reads this file and reformats the data as you specify. The advantages of using the VB Conversion Template include:
- You do not have to write a VB program to convert data; simply modify the template to meet your requirements.
- After you modify the template to meet your requirements, you can run it within iMIS during month-end procedures. No additional interface is needed to do this.
To perform a GL export with the Generic GL Interface and VB Conversion template, you must have an iMIS FSI license and you must install Microsoft Visual Basic runtime. To obtain a license, please contact your Reseller or ASI.
To use the Generic GL Interface and the VB Conversion Template
The Generic GL Interface and the VB Conversion Template are used together to create an export file that is formatted to your specifications. To use these products:
- Create a generic export file with the Generic GL Interface.
- Modify the VB Conversion Template for your data requirements.
- Test the modified VB conversion program (outside iMIS).
- Run the VB conversion program in iMIS to modify the generic export file.
- Check the results.
To create a generic export file
- From AR/Cash, select Set up module, and click G/L Interface to open the AR/Cash General Ledger Interface window.
- Click Edit.
- From the GL interface type drop-down list, select Generic or Generic 2000. The Generic type uses a 2-digit year format. The Generic 2000 type uses a 4-digit year format.
- Select an option from the Summarize by drop-down list.
- Enter the Output file path/name of the export/import file to be used by the conversion program when the GL Interface runs.
- Click Save.
- To create the generic export file, select AR/Cash > Process month-end procedures, and click Create GL Journal. You should see one export file:
generic.txt (standard generic layout)
The generic export file is generated, as in the following example:
"iMIS","8",1,04/03/2011,04032011,20110403,"1-1100",,"","000403-8","000403-8: DEMO Cash Receipt",150.00,150.00,0.00 "iMIS","8",2,04/03/2011,04032011,20110403,"1-4000",,"","000403-8","000403-8: DEMO-MEETING-BAMS/MAIN",-150.00,0.00,150.00
To modify the VB Conversion Template
- From the ASI main site, go to Support Portal > Support. Click Resources > iMIS Community > Resource Library.
- Click the GL Interface folder and select GenGL.zip.
- Click Download.
- Open the GenGL.zip folder.
- Select the desired project folder location, then click Unzip.
- Double-click the GLIntConversion.vbp file to open it in Visual Basic 6.
- Make layout modifications to the ts.write line in the WriteOut() procedure.
- (Optional) Make other modifications to the VB Conversion Template if the GL package has other requirements. For example, some GL packages require an additional header record or limit the number of transactions per file.
Note: The password is ASI_GLUser and it is case sensitive.
To test the modified program outside of iMIS
To make sure the modified VB conversion program is correct, test it outside of iMIS.
- Run the standard Generic or Generic 2000 interface in iMIS to produce a test export file. Do not fill in the Conversion Program File Path/Name.
- Create a batch file:
- Open an editor, such as Notepad.
- Enter the command to call the VB Conversion Template executable file and include the path of your standard generic output file. For example:
- Save the file with a .bat extension.
- Double-click the .bat file to run the program.
- If the program completes and the Visual Basic syntax is correct, a .bak file is created, for example: C:\glinterface\generic.bak
- Make sure the .bak file has a more recent date or timestamp than its corresponding generic export file.
- Compare the .bak file to the generic export file to make sure all records in the generic export file are also included in the .bak file.
- Import the .bak file into the GL package to make sure it works correctly.
C:\glinterface\glintconversion.exe C:\glinterface\generic.txt
To run the VB conversion program in iMIS
ASI recommends that you test on a demo database within iMIS and make a backup before beginning the conversion process.
Note: The VB conversion program runs after the generic export file is created; therefore, all transactions included in the generic export file are marked as posted and sent to GL in iMIS before the VB conversion program executes. If the program fails, restore from a backup or use the batch file created in the previous procedure to convert the file outside iMIS.
- Enter the conversion program file path in AR/Cash > Set up module > GL Interface > Output file path/name.
- To create the generic export file, select AR/Cash > Process month-end procedures, and click Create GL Journal. You should see two export files:
- generic.txt (standard generic layout)
- generic.bak (VB Conversion Template layout)
To check the conversion
Check the conversion to make sure iMIS finds the correct executable program and to verify that the correct records are being exported.
- Make sure the .bak file has a more recent date or timestamp than its corresponding generic export file.
- Compare the .bak file to the generic export file to make sure all records in the generic export file are also included in the .bak file.