Solved

GI Results API and PST vs. UTC

  • 2 February 2023
  • 1 reply
  • 34 views

Userlevel 5
Badge

Good day,

In nutshell, we send via the API GI results at night PST (e.g. 11:00 AM PST).  We schedule the sending of the data from a product called JB.  I have the conditions on the results set to identity the orders that need to pass through the API endpoint to Jitterbit.  Now, the data received by JB is not finding the results because of the API UTC time is already the next day.  Seems to be eight hours ahead.  It seems that any results we send in the evening  

Questions:

Is the API in UTC time?

If so, How should I set up the filter conditions on the GI so that the current days records are sent via the API and not get all the records for the previous day.  The timestamp is showing the next day on the API transmission.   I was thinking @Today-1; this would send yesterday’s records based on the nightly schedule which seems to be the in Acumatica UTC time the next day.

 

Any assistance would grateful.

Thank you

 

icon

Best answer by jinin 2 February 2023, 19:58

View original

1 reply

Userlevel 7
Badge +11

Hi @EvanG 

The correct time is always going to be the time stamp stored in the DB, which is UTC time or the server time.

you will need to modify the field in the GI to subtract the number of hours needed or add the number of hours needed to the time so it will reflect this on the API.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved