This function can be executed without parameters, only by means of running job/ and takes the TNr of the TradingPartners from the Data of the Document object. Otherwise, a GLN can simply be passed to the function, for which the corresponding TNr is returned.
GetTradingPartnerTNr('GLN')
GetTradingPartnerTNr()
get the trading partner's TNr of the current message
GetTradingPartnerTNr('4043077000005')