---
title: "Add Signature Capture to Warehouse Insight"
app: "Warehouse Insight"
section: "Developer"
last_updated: "2023-07-31"
url: "https://insight-works.com/kb/warehouse-insight/add-signature-capture-to-warehouse-insight/"
---

# Add Signature Capture to Warehouse Insight

The following instructions assist you in creating an extension override to create a custom event capturing a signature on a handheld device. Create an override for the chosen application:

1. Select **Warehouse Insight** (in Business Central) / **Administration** / **Device Setup** / **Applications**.
2. Locate and select WHSE\_SHIPMENT\_DOC in the _Code_ column.
3. Select **Create Override**.
4. Select **Design** (opens _Warehouse Insight Application Designer_ page).

 Note: You can press **Alt** and **Enter** to open a new window to drag the application designer into. This allows you to alternate between the application designer and the rest of Business Central.

1. Select **Events** and click and drag **Custom Event** to the design area.
2. Select **Variables**, click and drag **“ ”**, and attach it to **Custom Event**beside **Name**.
3. Select **“ ”** and input “DoSignatureCapture”.
4. Select **Interactions**, click and drag **Capture Signature**, and attach it beneath **Custom Event** under **Name**.
5. Select **Variables**, click and drag **true**, and attach it to **Capture Signature** beside **Require** **Name**.
6. Select **Variables** and select **Create Variable**.
7. Input “image\_file\_name” in _New variable name_ and select **OK**.
8. Select **Variables**, click and drag **set item to**, and attach it beneath **Capture Signature** under **Require** **Name**.
9. Select **item** and set to **image\_file\_name**.
10. Select **Variables**, click and drag **Evaluate Text**, and attach it to the right of **set image\_file\_name to**.
11. Select **Variables**, click and drag **“ ”**, and attach it to **Evaluate Text** beside **Expression**.
12. Select **“ ”** and input “Signature for [signature\_name].png” (pulls the name from **Require Name**).
13. Select **Actions**, click and drag **Run Event**, and attach it beneath **set image\_file\_name to**.

 Note: You can find events in Business Central under _Warehouse Insight Event Codes_. These are events defined in Business Central, and you can create your own.

1. Select **Variables**, click and drag **Nothing yet**, and attach it to **Run Event** beside **Event ID**.
2. Select **Event ID** and select **COMMON:AddAttachment**.
3. Select **Save** and select **OK**.

### **Create a menu icon for the custom command**

Ensure you have completed the steps above and that you have an extension override to execute the command. After you have completed this, create a menu icon for your handheld by completing the following:

1. Navigate to _Warehouse Insight Application_ in Business Central.
2. Select the _Caption_ field in a new line and input “Sign Document”.

 Note: If you want to use translations, you can create/use a code for the _Caption_ field.

1. Select _Require Line_dropdown and select **Yes**.
2. Select _Standard Action_and select **Application Event**.
3. Select _Custom 1_ and input “DoSignatureCapture”.
4. Select _Icon Code_ dropdown and select **Full from full list**.
5. Select **+New** and input the following:

   1. Code: SIGNATURE
   2. Description: Signature
   3. Image: Select **+**, select the image to use (SignatureIcon.png if available), and select **Open**.
   4. Select **Back** icon.
6. Select **SIGNATURE** from the list and select **OK**.
7. Select **Warehouse Insight** (in Business Central) / **Administration** / **Device Setup** / **Record Search Rules**.
8. Locate **Warehouse Shipment Line** and ensure the following fields are correct:

   1. Source No. Field No.
   2. Source No. Field Name
   3. Source Line Field No.
   4. Source Line Field Name
   5. Source Type Field No.
   6. Source Type Field Name

The extension override is complete, and the handheld device can capture a signature.

### Capture a signature on a handheld

Test your new functionality on a handheld device connected to your Business Central environment.

 Note: If you add icons, exit and re-open the Warehouse Insight application to cache the icons properly.

1. Press **Warehouse Insight** / **Ship**.
2. Select a sales order and select **Menus.**
3. Press **Sign Document** and:

   1. Sign your name.
   2. Input your name.
   3. Press **OK** (uploads and attaches the signature).
4. Press **OK**.
5. Navigate to the corresponding Sales Order in Business Central and ensure the signature has been attached (open the document for viewing, if needed).

### Signature Capture in Dynamics 365 Business Central

The following video provides an example of how to use _Create Base Application Wizard_ to extend existing Warehouse Insight applications.

[Video: Signature Capture in Dynamics 365 Business Central](https://www.youtube.com/watch?v=g5gGCR05Qqc)
