Skip to main content
Solved

Connect an attachment via the Object Connection Transformations window

  • May 26, 2021
  • 3 replies
  • 452 views

Forum|alt.badge.img+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.

Best answer by Bhanuka Ranaweera

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.

This topic has been closed for replies.

3 replies

Bhanuka Ranaweera
Hero (Employee)
Forum|alt.badge.img+9
  • Hero (Employee)
  • 15 replies
  • Answer
  • May 26, 2021

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.


Björn Hultgren
Hero (Employee)
Forum|alt.badge.img+25
  • Hero (Employee)
  • 1061 replies
  • May 26, 2021

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.


Bhanuka Ranaweera
Hero (Employee)
Forum|alt.badge.img+9

Noted.Thank you @Björn Hultgren !