I added a new field of type PXNoteAttribute to the DAC to enable file attachment. i.e
#region NoteID
public abstract class noteID : PX.Data.IBqlField { }
protected Guid? _NoteID;
[PXNote()]
public virtual Guid? NoteID { get ; set ; }
#endregion
On testing I got the following error
what could be the issue?
Kindly assist. Thank you all.
Best answer by Naveen Boga
Hi @development93 I just tried this and I can able to upload the files for the Bidding GRID.
Here are the steps.
Extend the RQBiddingVendor and add the NoteID field
Extend the RQBiddingVendor DAC and add the NoteID field. public class RQBiddingVendorExt : PXCacheExtension<RQBiddingVendor>
{
#region Noteid
[PXNote()]
public virtual Guid? NoteID { get ; set ; }
public abstract class noteID : PX.Data.BQL.BqlGuid.Field<noteID> { }
#endregion
}
And add the FileIndicator = true for the Bidding GRID After performing the above steps, NOTES field will be enabled and able to upload the files.
View original