getAllLineItemForParent($id); $record['LineItems'] = $inventoryLineItems; return $record; } ?>