Skip to Content
1
Jun 25 at 07:38 PM

Passing Cost Center ID when inserting Employee Time via ManageEmployeeTimeIn does not work

82 Views Last edit Jul 05 at 08:03 AM 6 rev

Hi experts,

I use the webservice ManageEmployeeTimeIn (operation: MaintainEmployeeTimeAsBundle).

This webservice and operation allow a Cost Center ID to be passed, as in this fragment:

<EmployeeTime actionCode="01">
   <EmployeeID>E0805</EmployeeID>
   <ItemTypeCode>NL0001</ItemTypeCode>
   <DatePeriod>
       <StartDate>2021-06-24</StartDate>
       <EndDate>2021-06-24</EndDate>
   </DatePeriod>
   <Duration>PT6H00M</Duration>
   <WorkDescriptionText languageCode="EN">Sample time entry with Cost Center</WorkDescriptionText>
<!--- COST CENTER PASSED HERE: -->
   <CostCenterId>S1114</CostCenterId>
</EmployeeTime>
This request is passed to ByD and returns a successful response. The time entry is visible in the Recorded Times report.

BUT: the Cost Center in the report is the cost center the Employe is assigned to (P1130), not the Cost Center passed in the WS call (S1114):

Given that I can pass a cost center in the WS call and that the call is processed by ByD without errors or warnings, I would expect the time record to be booked on the cost center passed in the WS call. But it looks like that does not work.

Any thoughts or ideas?

Regards,

Eelco

Attachments