Хочу перекрыть метод lookup и при нажатия на стелку чтобы появилась таблица СustTable , делаю все как показано ниже и при нажатии Axapta вырубается !
-  In the AOT, click Forms, and then locate a form that you want to add a lookup form to.
 
- Click the form, and then click Designs > Design.
 
- Add one of the following types of controls that support a lookup form:
 
- DateEdit
 
- GuidEdit
 
- Int64Edit
 
- IntEdit
 
- RealEdit
 
- StringEdit
 
- TimeEdit
 
- For more information about form controls, see Create Form Controls.
 
- Right-click the control, click Properties, and confirm that the LookupButton property is set to Auto.
 
- Click the control, right-click Methods, click Override Method, and then click Lookup.
The code editor appears. 
- Call the performDBLookup or performTypeLookup member method of one of the following classes:
FormDateControl 
FormGuidControl 
FormInt64Control 
FormIntControl 
FormRealControl 
FormStringControl 
FormTimeControl 
In the following example, a field ID and a table ID are passed to the performDBLookup method to display the table field when a user clicks the lookup button.
public void lookup() 
{ 
FormStringControl formStringControl; 
; 
formStringControl = element.design().controlname("myControl2"); 
formStringControl.performDBLookup(4,77); 
}