Hello,
i have a problem with a screen that i have made,
when the table has zero records and i try to insert a record this error appears.

but when there is one or more records in the table, the insert happens successfully.
Appreciate your feedback.
Hello,
i have a problem with a screen that i have made,
when the table has zero records and i try to insert a record this error appears.

but when there is one or more records in the table, the insert happens successfully.
Appreciate your feedback.
Best answer by Naveen Boga
And, here is the sample DAC field.
#region TESTID
[PXDBString(30, IsKey = true, IsUnicode = true, InputMask = "")]
[PXDefault()]
[PXUIField(DisplayName = "TEST ID", Required = true)]
[PXSelector(typeof(Search<MySetup.TransferNbr>), typeof(MySetup.TransferNbr), typeof(MySetup.description), typeof(MySetup.isActive))]
public virtual string TransferNbr { get; set; }
public abstract class transferNbr : BqlString.Field<transferNbr> { }
#endregion
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.