How are files linked to Items

Hello there,

I am trying to figure out, how files (Images) are attached to (Stock) Items. When the image is uploaded to one Item, it’s simple.

tabFile holds a column with the name attached_to_name, for example: ITEM-00001-RED-S

It gets trickier, when I use the same image for another Item. I can’t find how the images / files are assigned to the Items.

Is it documented somewhere, or can someone lead me to the right direction?

Thank you very much.

When image is uploaded, it is stored in the file folder. Item master has field of Type Image Attach. In the field, files path is stored and image is rendered in the Image View field.

1 Like

Hello umair,

thank you very much. Next time I will look closer to the DocType tables in the database.