I have created Lastest Purchase Price doctype there i have kept field like Item Name, Item Code, Updated Date, Rate. My requirement is when I will create new item then there also new Latest Purchase Price document will have to generate with that same Item having Rate. How can i do this ?
When you save the Item and Latest Purchase Price will be created. So have to add logic as per your scenario and also update the field name and doctype.