Stored procedure EcWriteEntity
helper procedure to write data into DI – mainly for bulks consisting of more than one EcENTITY row
parameter
type
direction
description
@EntName
nvarchar (100) Required
Input
Entity name – for description, see Table EcENTITY, field ‘name’
@BulkId
int Optional
InputOutput
Transfer request bulk_id – see remarks under Table EcENTITY description
use NULL value to create a first EcENTITY row;
the procedure creates a new bulk_id value and passes it back
for writing next EcENTITY rows (within one bulk) use the value which this procedure returned in this parameter when writing the first EcENTITY row
@EnClassID
nvarchar(10)
Optional
Input
Entity type
if omitted, ‘ITEM’ value is used
RetValue
bigint
ReturnValue
EcENTITY.id inserted
The source code:
Last updated