There is a scenario where business wants old material should have old material price and new material have new price in invoice.
There are 10 bags where 5 manufactured in the month of jan and other 5 in july
jan the bag price is 100 rs and july one is 150 rs.
there is an order for 10 bags
business create the order in the current date.
now business wants in invoice it should be 1005+1505.