Skip to main content
Answer

Error using Prepmt invoice Acumatica 24R1 "Sequence contains no elements"

  • March 5, 2025
  • 3 replies
  • 87 views

Forum|alt.badge.img

I’m just starting to use the Prepmt. Invoices to collect customer prepayments from the Sales Order. It all works perfectly until the moment I prepare the nomal Invoice and try to release it. The invoice status goes to “Open” but I get this error message:  "Sequence contains no elements".

The prepmt invoices remain unapplied.

Is it a bug or am I missing something in the setup.

Best answer by albertobello83

Hello,

I realized that the error is related to the Tax. If the tax is checked as “Pending Var”, Acumatica gets confused on the invoice relase beacuse of the prepayment invoices applied to the normal invoice.

You can avoid the problem by creating a not Pending VAT version of the tax. However, the user would have to manually change the tax category depending if he is creating Prepayment invoices or not.

There must be other way.

3 replies

Forum|alt.badge.img+12
  • Acumatica Support Team
  • March 6, 2025

Hi ​@albertobello83 

Please let us know the Version and build of your instance (Tools> About on right top corner gives this info)

Are there any customizations applied on either Payments and Application screen or Sales Order screen? 

Do check the result with Customization unpublished. Let us know the result.

Regards,


Forum|alt.badge.img
  • Author
  • Freshman II
  • March 6, 2025

Hi ​@vkumar,

My instance build is 24.114.0020

I unpublished all the customizations and try it again. But same error popped.

 


Forum|alt.badge.img
  • Author
  • Freshman II
  • Answer
  • March 6, 2025

Hello,

I realized that the error is related to the Tax. If the tax is checked as “Pending Var”, Acumatica gets confused on the invoice relase beacuse of the prepayment invoices applied to the normal invoice.

You can avoid the problem by creating a not Pending VAT version of the tax. However, the user would have to manually change the tax category depending if he is creating Prepayment invoices or not.

There must be other way.