cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the OTR number from the freight order item (ITEM_TR)

Former Member
0 Kudos

Hi experts,

for a form, I am starting from the freight order items. In TM, I can see the OTR number at the item of the freight order, but when I look into node ITEM_TR (subnode of TOR  ROOT node), I cannot see the OTR number. How can I get the OTR number from the freight order item? In my case, the relationship between freight unit and OTR is 1:1.


Thank you for a hint. I understand retrieve and retrieve by association, please give me association and field Name.

Thanks so much

Petra

Accepted Solutions (1)

Accepted Solutions (1)

Dragoș
Employee
Employee
0 Kudos

Hi Petra,

In this context, the field ORIG_REF_ROOT of ITEM_TR contains the key of the OTR (business object /SCMTMS/TRQ).

So you don't even need a "retrieve by association" - simply retrieve the data from TRQ root with the collected keys.

Regards,

Dragos

Former Member
0 Kudos

Dragos,

thanks for your answer which is helping me a lot.

Regards

Petra

Answers (0)