Accessing the attribute child table of item doctype from another form

Hi, does anyone know how to access the values from the item attributes child table under the item doctype . This question applies to item codes that are using the variants setting, i.e. based on item code templates.

What I’m trying to do: access an attribute name and value from the item doctype from within the Stock Entry detail child table. All item codes are variants of a template, so they will definitely have an attribute table existing in their item master/doctype.