Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9224953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:27:26+00:00 2026-06-18T04:27:26+00:00

I have a strange problem with a script that is performing some inserts into

  • 0

I have a strange problem with a script that is performing some inserts into a SQL Server table. It has been working fine until today but now it fails every time, however no changes have been made to the code.

It returns the error

Cannot insert the value NULL into column ‘IRS VAT Prod_ Posting Group’, table ‘NAV_2009_Test.dbo.TEST Pxx 2011$Interface Invoice’; column does not allow nulls.

As you can see, the [IRS VAT Prod_ Posting Group] column should be inserted with VAT – no column is null at all.

I tried changing the column to allow NULLS to see what would happen, but this made no difference.

This is my SQL statement :

INSERT INTO dbo.[TEST Pxx 2011$Interface Invoice] (
    [Entry Type],
    [Entry ID],
    [Reservation Contract],
    [Date],
    [Residential No_],
    [Gast Nr],
    Gastbezeichnung,
    [Moveware Customer No_],
    [Account No_],
    [Residential Cost Type],
    Description,
    Verrechnungsart,
    [Invoicing interval],
    Quantity,
    [Unit Price],
    Amount,
    [VAT Prod_ Posting Group],
    [Last Invoicing],
    [Next Invoicing],
    [Special Event],
    [Increase %],
    [Cost Unit],
    [Area Code],
    [From Date],
    [To Date],
    Address,
    [Post Code],
    City
)
VALUES
    (
        1,
        '590313',
        '1055',
        '2013-01-28',
        '',
        '1062',
        N'Jan Kling',
        '100127',
        '3030',
        '1',
        N'Sideboard ',
        '1',
        '1',
        '1',
        '17',
        '17',
        'VAT',
        '01-01-1753 00:00:00:000',
        '01-01-1753 00:00:00:000',
        '-',
        '0',
        '321',
        '',
        '2012-09-03',
        '2012-09-10',
        N'Zehnderweg 31',
        '4600',
        N'Olten'
);

As I said, no changes have been made to the code and so I am wondering if something could have gone awry on the server.

Can anyone shed any light?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:27:28+00:00Added an answer on June 18, 2026 at 4:27 am

    The column IRS VAT Prod_ Posting Group is not mentioned at all in your insert query. It’s likely that this column is NOT NULL and has no default value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've run into a strange problem with Ruby that I can't explain. I have
I've run into a rather strange problem. I have a div that is rotatable
I have a strange problem getting the color of the point that was touched.
I have a strange problem with integrating a ViewController into another ViewController . i
I have a strange problem. I do this query in a node.js server using
I have a bit of strange problem on this page: http://www.bluprintliving.com/locations it seems that
I have a couple of stored procedures on SQL Server 2005 that I've noticed
I am having a strange problem with PHP and a C script that uses
I have run into a strange problem with git and zip files. My build
I've faced with a strange problem in ASP.net/SQL Server and really can not find

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.