I gues you have to differ between overwrite in the classical oop and overwriting on a different layer. In Axapta, you can do the following:
Change the content of a method on a different layer (not recommed) or subclass a class and provide your own implementation in your overwritten method. In this case you can call the base implementation by calling "super". You also have to care, that you must instanciate an object of your newly implemented class in this case.
Here is the text from the developers guide:
override vs. overload
Overload
To provide more than one method with the same name but with different signatures to distinguish them.
Override
To replace the superclass's implementation of a method with one of your own. The signature must be identical.
Note
Only non-static methods may be overridden.
regards
Andreas Gahr
-----Urspr�ngliche Nachricht-----
Von: dgaethofs [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 26. Juli 2004 15:24
An: [EMAIL PROTECTED]
Betreff: [development-axapta] Override versus Overload
Dear all,
I have a question about the difference between override and
overload. In the developers guide one talks about the two as if they
are the same. But they are not.
Can we overload methods in Axapta ?
What exactly is meant with overloading in Axapta?
Regards,
Danny
Yahoo! Groups Links
| 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.

