PDA

View Full Version : Invalid Time generated by addGrpEnvelope and addICEnvelope


sgurram
06-18-2003, 13:37
By mistake I posted the same message to a different thread. I apologize.

I have a service generating EDI X12 4030 810 document. addGrpEnvelope and addICEnvelope services are generating invalid time (2412 instead of 0012) when the service is running between 12:00AM and 12:59AM.

Any ideas ?

Thank you very much.

chrisl
06-18-2003, 14:23
Srini,

You can either duplicate the addGrpEnvelope in one of your own packages and fix it there and then use that service or fix it directly.
Go into the service and change the date format.

This has been fixed in 6.0.1.

HTH

dfarren
06-18-2003, 14:39
Srini,

I ran into this problem also. As Chris mentioned you need to change the pattern in 'currentDate' calls from 'kkmm' to 'HHmm'. Note that the addICEnvelope service makes two seperate calls to 'currentDate' so be sure to change both of them.

Regards,
Devan