Hello-
I’ve created a custom screen where auto numbering is used. When I access the screen I get the following message.

The DAC for the AutoNumber field is below.
[Serializable]
[PXCacheName("PinnATWDW1")]
public class PinnATWDW1 : IBqlTable
{
#region RefNbr
[PXDBString(15, IsKey = true)]
[PXUIField(DisplayName = "Ref Nbr")]
[PXSelector(typeof(PinnATWDW1.refNbr), typeof(PinnATWDW1.refNbr), typeof(PinnATWDW1.hMRCWarehouse), typeof(PinnATWDW1.period))]
[PXDefault(PersistingCheck = PXPersistingCheck.NullOrBlank)]
[AutoNumber(typeof(PinnATWDSetup.w1NumberingSequence), typeof(PinnATWDW1.createdDateTime))]
public virtual string RefNbr { get; set; }
public abstract class refNbr : PX.Data.BQL.BqlString.Field<refNbr> { }
#endregion
...other fields...It has a child table, the DAC for the key fields are below.
[Serializable]
[PXCacheName("PinnATWDW1Line")]
public class PinnATWDW1Line : IBqlTable
{
#region RefNbr
[PXDBString(15, IsKey = true)]
[PXUIField(DisplayName = "Ref Nbr")]
[PXDBDefault(typeof(PinnATWDW1.refNbr))]
[PXParent(typeof(SelectFrom<PinnATWDW1>.Where<PinnATWDW1.refNbr.IsEqual<PinnATWDW1Line.refNbr.FromCurrent>>))]
public virtual string RefNbr { get; set; }
public abstract class refNbr : PX.Data.BQL.BqlString.Field<refNbr> { }
#endregion
#region ProductType
[PXDBString(20, IsKey = true, IsUnicode = true, InputMask = "")]
[PXUIField(DisplayName = "Product Type")]
public virtual string ProductType { get; set; }
public abstract class productType : PX.Data.BQL.BqlString.Field<productType> { }
#endregion
...other fields...
I have a custom preferences screen there I have set the number sequence code.

And a Numbering Sequence has been created.

This was working last week so I’m really confused. I’m not sure what the error message is trying to tell me and I don’t know how to fix this. Has anyone seen this before?