Please enable JavaScript to view this site.

Deletes one or more records of a file

 

 

* [DICT] filename

string

 

 

File name containing the records to be deleted. Append "DICT" if records are in a dictionary.

 

* recordIds

string

 

 

The list of record keys, separated by the Record Separator character (30) : LinkarCommon.ASCII_Chars.RS.
If empty, use the deleteOptions parameter below.

originalRecords

string

 

 

Original records for Optimistic Lock verification, separated by the Record Separator character (30) : LinkarCommon.ASCII_Chars.RS.

 

deleteOptions

See below

 

 

 

 

DeleteOptions provides details about how the delete operation(s) will be done.

outputStringType

 

 

 

 

Format of the data received in response to delete operations : MV, XML or JSON.

customVars

string

 

This is a free text field to send in the transaction. If not empty, subroutine SUB.LK.MAIN.CONTROL.CUSTOM will be called. Add custom code to that subroutine to define special behaviours for some or all transactions.

receiveTimeout

Numeric

 

-1

0

 

This is the maximum time in seconds that the client will wait for a response. Use 0 for no timeout. This is a function-specific override : -1 in a Persistent function defaults back to the timeout defined in the LinkarClt constructor.

 

deleteOptions. Contains the options for Delete function

 

optimisticLockControl

 

boolean

false

checks out if the file has not been modified by another user

recoverRecordIdTypeLinkar

 

See below

null

code recovering options

recoverRecordIdCustom

 

boolean

false

indicates if the code must be recovered

 

recoverRecordIdTypeLinkar. Contains the options for the recovery of codes from Delete function

 

active

 

boolean

false

activates the Linkar type code recovery

prefix

 

string

 

the code prefix

separator

 

string

 

the separator between the prefix and the code. The allowed separators list is: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~