# Problems posting an invoice

**URL:** <https://www.dynamicsuser.net/t/problems-posting-an-invoice/58287>\
**Category:** User Forum\
**Created:** [August 10, 2015, 7:06pm UTC](https://www.dynamicsuser.net/t/problems-posting-an-invoice/58287 "2015-08-10T19:06:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SimonT](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SimonT](https://www.dynamicsuser.net/u/SimonT)\
**Post date:** [August 10, 2015, 7:06pm UTC](https://www.dynamicsuser.net/t/problems-posting-an-invoice/58287/1 "2015-08-10T19:06:17Z")

</div>

Hello Dynamics USer Forum.

I have just been setting up invoices. Ive posted 5 invoice without problems and suddenly i get this error when i try to post:

“Qty. to ship must be equal to ‘1’ in Sales Line. Current value is ‘0’.”

I have tried everything, but i really dont know what the system means by this, and how i can fix it. Just to make sure i have posted a screenshot of my problem below.

I really hope someone can help me :-/

 ![4035.problems posting an invoice.JPG](https://us1.discourse-cdn.com/flex023/uploads/dugusers/original/2X/0/0bead180048244038c0dd6bbf1ef7c6fb7f73a53.jpeg)

Best regards

Simon.

---

<div class="post-metadata">

**Author:** ![admin1](https://sea1.discourse-cdn.com/flex023/user_avatar/www.dynamicsuser.net/admin1/32/7476_2.png) [@admin1](https://www.dynamicsuser.net/u/admin1)\
**Post date:** [August 11, 2015, 11:32am UTC](https://www.dynamicsuser.net/t/problems-posting-an-invoice/58287/2 "2015-08-11T11:32:32Z")

</div>

Hi Simon,

It means that you have a problem. [;)]

Since you’re entering an invoice (not a sales order), then this field is not even visible (although still in the table).

What is different from this invoice and the other invoices? Different items?

I’m really not sure what could have caused it.

---

<div class="post-metadata">

**Author:** ![SimonT](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SimonT](https://www.dynamicsuser.net/u/SimonT)\
**Post date:** [August 11, 2015, 1:10pm UTC](https://www.dynamicsuser.net/t/problems-posting-an-invoice/58287/3 "2015-08-11T13:10:08Z")

</div>

Hello Erik.

Hmm, the item is the same, the credtior is the same, so i really dont know what is happening.

Just for “fun” i tried to post a sales creditnote:

If i just push the button “Post” i get the following error: “Method ‘Page44.a60Action61a62\_a45\_OnAction’ not found”

If i push the button “post and mail” i get the same error as in the sales invoices, though instead of “qty. to ship” it is “qty. to return” (“Antal til modtagelse” in danish).

Do you have any idea about what is causing the trouble?

If you have any ideas to solve it i would be very glad to hear :-/ . For the record: I dont care about the stocks. If there is a solution which dosent work with “stocks” its okay with me, because our items is not stock-items.

---

<div class="post-metadata">

**Author:** ![SimonT](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SimonT](https://www.dynamicsuser.net/u/SimonT)\
**Post date:** [August 11, 2015, 2:29pm UTC](https://www.dynamicsuser.net/t/problems-posting-an-invoice/58287/4 "2015-08-11T14:29:02Z")

</div>

Hello again.

I thin i found the solution to my problem. I was just “sniffing” around the system and came opon the “sales setup/configuration”. I noticed there was a field called “standard qty. to delivery”, It was set to “empty”. I changed it to “remaining” and that was the solution to my problem.

Anyway thank you very much for your time, Erik 🙂

---

<div class="post-metadata">

**Author:** ![admin1](https://sea1.discourse-cdn.com/flex023/user_avatar/www.dynamicsuser.net/admin1/32/7476_2.png) [@admin1](https://www.dynamicsuser.net/u/admin1)\
**Post date:** [August 12, 2015, 11:31am UTC](https://www.dynamicsuser.net/t/problems-posting-an-invoice/58287/5 "2015-08-12T11:31:36Z")

</div>

Happy to hear that you’ve found a solution. Didn’t actually think that this field had any relevans when using Invoices!  
If I were you, then I would report it as an error in NAV.

---

<div class="post-metadata">

**Author:** ![SimonT](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SimonT](https://www.dynamicsuser.net/u/SimonT)\
**Post date:** [August 14, 2015, 11:38am UTC](https://www.dynamicsuser.net/t/problems-posting-an-invoice/58287/6 "2015-08-14T11:38:09Z")

</div>

ok, i will definitly do. Thank u very much 🙂
