From a Field Attribute

In DAC extensions, you have to refer to a custom field by its BQL name.

After you have added the UsrSearchKeywords field to the InventoryItemExtension class, which is a DAC extension for the InventoryItem class, the field is accessible in other DAC extensions.

For example, if you need to specify the type of the custom DAC field. For example, in attributes, you can use the typeof operator, as shown in the code below.

//The usrLocalTaxCategoryID custom field is defined
//in the InventoryItemExtension DAC extension for the InventoryItem class
[PXSelector(typeof(InventoryItemExtension.usrLocalTaxCategoryID))]