Marcin Krzyzanowski
11/28/2005 10:11:00 AM
Søren Graversen napisaÅ?(a):
> Hi.
>
> I need to move many objects from USR to VARlayer of a new Axaptainstallation
> - and I want to keep/transfer the createdBy, creationDate, createdTime,
> Changedby, ChangedDate & ChangedTime information.
>
> I have tried with the get/setproperties method on the treenode object - but
> it seems that there is no access to these properties.
>
> I have also tried with the utilElements like this:
>
> ttsbegin;
> utilelements.overwriteSystemFields(true);
> select forupdate utilelements where utilelements == bla bla bla
> utilelements.(FieldNum(utilElements, createdBy)) = 'SSS';
> utilElement.doUpdate();
> ttscommit;
>
> Any suggestions???
You move just application, you database data keep untouched. While
export/import AOT please check field "Export with ID values", and import
with "Import with ID values" - it works quite good with axapta 3.0. You
ID values won't change, so you shouldn't need event synchronization
process after this.