I am trying to insert/create a record in the table AM. But it gives me an exception as below,
"Violation of PRIMARY KEY constraint 'AM'. Cannot insert duplicate key in object 'dbo.AM'. The duplicate key value is (0). The statement has been terminated."
This issue is because in Assign block I am assigning a few values as below, but id of the record is 0 always and its therefore unable to create a record.