updated; include inventoryheader and detail