Entering an item on a sales order - NAV 2013

Hi,

We are building our nav 2013 database from scratch and am in the testing/building phase. I have created a few customer and a few stock items. I am now trying to raise a sales order but am hitting this message when I go to enter the item on the sales line:

‘TYPE MUST BE EQUAL TO ‘G/L ACCOUNT’ IN SALES LINE:DOCUMENT TYPE=ORDER, DOCUMENT NO.=SOR000002 LINE NO.=0. CURRENT VALUE IS ITEM’

I have got stock of the item in and have checked all the inventory posting groups/posting groups and they are all filled in and seem to be correct. Strange as we were able to put stock lines on the other day but now I get this error with every item and every customer.

The Line type is set to ‘item’ and then when I try and select an item I get that error message.

any thoughts/ideas?

Do you have your GENERAL POSTING SETUP entered, this may be what is triggering the error if you do not have all of these fields filled in with your g/l account number.

Hi,

Do you have ay customizations in your database. can you please debug and show the code that is causing this…?

Anil.

Yes I have tripled checked the GENERAL POSTING SETUP and all codes are completed. We are still using NAV 2009 and are upgrading, I am testing things for users though before anything happens. Although we have been left to build the company up so we can see what we need/use (which is fine) except for all the error messages!!

I have checked the General posting setup and all fine there.

Anil - no customizations, we are simply building a shell company from scratch. Not quite sure what you mean by debug and show the code that is causing this?

I think This is customized message and not a standard message .

Check the same Cronus database

Hi there,

I had this error myself today, and I did the debug to see where the error was triggered

The error in my situation, with the exact same message, was that I had set the ‘VAT Posting Group’ > ‘VAT Calculation Type’ to ‘Full VAT’ instead of '‘Normal VAT’. The ‘Full VAT’ is only valid witn line of the type of ‘G/L Account’.

I changed from ‘Full’ to ‘Normal’, and everything works fine.

I hope this is the case for you to :slight_smile:

Espen