ERP User GuideSAP Business One

SAP Business One

Item Attachments



In SAP Business One you can add different files and links to the items. Files and links added to the items in SAP Business One are shown on the product details pages in the Sana web store. For example, you are selling electronics or some complex equipment in mechanical engineering, and you need to provide some manuals or other additional documentation to your customers online. These documents can be added to the items in SAP Business One and shown on the product details page in the Sana web store.

Sana also provides a possibility to add files to the products from the file system on the Web server. For more information, see "Product and Order Attachments".

Add files to the items

Step 1: At first you need to create a folder where all item attachments will be stored.

 NOTE

You must create a folder for item attachments on the server where Sana Web service for SAP Business One is installed.

Step 2: In SAP Business One click: Administration > System Initialization > General Settings > Path.

In the Attachments Folder field, select the folder where all item attachments will be uploaded and click Refresh Paths in Documents.

Step 3: Click: Inventory > Item Master Data. Open the necessary item.

On the Attachments tab of the Item Master Data, you can browse files on the server and add them to the item.

Add links to the items as attachments

By default, you can't add URLs as attachments to the items in SAP Business One. But, you can do this by adding the user-defined fields to the item master data.

Step 1: At the top menu of SAP Business One, click: Tools > Customization Tools > User-Defined Field - Management > Master Data > Items > Items. Click Add to add a user-defined field to the item master data.

To add a user-defined field for links, fill in the fields as described in the table below.

Field  Description 
Title  Enter the title in the following format: SANAECOM_atc_lnk_[order number].

Examples:

SANAECOM_atc_lnk_1
SANAECOM_atc_lnk_2
SANAECOM_atc_lnk_3 

Description  Enter the user-friendly name of the field. It will be shown in the user-defined fields of the item master data.

Examples:

Link 1
Link 2
Link 3 

Length  Enter the field length. 
Type  Select Alphanumeric
Structure  Select Regular
Validation  Select None

This way you can add as many user-defined fields for links as you need. You need to add the user-defined fields to the item master data only once and you will be able to use them for all items.

 NOTE

When all user-defined fields are added, you need to restart SAP Business One DI Server.


Enable item attachments

Step 1: In SAP Business One click: Web Store > Web Stores.

Step 2: On the Images & Downloads tab, enable item attachments for your web store. When you enable item attachments, all files and URLs added to the items in SAP Business One will be shown on the product details pages in the Sana web store.

When all the needed attachments are added to the items in SAP Business One and the option Enable Item Attachments Downloads is enabled in the Web Stores window, you need to rebuild the product index. Open Sana Admin and click: Tools > Scheduled tasks. Run Rebuild index for the Product import task.

 NOTE

When there is no connection between Sana and SAP Business One, only URL attachments (links) will be shown in the Sana web store. It will not be possible to open the attached files until the connection to SAP Business One is re-established.

ERP User GuideSAP Business One