A bit worry about the error messages. It says Starting date= (blank)
Is there a period in the table without starting date? (check the table by running it)
Place a breakpoint on the AccountingPeriod.GET() and debug again. See if the breakpoint gets triggered, you may not have a value, or a value you didn't expect, in the AccountingPeriod variable.
Answers
Have your checked the current year for errors or tampering?
yes created a new year
. Pls, refer attached accounting Period.
Is there a period in the table without starting date? (check the table by running it)
I have checked in the table, there is no starting date with blank.
Journal posting date has been created apend with 'C' , C31/12/16.
If i remove that c and try to prview posting , there is no error .
Refer attached file.
Its a special date, so you can do a balance of 010117..311217 without including closing entries.
Have no clue to the error.
Try debugging and see if you can see the record where it finds OD date.
Please find the attached debug Screenshot.
Kindly advise.
what if I post that journal Without special date after remove 'C". Will it cause any problem.
Place a breakpoint on the AccountingPeriod.GET() and debug again. See if the breakpoint gets triggered, you may not have a value, or a value you didn't expect, in the AccountingPeriod variable.