I am getting really confused with the subject of TPA’s. If a partner sends say for instance a papinet DeliveryMessage at what point does Wm actually pick up which TPA to use?
Appologies if this subject has been covered before, but I couldnt find anything when I searched that related to my question.
You can use TPAs in any kind of transactions.
WmEDI module uses EDITPA TPA to do the routine tasks(for e.g if 997 is received it checks the FAReconciliation field to update the EDITRACKING table, for outbound EDIs, it gets the value for ISA and GS segmens from EDITPA)
However, you can define TPA for any sender/receiver pair. you can also define multiple TPAs(with different agreement id) for given sender/receiver if you need
Give unique “Agreement ID”, for sender and receiver.
Specify the “IS Document type”. You can define the TPA to have any document type.
In your flow service, call the service WmTN/wm.tn.tpa:getTPA to get the TPA. Output of the service is WmTN/wm.tn.rec:TPA. the tpaData field in TPA will have the values you defined using TN console.
you can use these values to do the routine tasks. In our implementation, we defined a field called itemLookup. If itemLookup is set to true, we query the item lookup table to construct our desired output.