Custom function of a subassembly that does not go up in the assembly

Hi all

I want to insert a custom function in an assembly, no worries I get a price of 101.07 in calculated parts and 6€ more for my custom function for 107.07€ in total (image 1 and 2)


Image2
On the other hand, if I insert this assembly into another, and I redo the price, it does count me 101.07€ of calculated parts, but it doesn't give me my personalized function of 6€ (image3)
Image3

Could someone tell me why?

Thank you