---
title: "AddWorkItems"
canonical: "https://docs.dk.is/space/DEV/10354970/AddWorkItems"
format: markdown
---
This function is used to add a work items

## Parameters

Used to call the function

1. arr - Array of [TWorkLine](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10356875)
2. JournalDateFrom - DateTime
3. JournalDateTo - DateTime

## Returns

Returns the following

- Array of [TWorkLine](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10356875)

 

## Related articles



> Macro (contentbylabel)

> Macro (details)
> 
> | **Related issues** |  |
> | --- | --- |