> For the complete documentation index, see [llms.txt](https://help.holixa.com/holixa-erp-connector/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.holixa.com/holixa-erp-connector/data-interface-reference-manual/writing-data-into-data-interface/using-sql-stored-procedure.md).

# Using SQL Stored Procedure

Stored procedure is provided as a part of the data interface. You should consider using this stored procedure when you need to insert two or more records into the EcENTITY table AND these records have logical association/s.

Name: EcWriteEntity Parameters:

* @EntName NVARCHAR (100)
* @BulkID INT = -1 OUT
* @EntClassID NVARCHAR (10) = 'ITEM'
