Getting Error : Invalid Column NoteId

假如想象 提交于 2020-01-17 07:09:43

问题


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

`


回答1:


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



来源:https://stackoverflow.com/questions/44680632/getting-error-invalid-column-noteid

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!