Solved

Connect an attachment via the Object Connection Transformations window

  • 26 May 2021
  • 3 replies
  • 350 views

Userlevel 5
Badge +8

Assume a manufactured inventory part with a purchased part in product structure with routing operation work guidelines where we connect an attachment via the Object Connection Transformations window.(which adds the document to the work guideline as a link)

On Shop Order window, when we RMB>Reports>click Work Instruction…Check box Print Attached Documents> ticked, Work Instruction is printed for Shop Order, but Attached Document is not.

icon

Best answer by Bhanuka Ranaweera 26 May 2021, 16:23

View original

This topic has been closed for comments

3 replies

Userlevel 5
Badge +8

Hi Elath,

The 'Print attached Documents' option is designed to print its connected attachments (this case attachments connected to the Shop Order), But the Object connection transformations attachments(shown as a link in the attachments section ) do not fall under attachments category connected to Shop order. So we don't include those with the 'Print attached Documents' option.

Furthermore, when printing the attachment, any attachments connected with object connection key transformation are able to print. When we connect using a "transformation method" for object connection transformation, we call  a method in Doc_Reference_Object_API. Doc_Reference_Object_API.Get_Obj_Conn_Client_Result_Set() to get the Object Connection transformation results set but we don't get the object transformations done with transformation method.

After a recent fix we are not copying the attachments from the routing work guideline to shop order work guide line LU through the code we only use object connection transformation to get the connected objects.

Userlevel 7
Badge +23

I think it works in Aurena. I.e. if you print work instruction you will have the possibility to print also documents linked to the work instruction through object connection transformations to the shop order guideline.

Userlevel 5
Badge +8

Noted.Thank you @Björn Hultgren !