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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Identify FIFO Layers used on Sales Invoices

(5) ShareShare
ReportReport
Posted on by 765
I am trying to figure out how to identify which FIFO layer(s) were used to create Cost of Goods Sold entries on Posted Sales Invoices.  I don't see any references in either the Value Entry table or the Item Ledger Entry table that links the FIFO Purchase Receipt Item Ledger Entry to the COGS entry.
 
Is there a way to do this?  I am being asked to provide information regarding the Purchase Receipt that was used to cost out the transaction and relieve the Inventory cost and qty.
 
Thanks.
I have the same question (0)
  • Suggested answer
    Valentin Castravet Profile Picture
    32,157 Super User 2026 Season 1 on at
    You need to go to the Item Ledger Entries, select the shipment line and then click on Entry -> Applied Entries. This will show you the specific purchase receipt applied to the shipment. 

     
  • ME-31032107-0 Profile Picture
    765 on at
     
    I can see how they are associated in the Applied Item Entries page, but cannot figure out how the 2 Item Ledger Entries are linked together in the table. I need to build some queries, and I figured there would be a field in the table that links them, but cannot determine how it works.
     
     
  • Suggested answer
    OussamaSabbouh Profile Picture
    12,878 Super User 2026 Season 1 on at
    Hello,
     
    There is no direct field linking two Item Ledger Entries. FIFO links are stored in Item Application Entry (Table 339), which connects the outbound ILE (sale) to the inbound ILE (purchase receipt) using Outbound Item Entry No. and Inbound Item Entry No.. For queries, you must join ILE → Item Application Entry → ILE. This is standard BC design and only reliable after Adjust Cost – Item Entries is run.
     
     
    Regards,
    Oussama Sabbouh
  • Verified answer
    Assisted by AI
    TAHER_El_Mehdi Profile Picture
    836 on at

    In standard Business Central, that linkage is recorded in Item Application Entry (the application history that pairs negative item entries—sales, consumption—with the positive entries—receipts, outputs, transfers—according to the item’s costing method and posting date/time).

    Below is a practical way to identify which FIFO layer(s) costed a posted sales invoice and to retrieve the purchase receipt(s) behind it.

    How FIFO cost layers are tracked


    • Cost layers are created by positive Item Ledger Entries (ILEs) (e.g., Purchase Receipt, Item Journal positive adj., Transfer Receipt, Production Output).
    • When you post a sale, Business Central creates a negative ILE. The system then applies that negative entry to one or more positive ILEs (FIFO = earliest remaining quantity first).
    • The applications (pairings, quantities) are stored in Item Application Entry.
      This is the authoritative link between your sale and the inbound cost layer(s).
  • Suggested answer
    Pallavi Phade Profile Picture
    5,420 Super User 2026 Season 1 on at
     
     
    You can check below tables Item Application Entry and Item Application Entry History which maintain logs
     
     
    Item Application Entry defines inbound entry no  and outboud entry  which will help the exact relation of Application . Inbound and Outbound Entry numbers are item ledger Entry Numbers only . You will get the information of cost applied and Quantity applied 
     
     
    Example
    1) Purchase receipt( Inbound) with sales Shipment ( Outbound)
    2) Sales Credit memo ( Inbound) with sales Shipment ( Inbound)
    3) ) Purchase receipt( Inbound) with undo purchase reeipt ( Outbound)
     
    Item Ledger Entry No is linked in Value Entry and based on which u can get queries .
     
     
    Hope this can give some hint for your query to proceed 
     
     
    Warm Regards
    Pallavi Phade 
    www.linkedin.com/in/pallaviphade131116

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,946 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,177 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 555 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans