Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Prepayment post invoice

(1) ShareShare
ReportReport
Posted on by 6
Dear all,
 
I have created a sales order with prepayment. The prepayment has been posted, paid and sales order has been released and delivered. Then i would like to post the invoice, but then i got the following message:

"Quantity must not be less than 0 in Sales Line" 
 
Could you please help me, thanks a lot.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,148 Super User 2024 Season 2 on at
    Prepayment post invoice
    It looks like there might be a customization issue. 
    PS: Dynamics 365 Business Central: The difference between Record.Validate() Method and assignment statement
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 24,961 Super User 2024 Season 2 on at
    Prepayment post invoice
    What value do you have in the Quantity field? 
  • Ramiz Profile Picture
    Ramiz 344 on at
    Prepayment post invoice
    Hi,

    I would suggest you to debug it.
  • MS-28080759-0 Profile Picture
    MS-28080759-0 6 on at
    Prepayment post invoice
    Please see the below:
     
    The line no. for the item is 1000 
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 24,961 Super User 2024 Season 2 on at
    Prepayment post invoice
    Can you post a screenshot of the sales order line?
     
  • Suggested answer
    Jun Wang Profile Picture
    Jun Wang 7,454 Super User 2024 Season 2 on at
    Prepayment post invoice
    you need to check the qty to invoice field on your sales order. It is possible this sales order has been shipped and invoiced by someone.
    You could take a look at the invoices from the sales order if this is the case. If not, you could fill out the qty on that field and post. 
  • MS-28080759-0 Profile Picture
    MS-28080759-0 6 on at
    Prepayment post invoice
     Thanks for the reply. I did only "ship" and then when I try to invoice, the error message comes up
  • Suggested answer
    Umut Dogan Koc Profile Picture
    Umut Dogan Koc 87 on at
    Prepayment post invoice
    Hello,
     
    How did you deliver the order? Did you "Ship" only or "Ship&Invoice" ? Main invoice should already being posted if "Ship&Invoice" selected as posting option. If only shipped, you can crate a new sales invoice and use "get shipment lines function".

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans