Sales order logging incorrect dates
Hi,
We are having a problem in Jiwa 7.0.129 in where the dates being saved on new sales orders appear to be wrong for some reason.
We have an AFTER INSERT trigger set up on SO_History to log every record along with the SQL server GETDATE() datetime and the InvoiceInitDate from the SO_Main table.
This is the kind of thing we are seeing in our logs that we cannot explain:
The server date is set correctly on the machine that these sales orders are being entered in on.
We are using the Jiwa DLLs to insert our records and we are not specifying the initdate ourselves.
This is not happening for every order we save, only some.
The dates always seem to be roughly the same e.g. we have three in a row with the incorrect date but 2 seconds apart each.
Is there some reason as to why this might be occurring?
We are having a problem in Jiwa 7.0.129 in where the dates being saved on new sales orders appear to be wrong for some reason.
We have an AFTER INSERT trigger set up on SO_History to log every record along with the SQL server GETDATE() datetime and the InvoiceInitDate from the SO_Main table.
This is the kind of thing we are seeing in our logs that we cannot explain:
| ServerGETDATE | InvoiceHistoryID | LastModifiedBy | RecordDate | HistoryNo | Ref | DateProcessed | DatePosted |
| 2015-10-06 16:45:06.243 | c8fb941cf962428588e3 | Neotek | Sep 30 2015 2:16PM | 1 | D01 - Inserted By Neotek 30/09/2015 02:16:13 | NULL | Sep 30 2015 2:16PM |
| DateLastSaved | DateCreated | DeliveredDate | SOINITDATE |
| Oct 6 2015 4:45PM | Sep 30 2015 2:16PM | NULL | Sep 30 2015 2:16PM |
The server date is set correctly on the machine that these sales orders are being entered in on.
We are using the Jiwa DLLs to insert our records and we are not specifying the initdate ourselves.
This is not happening for every order we save, only some.
The dates always seem to be roughly the same e.g. we have three in a row with the incorrect date but 2 seconds apart each.
Is there some reason as to why this might be occurring?