Skip to main content
Solved

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

  • Dec 13, 2021 10:28 AM UTC
  • 7 replies
  • 1033 views
  • Translate All

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.

View original

7 replies

vivekm
Varsity III
Forum|alt.badge.img
  • Varsity III
  • Dec 13, 2021 10:32 AM UTC

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.

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Dec 13, 2021 10:39 AM UTC

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.

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Dec 13, 2021 10:40 AM UTC

Here the reference I posted long back this question.

 

Translate

Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • Dec 13, 2021 10:53 AM UTC

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

Translate

Naveen Boga
Captain II
Forum|alt.badge.img+20
  • Captain II
  • Dec 13, 2021 11:08 AM UTC

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?
Translate

Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • Dec 15, 2021 9:23 AM UTC

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

 

Translate

Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • Answer
  • Dec 15, 2021 4:15 PM UTC

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

Translate