Skip to main content
Solved

Is 'Notes' a reserved column name?


darylbowman
Captain II
Forum|alt.badge.img+13

I just spent an hour and a half troubleshooting an issue with a persisted string field defaulting to zero (0) and not allowing updates to it.

It seems there was an issue with column name ‘Notes’.

There is nothing detailed here about ‘Notes’ being a reserved column name; only ‘NoteID’.

 

Is this a bug in 22.209.0029?

Best answer by vardan22

I did some research and discovered that the word Notes is reserved and used in parts of the web UI controls.
Look at the screenshot below:



The "string field defaulting to zero (0)" text makes me think that this is due to PXGridRow

 

By the way, looks like the word "Files" is also reserved.

View original
Did this topic help you find an answer to your question?

5 replies

Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

Hi @darylbowman,

From my testing in 22R209 using Sales Order and Shipments screens, I wasn’t able to reproduce the issue. I was able to create a Custom field UsrNotes and was able to save/retrieve the values without any issues.

Can you please share more details like, steps to reproduce, is the issue specific to screens, or share a customization package using which we could reproduce the issue? 

Thanks,


darylbowman
Captain II
Forum|alt.badge.img+13
  • Author
  • 1712 replies
  • November 28, 2023

Hey @Vignesh Ponnusamy,

The table was entirely custom, therefore the column name was ‘Notes’, not ‘UsrNotes’.

Here’s the field definition:

#region Notes
[PXDBString(2000, IsUnicode = true, InputMask = "")]
[PXUIField(DisplayName = "Notes")]
public virtual string Notes { get; set; }
public abstract class notes : PX.Data.BQL.BqlString.Field<notes> { }
#endregion

 


darylbowman
Captain II
Forum|alt.badge.img+13
  • Author
  • 1712 replies
  • November 30, 2023

I'm now a little confused because in the same package were other custom tables with 'Notes' columns that have no issues, but for whatever reason, renaming the column to 'Note' fixed it and changing it back to 'Notes' broke it once more.


vardan22
Jr Varsity III
Forum|alt.badge.img+1
  • Jr Varsity III
  • 44 replies
  • Answer
  • November 30, 2023

I did some research and discovered that the word Notes is reserved and used in parts of the web UI controls.
Look at the screenshot below:



The "string field defaulting to zero (0)" text makes me think that this is due to PXGridRow

 

By the way, looks like the word "Files" is also reserved.


darylbowman
Captain II
Forum|alt.badge.img+13
  • Author
  • 1712 replies
  • November 30, 2023

Thanks @vardan22 

I wouldn't have thought to look there, but that makes sense.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings