Skip to main content
Answer

Cannot insert the value NULL into column 'NoteID', table dbo.SyncTimeTag'

  • December 13, 2021
  • 7 replies
  • 916 views

Forum|alt.badge.img

I’m creating a production Order through the processing screen where it doesn’t have a SyncTimeTag table used. when i create any transaction manually from the screen its saves a record with the note id in  SyncTimeTag table. So, while creating a production order an error throws like Cannot insert the value NULL into column 'NoteID', table 'DB.dbo.SyncTimeTag'; column does not allow nulls. INSERT fails.The statement has been terminated.

Best answer by harikanthm60

I was using  PXTimeTagAttribute in the  DAC NoteID field [PXTimeTagAttribute(typeof(TSProdOrder.noteID))]
when i comment this its resolved the issue.
Thanks.

7 replies

vivekm
Varsity II
Forum|alt.badge.img
  • Varsity II
  • December 13, 2021

Hi @harikanthm60 

If you are working with any customization package(s), can try by unpublishing all packages, then publishing all the packages again and check.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • December 13, 2021

Hi @harikanthm60  I also faced this issue long back, and this is intermittent issue.

Once you restarted the server (IIS) that issue was gone and again did not see that issue.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • December 13, 2021

Here the reference I posted long back this question.

 


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • December 13, 2021

@Naveen B  I have did IIS reset through command prompt an tried even though got the same issue.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • December 13, 2021

Hi @harikanthm60  This is default Acumatica table, nothing to do with any fixes here.

I recommend you to raise a support ticket with Acumatica after below verification is compelted.

  • Have you unpublished your customization and also observing the same issue?

Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • December 15, 2021

@vivekm  as you suggested unpublised all the packages and published again and checked even though not resolved.

 


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • Answer
  • December 15, 2021

I was using  PXTimeTagAttribute in the  DAC NoteID field [PXTimeTagAttribute(typeof(TSProdOrder.noteID))]
when i comment this its resolved the issue.
Thanks.