added the PlannedProjectItems block and added code to generate an invoice position from open items