This document describes the PX1022 diagnostic.
Code | Short Description | Type | Code Fix |
---|---|---|---|
PX1022 | The non-public graph and DAC extensions are not supported. | Error | Available |
You can declare a class that is a graph extension. The Acumatica Customization Platform recognizes only public graph or DAC extensions.
To fix the issue, you can make the graph extension public.
The code fix replaces the current accessibility modifier with the public
key word in the class declaration and, in case of nested types, in all containing non-public type declarations.
namespace PX.Objects.AR
{
class ARPaymentEntry_Extension : PXGraphExtension<ARPaymentEntry> // The PX1022 error is displayed for this line.
{
}
}
namespace PX.Objects.AR
{
public class ARPaymentEntry_Extension : PXGraphExtension<ARPaymentEntry>
{
}
}