FIFO costing does not working in case LOT functionality is used?

DarshanNAV
Member Posts: 4
Item Master: Item A
Item tracking for lot is selected and at warehouse level as well.
FIFO Method of costing
Inventory Setup:
Automatic cost posting: Yes
Expected Cost posting: Yes
Automatic Cost Adjustment: Always
Average Cost Calc. Type: Item & Location & Variant
Scenario
Step 1: Purchase on 01/07/16 of Item A, qty 10 PCS, unit cost as 1000/- and lot = LOT1, Location = MUMBAI.
Item Ledger Entry:
Cost (Actual) = 10,000/-
Step 2: Purchase on 02/07/16 of Item A, qty 10 PCS, unit cost as 2000/- and lot = LOT1, Location = MUMBAI.
Item Ledger Entry:
Cost (Actual) = 20,000/-
Step 3: Transfer from MUMBAI location to GURGAON location on 05/07/16 of Item A, qty 10 PCS, lot = LOT2.
Item Ledger Entry:
Cost (Actual) = 20,000/-
Step 4: Transfer from MUMBAI location to GURGAON location on 06/07/16 of Item A, qty 10 PCS, lot = LOT2.
Item Ledger Entry:
Cost (Actual) = 10,000/-
Step 5: Selling on 10/07/16 of Item A, qty 5 PCS and lot = LOT1, Location = GURGAON.
Item Ledger Entry:
Cost (Actual) = -5,000/-
Step 6: Selling on 10/07/16 of Item A, qty 4 PCS and lot = LOT2, Location = GURGAON.
Item Ledger Entry:
Cost (Actual) = -8,000/-
In this case FIFO costing is not working but instead it is specific.
Is this correct?.
Thanks,
Darshan
Item tracking for lot is selected and at warehouse level as well.
FIFO Method of costing
Inventory Setup:
Automatic cost posting: Yes
Expected Cost posting: Yes
Automatic Cost Adjustment: Always
Average Cost Calc. Type: Item & Location & Variant
Scenario
Step 1: Purchase on 01/07/16 of Item A, qty 10 PCS, unit cost as 1000/- and lot = LOT1, Location = MUMBAI.
Item Ledger Entry:
Cost (Actual) = 10,000/-
Step 2: Purchase on 02/07/16 of Item A, qty 10 PCS, unit cost as 2000/- and lot = LOT1, Location = MUMBAI.
Item Ledger Entry:
Cost (Actual) = 20,000/-
Step 3: Transfer from MUMBAI location to GURGAON location on 05/07/16 of Item A, qty 10 PCS, lot = LOT2.
Item Ledger Entry:
Cost (Actual) = 20,000/-
Step 4: Transfer from MUMBAI location to GURGAON location on 06/07/16 of Item A, qty 10 PCS, lot = LOT2.
Item Ledger Entry:
Cost (Actual) = 10,000/-
Step 5: Selling on 10/07/16 of Item A, qty 5 PCS and lot = LOT1, Location = GURGAON.
Item Ledger Entry:
Cost (Actual) = -5,000/-
Step 6: Selling on 10/07/16 of Item A, qty 4 PCS and lot = LOT2, Location = GURGAON.
Item Ledger Entry:
Cost (Actual) = -8,000/-
In this case FIFO costing is not working but instead it is specific.
Is this correct?.
Thanks,
Darshan
0
Best Answer
-
It is FIFO, but only within the same lot, which enables a more accurate calculation of the item cost.
In Codeunit 22, where the application between the item ledger entries takes place, you can find these lines of code which are responsible for this:
IF ItemTrackingCode."Lot Specific Tracking" THEN
ItemLedgEntry2.SETRANGE("Lot No.",ItemLedgEntry."Lot No.");
Kai Kowalewski5
Answers
-
It is FIFO, but only within the same lot, which enables a more accurate calculation of the item cost.
In Codeunit 22, where the application between the item ledger entries takes place, you can find these lines of code which are responsible for this:
IF ItemTrackingCode."Lot Specific Tracking" THEN
ItemLedgEntry2.SETRANGE("Lot No.",ItemLedgEntry."Lot No.");
Kai Kowalewski5 -
Thanks Kowa0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions