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

Notifications

Announcements

Community site session details

Community site session details

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

Posted purchase invoice lines do not match project ledger entries

(6) ShareShare
ReportReport
Posted on by 12
Hi,
 
Not sure if this is something that has changed with the latest update - as it has never happened to us before - or some kind of user error.
 
We use Projects/Jobs and entered a Project No against purchase invoice lines. When the invoice was posted the lines on the purchase invoice:
 
Quantity Unit of Measure Code Direct Unit Cost Excl. VAT Unit Price (LCY) Line Discount % Line Amount Excl. VAT Project No.
125. PCS 4.36 0.00 0. 545.00 J156014
138. PCS 0.48 0.00 0. 66.24 J156014
48. PCS 0.48 0.00 0. 23.04 J156014
 
Don't match the Project Ledger Entries:
 
Project No. Quantity Unit Cost Unit Cost (LCY) Total Cost Total Cost (LCY)
J156014 48. 0.48 0.48 23.04 23.04
J156014 138. 66.24 66.24 9,141.12 9,141.12
J156014 125. 545.00 545.00 68,125.00 68,125.00
 
It seems to be that the total amount from purchase invoice line has been used as the unit cost in the Project Ledger Entries for some lines but how can that be? How can I stop this happening again?
 
Kind Regards, Helen
I have the same question (0)
  • Suggested answer
    Holly Huffman Profile Picture
    6,544 Super User 2025 Season 2 on at
    Good morning, afternoon, or evening depending on your location :)
    Hope you are well today!
     
    I see this post was from a while ago - so hoping you've resolved already - but incase not :)
     
    Based on your description and the data provided, it looks like you're encountering a mismatch between the Posted Purchase Invoice Lines and the resulting Project Ledger Entries, specifically when assigning a Project No. to the invoice lines.
    Observations
    • The purchase invoice lines show all three lines (125, 138, and 48 PCS) with correct quantities and amounts.
    • However, in the Project Ledger Entries, only the 48 PCS and 138 PCS lines are fully recorded.
    • The 125 PCS line appears in the ledger, but without any cost values.
     
    Possible Causes
    1. Missing or Incorrect Cost Allocation:
      • If the Unit Cost or Line Amount was not properly calculated or linked to the project during posting, the ledger entry may be created without cost.
    2. Posting Setup or Job Integration Issue:
      • Check the Job Posting Setup and General Posting Setup to ensure the correct accounts and cost flows are defined.
      • Ensure the Job Usage Link is enabled for the item or resource type used.
    3. Rounding or Currency Conversion Errors:
      • If the amounts are very small or involve currency conversion, rounding issues may cause the system to skip or zero out the cost.
    4. Recent Update Behavior Change:
      • If this behavior started after a recent update, it may be due to a change in how Business Central handles project cost posting from purchase documents.
    Recommended Actions
    • Review the Posting Preview before posting similar invoices to see if the cost is being applied to the project.
    • Check the Job Ledger Entries and Value Entries for the item to see if the cost was posted elsewhere.
    • Enable Debug Logging or use the Debugger to trace the posting process.
    • If reproducible, try posting a test invoice with the same data in a sandbox environment.

    Note: I collaborated with Copilot to help craft this response for clarity and completeness.
    Hope this helps some!
  • Suggested answer
    Jeffrey Bulanadi Profile Picture
    8,762 on at

    Hi Helen,

    Thanks for sharing the screenshot, it really helps clarify the mismatch between your purchase invoice lines and the resulting Project Ledger Entries. You're absolutely right to question why the unit cost in the ledger entries appears inflated it looks like the total line amount was posted as the unit cost instead of being divided by quantity.

    Here’s what’s likely happening and how to prevent it:

     

    1. Check the Line Type and Cost Allocation Logic
    If the purchase invoice line is linked to a G/L Account or Charge Item, and not an actual Item, Business Central may treat the full line amount as a lump-sum cost and apply it directly to the project—without dividing by quantity.

    • This can result in the Total Cost being correct, but the Unit Cost appearing inflated because it equals the full line amount
    • It’s especially common when using Resources, G/L Accounts, or Fixed Assets on purchase lines
     

    2. Review the Job Cost Posting Setup
    Go to Jobs Setup and check the Job Posting Group assigned to the project. If the posting group is configured to post Total Cost without calculating Unit Cost, this behavior is expected.

    • You can adjust the posting group to ensure Unit Cost = Total Cost ÷ Quantity
    • Also confirm that the Job Task Type is set correctly—some types default to lump-sum posting
     

    3. Validate the Line Details Before Posting
    Before posting the invoice, open the Statistics page or use Preview Posting to confirm how costs will be distributed.

    • If the Unit Price is zero and only Line Amount is populated, BC may assume a lump-sum cost
    • Make sure Direct Unit Cost and Quantity are both filled in accurately
     

    Here’s a helpful link showing how to configure purchase invoice lines and job cost posting behavior:

    Record purchases with purchase invoices – Microsoft Learn
    Correct Posted Purchase Invoices – CloudFronts
    Job Costing and Ledger Entries – Dynamics 365 Lab


    If you find this helpful, feel free to mark this as the suggested or verified answer.

    Cheers
    Jeffrey

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,651

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 808 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 718 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans