Skip to main content
Question

Copy Document Object Connection with Custom Event

  • November 8, 2024
  • 0 replies
  • 25 views

Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • 6 replies

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

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings