Den 18. november 2004 09:19 skrev Jens Strandberg:
> My thoughts exactly. It is the same approach that we use in our
> current legacy system (developed in-house), so I have kind of figured
> that this would be the way to go.
>
> However, I was told that the "Rename" part is not available in any
> method, but is hidden inside Axapta. This "show stopper" is very
> effective... :-(
Try something like this (NOT tested):
Cust=CustTable::find(RenameToAccNo,true);
Cust.doDelete();
Cust=CustTable::find(RenameFromAccNo,true);
Cust.Account=RenameToAccNo;
Cust.renamePrimaryKey();
Can't remember if you need to do a ".write()" after renaming - but try it
out and see what happens.
Hilsen
S�ren
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

