Skip to main content

Hi everyone

 

We are currently using a custom event to copy document object connections from “routing operation” to “shop order routing operation”, because the transformation doesn’t work for us in this case. This works very well.
Know we have the Case that the Shop Order gets created via Customer Order or Project. The users in Sales Team oder Project users don’t have access to all Documents which have to be copied. Since the Users don’t have access to the Documents the event doesn’t copy them.
As “Hotfix” we gave them access to the documents but I rather fix it the right way.

Currently the api call is right in the Event itself.

            Doc_Reference_Object_API.Copy_Object_Connection(old_lu_name_,
                                                                                                          old_key_ref_,
                                                                                                          new_lu_name_,
                                                                                                          new_key_ref_);

Can I run this event as DMS user wich has access to all Documents?
Would a background job help?

 

Thank you

Be the first to reply!

Reply