Customized Data Classes

Page ID: (AU203001)

On the Customized Data Classes page, you manage the DAC items in the customization project. A DAC item contains data in XML format used by the platform to create an appropriate extension for the original data access class (DAC).

Tip:
You open the Customized Data Classes page by clicking Data Access in the navigation pane of the Customization Project Editor.

You cannot create a custom data access class on this page. Instead, you have to use the Code page of the editor. Custom DACs are added to the project as Code items. See To Create a Custom Data Access Class for details.

Page Toolbar

The page toolbar includes standard buttons and page-specific buttons and commands. For the list of standard buttons, see Page Toolbar. The page-specific commands can be shown as buttons on the page toolbar, as commands on the More menu, or in both places. These commands are listed in the following table in alphabetical order.

Button Description
Add New Record

Opens the Select Existing Data Access Class dialog box, in which you select the data class and then click OK.

Convert to Extension

Converts the class changes into the class extension code used to complete the extension development in either the Code Editor or Microsoft Visual Studio.

Edit

Opens the Data Class page for the DAC you have selected in the table (by clicking it before clicking this button).

Upgrade All

Launches the upgrade wizard, which processes all the project items of the DAC and Code types to discover and update the following cases of DAC customization based on the Microsoft Intermediate Language (MSIL) injection technology:

  • A field of a data access class does not contain the StorageName attribute, which specifies the storage type of the field.
    Note:
    In the MYOB Acumatica Customization Platform, you must select the way a custom field will be stored in the database when you add the field to a data access class.
  • The code contains a direct reference to a custom field of a row.
  • The code contains a direct reference to an abstract class of a DAC field.

Table

This table contains the list of customized data classes and the basic settings of each of them. When you click the link in the Name column, the Data Class Editor page for the class is opened. The table contains the following columns.

Column Description
Name

The name of the customized data class.

Class Name

The full class name.

DB Table

The name of the database table that contains the class.