Subject Duplicating rows
Author Riho-Rene Ellermaa

I'm trying to use RowData for creating duplicate record (client selects old invoice and creates new one from that).
Duplication works OK, but I encountered couple of problems:

1. I'm using AfterInsert to fill in some fields (, statuses etc) and I also have generator for ID-s.
This function is called before I set RowData values, so I have to set ID and DOCNO manualy afterward. This means, that
my generator and document numbering systems loose one value. Can I disable generator and AfterInsert during duplication?

2. After duplication (query i still in Insert state) the new data whows ok on the grid, but TIB_Edit fields (etc.) are empty. They start showing values only when I click on them. Should I call some kind of method to get the values visible in Edit fields also?

Riho-Rene Ellermaa
senior programmer