Getting Error : Invalid Column NoteId

2019-08-20 08:48发布

I have requirement to add Image for each serial number.

I have extended the INItemLotSerial and added ImageUrl & NoteID field

[PXTable(typeof(INItemLotSerial.inventoryID),
 typeof(INItemLotSerial.lotSerialNbr),
 IsOptional = true)]
public class InfoINItemLotSerialExtNV : PXCacheExtension<INItemLotSerial>

The DAC Having the following code for NoteID

#region NoteID
    public abstract class noteID : PX.Data.IBqlField
    {
    }
    protected Guid? _NoteID;
    [PXNote]
    public virtual Guid? NoteID
    {
        get
        {
            return this._NoteID;
        }
        set
        {
            this._NoteID = value;
        }
    }
    #endregion

while saving the Purchase receipt document after entering serial numbers, I am getting error Invalid Column : NoteID

`

标签: acumatica
1条回答
看我几分像从前
2楼-- · 2019-08-20 09:20

Currently, PXNoteAttribute do not support extension tables, so your only option is use a regular extension for the INItemLotSerial DAC over an extension table.

查看更多
登录 后发表回答