English German Spanish
Support|Education|Careers|Contact Us

How to configure the FileSplitter in ODEX Professional to separate files from the Inland Revenue.

Article ID: 1186
Date Created: 13/10/2009 10:45:40
Date Modified: 19/10/2009 10:42:17
Applies To: ODEX Professional
More Information:

The FileSplitter executable can be found in the Utils sub-directory of the ODEX installation directory. This executable can be configured so that files from the Inland Revenue can be directed to different directories and/or given different filenames, based on either the Sender ID or Tax district/Empref code in the 4* header of an Inland Revenue GFF file.

First, the FileSplitter needs to be configured with where in the file the field you wish to split on is located, and all of the different IDs that may be encountered. This is done by editing the "FileSplitter.cfg" file and can be done with any text editor, such as Notepad.

Within the FileSplitter.cfg, any line starting with a semicolon (;) is a comments line and is ignored when the file is run.

The first thing to edit is the line:

-4*_GFF_RECEPIENT_POSITION=xxxxx

This defines the position of the first character of the field that is to be used to determine to which of your Internal IDs the message was sent.

With a GFF file the default entry is a SENDER ID. Alternatively you can enter the position of the first character of the field containing the Tax district/Empref.

Once this has been set, you need to edit the line below it -

4*_GFF_RECEPIENT_LEN=

This defines how many characters the field you are checking is (by default the RECIPIENT ID is 14 characters).

With these two fields defined, you now need to configure all of the Sender ID or Tax districts/Emprefs which you will be receiving, and where the FileSplitter should place each of these IDs.

This is done by uncommenting the [Customer] section, i.e. by removing the semicolons from the start of the line.

Only the [CUSTOMER], UNIQUEID, NAME and OUTFOLDER are required. The other fields can be left commented out-

[CUSTOMER]

UNIQUEID= This defines the unique code for this customer, i.e. SENDER ID or Tax district/Empref

NAME= This is just a descriptive field to allow you to enter a useful name

E-MAIL= If you are using MAPI e-mail to inform specific users when a file for a particular ID has arrived, the e-mail address is entered here

OUTFOLDER= This is the folder that the file should be placed in

OUTMASK= If this is present, when the file is copied to the OUTFOLDER, the filename will be prefixed with this value

You can add additional customers/IDs by simply copy and pasting the [CUSTOMER] section.

Keywords:



Rate this article

12345

Current rating: 0
1 star = Poor, 5 stars = Perfect)

Feedback

Did this information solve your problem?
 
What can we do to improve this information?
 
Please provide an email address so that we can obtain
further information if necessary (optional):




User Logon
Username/Password:
CONTACT US

UK: +44 (0) 1733 371 311
ES: +34 91 268 66 29
SE: +46 (0) 322 935 25
DE: +49 (0) 40 31112 374


sales@di-international.com
Terms and Conditions | Copyright Data Interchange Plc 2012