I used System.Convert.ToDateTime()
Still get the same exception.
The table that the program gets the data from uses a smalldate to store the value...
Can you think of anything else to try?
Thanks that was it!
Now I have 1 more problem, one of my requirements is to be able to post journal entries with a modified date, every date field I try to modify (Batch->created/edited) or (header->dateentry) or (detail->transdate) I get an exception. Which date fields can be modified ...
I'm still stuck, the only place I set a value for the credit and debit is in transamt, yet when I import it still goes to zero.
Would you mind looking at my test data?
I set the JRNLCR = JRNLDR .01 in the header.
I set DEBITTOT and CREDITTOT = .01 in the batch
I set the trans amt in 1 detail to .01 and -.01 in the other.
Accpac shows each entry as 0, and the totals as .02 for credit and debit.
Also, my details are not being assigned entry numbers properly...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.