I have created 2 custom fields START DATE and END DATE in Quotation doctype, the difference between these 2 field is number of days( i.e Total Duration=END DATE- START DATE) . I want to copy the TOTAL DURATION data and to display the data in DURATION column(i.e child table ) for all the items. Total Duration will be same for all the items present in child table of Quotation Item. Whatever the value of total duration is present that should be same for all child item in duration column.
I am not getting how to get value from parent field and to display in child table field from 2 different doctypes .