Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

EFT File Format - variable field lengths

Posted on by Microsoft Employee

Hi all. I have a .CSV file format created in EFT for Payables. This works fine. The problem is that GP only allows fixed field lengths.

So for example...I can set the Beneficiary Account Name field to be 20 characters long. If the actual name is 'MICROSOFT'...this is 9 characters long...so GP creates then adds 11 trailing blank spaces. (or leading depending on how you set up the field)

The bank that the EFT file is being sent to however requires that there are no trailing spaces. So, a snippet of the EFT file from GP would look like:

123456,12345678,MICROSOFT           ,REFERENCE,

But what the bank wants is:

123456,12345678,MICROSOFT,REFERENCE,

I can of course pad out the fields with a pad character of say '#', then when the file is created by GP I can open it in a text editor and do a find and replace...find all #'s and replace them with nothing. Thi works fine, except that it is an extra manual step for the user.

I have 2 questions:

Has anyone found a way in standard GP EFT for Paybles to make the fields dynamic? i.e. they change in size according to the text from the GP field they are linked to - up to the maximum field length?

If not, does anyone know of a way that I could automate the Find and Replace action? VBA maybe - that runs a process automatically as the file is being created, or after it has been created?

All and any ideas welcomed!!

Ian.

 

 

*This post is locked for comments

  • Sunbeam De Jesus Profile Picture
    Sunbeam De Jesus 3,930 on at
    Re: EFT File Format - variable field lengths

    Hi Ian,

    I havent tried GP banking software yet [I am base outside US]. try to google GP2bank its a 3rd party product that could resolve your case. thansk

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans