How to get the goods, knowing him a trade offer?

There is a product with the trade proposals, as is his trade offers. They are in different blocks. How to obtain the id information unit of product, having a aydishnik trade offers?
March 23rd 20 at 19:12
1 answer
March 23rd 20 at 19:14
Found the solution myself CCatalogSku::GetProductInfo($firstItem["PRODUCT_ID"])["ID"]

Find more questions by tags 1C-Bitrix