error : cannot create a record

how to solve this error, can any one help

Cannot create a record in XLine (X_Line).
The record already exists.

Hi,

Before inserting the record in to your Table, check the record is existed or not, if not insert the record else skip the loop.

Thanks,

Valeru.

It seems there is a voilation of an unique index definition while insertion… Please investigate the reason for the same.

check if there is any indexex which was set to your table where you are inserting the data.if index is there that may be the violation of index. if index is not necessary to your table then remove that and try again.

it may be work…:slight_smile:

check if there is any indexex which was set to your table where you are inserting the data.if index is there that may be the violation of index. if index is not necessary to your table then remove that and try again.

it may be works…:slight_smile:

HI All,

Thanks for your timely reply… its working… i removed the unwanted index from the table level… and now its working .