We have created a document class for SOPs. We would love to be able to connect those SOPs relating to topics specific to the purchase order management to the Purchase Order window, regardless of which record is pulled up. If someone was making a new Purchase Order and it was blank or viewing an existing one we would like them to be able to access the same generic SOP document from the attachments.
Is there a way to connect a document to Purchase Order generically?
Best answer by Mathias Dahl
Hi,
Let me verify what you want to do here:
When in the PO window, regardless of which record you have selected, you want to always see a fixed set of documents under Attachments/Documents (plus, I assume, any PO-specific documents too)?
That can be achieved by "hacking" the Object Connection Transformation functionality, using a less-known part of it, which is that you can hard code the keys for the Source object.
You can define a transformation rule there from some Source object (pick one that fits, DocFolder might be a good fit) to the Target (PurchaseOrder).
See example below.
First, I created a document folder to keep my documents. It does not matter that it is a document folder, but it fits quite well for what we are going to do:

Make a note of the folder sequence there.
Now connect the documents to this folder:

Next, create a new rule in Object Connection Transformation as below:

Save. Done.
Now, after selecting any PO in the PO screen, the same documents appear:

Above, you can see these documents are not really attached to the PO, they are just listed there because of the new transformation rule.
If this is not what you wanted, you're welcome anyway, ask again :)
Good luck!
/Mathias
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.