Fame Check Points

Fame points :
1) Mass update matching the Invoice line and Receipt line for the product where asi = 0
2) for each dva record, where price is not fetched from above.. it goes through detail checking
3) in detail checking if asi > 0, fetch receipt line for the same asi or fetch any invoice where asi = 0 for the same product
4) for asi = 0 and price not found from invoice, check pricelist price else fetch from cost.
5) if product is sub assembly.. then fetch cost from corresponding MO and its bOM using the detail methodology
ignoring the asi..