This document describes the PX1024 diagnostic.
Code | Short Description | Type | Code Fix |
---|---|---|---|
PX1024 | The DAC class field must be abstract. | Error | Available |
The class fields of DACs must be public abstract
classes.
The code fix adds the abstract
modifier to the DAC class field.
public class APInvoice : PXBqlTable, IBqlTable
{
#region BranchID
public class branchID : IBqlField // The PX1024 error is displayed for this line.
{
}
[PXDBInt]
public virtual int? BranchID { get; set; }
#endregion
}
public class APInvoice : PXBqlTable, IBqlTable
{
#region BranchID
public abstract class branchID : IBqlField
{
}
[PXDBInt]
public virtual int? BranchID { get; set; }
#endregion
}