Topic Options
#7433 - 08/28/06 08:22 AM Invalid Date Importing a CSV File
Anonymous
Unregistered


I am trying to import a csv file from my payroll software into Ledger and get the error "Invalid Date '05/31/2006' in field called 'Fiscal Date" in record 1". I do not get an error on the transaction date however. It is set to ascii YYYYMMDD format.

I tried to change the date format on my system to mm/dd/yyyy but that did not fix it.

I had no issue with this previously but recently I installed a Ledger patch.

Top
#7434 - 08/28/06 06:30 PM Re: Invalid Date Importing a CSV File
Douglas Dickie Offline
Adagio God

Registered: 06/02/99
Posts: 4439
Loc: Vancouver, BC
Which payroll program are you using?

Can you copy and paste the import file (or at least a small portion of it) into your response so that we can have a look at it?
_________________________
Douglas Dickie
AccSys Solutions Inc
Phone: 1.888.534.4344
ddickie@accsyssolutions.com

Top
#7435 - 08/28/06 07:24 PM Re: Invalid Date Importing a CSV File
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11616
Loc: Vancouver, BC Canada
Hi Sheldon,

I am able to duplicate the problem where the import process does not like the M/d/yyyy format - I have seen this in other Adagio applications as well with specific versions. I can forward this to development for you. Likely the problem occured in the installed service pack.

Make sure that in the import template, you use the M/d/yyyy format instead of the ASCII YYYYMMDD format (which expects dates to be "20060531" instead of "05/31/2006").
_________________________
Regards,
Softrak Tech Support

Top
#7436 - 08/29/06 07:52 AM Re: Invalid Date Importing a CSV File
Anonymous
Unregistered


We are using Avanti payroll but I create the file with an Excel Macro from exported data.

Here are three records from the import file.

D,1,20060820,7,492,101,GLJE,Avanti,20060731,To Accrue July Payroll,3173.07
D,1,20060820,7,492,102,GLJE,Avanti,20060731,To Accrue July Payroll,24895.53
D,1,20060820,7,492,103,GLJE,Avanti,20060731,To Accrue July Payroll,1356.2
Type,Entry#,FiscalDate,Period,Acct,Dept,SourceCode,Reference,TransactionDate,Description,HomeAmt

I prefer to use an ascii format for the date rather than a typical date format as it is easier to work with when creating and saving the files.

Thanks for your help,
Sheldon

Top
#7437 - 08/29/06 11:21 AM Re: Invalid Date Importing a CSV File
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11616
Loc: Vancouver, BC Canada
If the dates are 20060820, then the field date format should be set to ascii YYYYMMDD. On the second screen of the import batch function, highlight each date field on the right. Make sure that the date format as displayed at the bottom is YYYYMMDD.
_________________________
Regards,
Softrak Tech Support

Top
#7438 - 08/31/06 02:58 PM Re: Invalid Date Importing a CSV File
Anonymous
Unregistered


The file is consistent with the date formatting. The error is on the "Rate Date" which I have set as a defaulted field because I am not importing it.

The error is "Invalid data '08/31/2006'for field called 'Rate Date'.

As a test I added that to the records I am importing and it worked for me. It just will not if I do it as a defaulted field.

Sheldon

Top
#7439 - 09/06/06 01:05 PM Re: Invalid Date Importing a CSV File
Anonymous
Unregistered


Any ideas how I can fix this yet?

Top
#7440 - 09/06/06 02:36 PM Re: Invalid Date Importing a CSV File
Softrak Support Offline

Adagio Action Team

Registered: 03/09/99
Posts: 11616
Loc: Vancouver, BC Canada
Hi Sheldon,

It looks like for now, you'll have to add Rate Date to the import file. Can you open your file with Excel and add a new column? Copy/Paste can be useful here.
_________________________
Regards,
Softrak Tech Support

Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 78 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1872 Members
5 Forums
14527 Topics
70937 Posts

Max Online: 432 @ 01/20/25 10:17 PM
August
Su M Tu W Th F Sa
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31