Service Desk Practitioners Forum
cancel

How to create a closed work order using sd_event?

SOLVED
Go to solution
Highlighted
leocor
New Member.

How to create a closed work order using sd_event?

Hi
I want to create a closed work order using hard code sd_event in DOS.
I got some issues about including filed names with space. Such as actual start, actual finish and closure code. Other fields are ok and work well.
How can I do this ?
I'm using command line below to open a new work order and it works very well.

sd_event.exe -f workorder.ini -v description="Work order test" status="New" event_id="%DATE% %TIME%" deadline="10/10/2008 17:00" impact="None" priority="Sistemas-None" person="PERSON NAME" workgroup="DBA" category="Task - General"

Now I have to change from status="New" to status="Closed"
And I have to include Closure code, Actual start and Actual Finish as these fields are required.
I've tried Actual_start, actual_start, [actual start], "actual start", actualstart and all possible sort of name.
My SD is 4.5.0588
The message from log is
SERVER_RESPONSE=ERROR: For work order the following fields are required: Actual Finish,Actual Start,Closure code.

Can someone help me?
Thank you
2 REPLIES
Igor 'bis' Bari
Super Contributor.
Solution

Re: How to create a closed work order using sd_event?

i think u should map actual start, actual finish and closure code in your mapping (MAPPING=... in workorder.ini) in SD -> System administration -> Data -> Data Exchange -> Import mapping. Look at screen and use mapped field in sd_event after.

HTH,
Igor Barinov
leocor
New Member.

Re: How to create a closed work order using sd_event?

Im not the administrator. I asked her to do it for me.
Thank you