本文介绍了出现错误:无效的列NoteId的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要为每个序列号添加图像。

I have requirement to add Image for each serial number.

我扩展了INItemLotSerial并添加了ImageUrl& NoteID字段

I have extended the INItemLotSerial and added ImageUrl & NoteID field

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

DAC具有NoteID的以下代码

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

同时保存购买收据输入序列号的文档后,出现错误无效列:NoteID

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

`

推荐答案

当前,PXNoteAttribute不支持扩展表,因此您唯一的选择是在扩展表上对INItemLotSerial DAC使用常规扩展。

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

这篇关于出现错误:无效的列NoteId的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 20:57