cancel
Showing results for 
Search instead for 
Did you mean: 

When using the odata API 'Production Order Confirmation – Read, Create, Cancel' to create a time ticket for production order, How can we specify posting date as local date time when the local time zone(UTC+8) is different from the system time zone(UTC)

0 Kudos

Dear all,

When using the odata API 'Production Order Confirmation – Read, Create, Cancel' to create a time ticket for production order, we specify the field "PostingDate" as local date time,but production order operation's confirmation only can be created when the posting date as less than the system date, how can we specify this date as local date time when the local time zone(UTC+8) is different from the system time zone(UTC)?

For example:

System time(UTC):2/27 5:00 PM

Local time(UTC+8):2/28 1:00 AM

Our need is before 8:00 AM Local time, When creating a time ticket for production order, specify the posting date as local time 2/28, not as system time(2/27), But when do that, the interface returns an error "the posting date can not be a future date"

Thanks in advace,

Accepted Solutions (1)

Accepted Solutions (1)

Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ruirui He

The API will be corrected in 1905 release to consider local time for posting date.

Best Regards

Enda

Answers (1)

Answers (1)

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ruirui

Do you still have this issue? Can you share your payload? Which tool are you using to call the OData API--is it CPI or some other application calling the API directly?

Thanks,

Marty