How do you populate custom fields from Item to Sale Order Item on Sale Order?

I think I finally figured it out from finding this Discussion:

In Fetch From, you use the syntax “[source_doctype_primary_index_fieldname].[field_name]”

Personally I think this is way too “magical” looking and non-intuitive for an experienced programmer. Is this even documented anywhere? I’ve spent an immense amount of time trying to figure this out.