API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Approved on TimeEntry_UpdateFromData

0
Hi e-conomic

I'm having trouble creating/updating Time entries with the "approved" flag set to true.

I've tried creating my TimeEntry by instantiate a TimeEntryData object and assign all relevant values and then create with TimeEntry_CreateFromData. And i've tried creating with TimeEntry_Create and then use that handle to update with TimeEntry_UpdateFromData (through TimeEntryData).

No matter what - the entries are created as they should except the Approved=true. Am I missing some setting?

mvh S
created Dec 15, 2015 by suro
20% Accept Rate
Q 5 A 1 C 1

1 Answer

0
 
Best answer

Hi suro

TimeEntries must be approved using TimeEntry_ApproveEntries

answered Dec 15, 2015 by olej
selected Dec 16, 2015 by suro
Thank you - that helped me a lot.
Now I'm on to the next step - What about MileageEntries? - I can't find a similar function for that...can you help again?... :o)
/s
Visma e-conomic A/S
...