Send and run method in MSD axapta


Run
Run() is called when the OK button is pressed in the dialog. Run() performs the following steps:
If no generated design exists, a design is created on the fly based on the auto design.
Call fetch()
Call print()
The method can be used for addingranges to the query after the Based On settings in the dialog


Send
Send() is related to fetch(). Fetch() iterates through the query records, and send() sends the records to the design. The method can be overridden to validate whether or not the record should be printed.