This document describes the PX1022 diagnostic.
Code | Short Description | Type | Code Fix |
---|---|---|---|
PX1022 | The non-public graphs, DACs, graph and DAC extensions are not supported. | Error | Available |
Acumatica Platform recognizes only public graphs, DACs, DAC and graph extensions.
To fix the issue, you should make your graphs, DACs, graph and DAC extensions 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
{
internal class ARPayment : PXBqlTable, IBqlTable // The PX1022 error is displayed for this line.
{
...
}
}
namespace PX.Objects.AR
{
public class ARPayment : PXBqlTable, IBqlTable
{
...
}
}
namespace PX.Objects.AR
{
internal class ARPaymentEntry : PXGraph<ARPaymentEntry> // The PX1022 error is displayed for this line.
{
}
}
namespace PX.Objects.AR
{
public class ARPaymentEntry : PXGraph<ARPaymentEntry>
{
}
}
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>
{
}
}
Graph Declaration Data Access Classes Graph Extensions DAC Extensions