Code Editor
Page ID: (AU204000)
On this page, you can develop, view, and edit the customization code that has been added to the project. The name that appears on the page is Code Editor: followed by the object name of the Code item whose code you are viewing.
Page Toolbar
The page toolbar includes standard and page-specific buttons and commands. For the list of standard buttons, see Page Toolbar. The page-specific commands are listed in the following table.
Button | Description |
---|---|
Move to Ext. Library |
Launches the operation that converts the current Code item into a file of customization code, adds the file to the extension library project in Microsoft Visual Studio, and removes the item from the customization project. See the To Move a Code Item to the Extension Library for details. Note:
The customization project must be bound to an existing extension library
project in Visual Studio before you click the Move to Ext.
Library button. See Customization Project Editor for
details. |
New Action |
Opens the Create Action dialog box, which you can use to create a code template for a new action. |
Open Screen |
Opens the form bound to the business logic controller if you are editing the customization code of the business logic executed for a form. |
Override Method |
Opens the Select Methods to Override dialog box, which you can use to select multiple virtual methods of the business logic controller (BLC) to override. |
View Source |
Opens the Source Code Browser (see Source Code) with the original source code of the BLC if you are editing the customization code of the business logic executed for a form. |
Element | Description |
---|---|
Action Name |
The name of the action delegate method. |
Display Name |
The name of the action that will be displayed on the applicable MYOB Acumatica form. |
This dialog box has the following buttons. | |
OK |
Adds the template of the action declaration to the graph extension and closes the dialog box. |
Cancel |
Closes the dialog box without any changes. |
Column | Description |
---|---|
The table in the dialog box contains the following columns. |
|
Selected |
A check box that you select to indicate that the virtual method will be overridden in the BLC extension. |
Type |
The identifier of the class type that contains the declaration of the virtual method. |
Method |
The signature of the virtual method. |
This dialog box has the following buttons. | |
Save |
Adds to the graph extension a template of an overridden method for each method selected in the table. |
Cancel |
Closes the dialog box without any changes. |
Source Code Pane
You use the Source Code pane of the Code Editor page to view and edit the code for the Code item that you opened from the navigation pane or the Code page.