How to fetch the manufacture value

I am creating variant of an Item based on manufacture. In these while creating the item it asks for manufacture value in the popup.
I want to fetch that value so that I can create its record in Item Manufacture doctype dynamically based on the script. So can anyone please help with these.It would be great help.
I have marked the value which I want to fetch in the screenshot below.