web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

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

posting purchase invoice with allocation account lines

(1) ShareShare
ReportReport
Posted on by 22
Hi everyone,
On BC on cloud, I have an approval workflow for purchase invoices. The workflow brings the purch. invoices to the status /released/ when they are approved. Then I have the standard batch report for posting the purch. invoices with status /released/ which runs in the job queue.
 
For purch. invoice with allocation account lines, I get the following error msg:
 
 
I have to stop the approval workflow and reopen the invoice in order to succesfully post it.
Would anybody know why it is not possible to post an approved purch. invoice in the status /released/ ?
 
Thank you and best regards,
I have the same question (0)
  • Suggested answer
    Gerardo Rentería García Profile Picture
    23,574 Most Valuable Professional on at
    posting purchase invoice with allocation account lines
    Hi
    This happens because it must recreate the purchase lines, and since it must create new purchase lines, it performs a standard validation to verify that the document is open.
     
    It seems like a bug to me, I have not been able to find if there is any validation that skips it, with some coding so that this verification by code can be skipped could be analyzed.
    Best regards
    Gerard
  • KasparsSemjonovs Profile Picture
    4,661 Super User 2025 Season 2 on at
    posting purchase invoice with allocation account lines
    If system needs to have Document Open - it means, it is trying to do some changes in the document. And if You try to post it, but system will do some changes before posting - it is really weird - that You don't know what will actually be posted.
    Please re-check Your approval workflow - is it ok ? 
     
    And if this is just for Allocation Account lines - how are You entering these? Have You done any customization there?
  • TJ-13051939-0 Profile Picture
    22 on at
    posting purchase invoice with allocation account lines
    Hi All
     
    Were we able to find a workaround without updating the code or has Microsoft responded to be working on further updates for this?
     
    Would appreciate your feedback in this matter. Its an audit client so trying to find the best approach with adding custom code. 
     
    Thank You

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,237

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 3,425

#3
Sumit Singh Profile Picture

Sumit Singh 2,907

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans