---
title: "AddToOrder"
canonical: "https://docs.dk.is/space/DEV/10354885/AddToOrder"
format: markdown
---
This function adds a line to a order

## Parameters

Used to call the function

1. OrderID - Integer
2. orderLine - [TOrderLine](https://dkdocs.atlassian.net/wiki/spaces/DEV/pages/10354877)

## Returns

Returns the following

- Integer

 

## Related articles



> Macro (contentbylabel)

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