Strange consumption ledger entry
Alkro
Member Posts: 115
Hi!
I have a strange error.
I have 1 Prod. Order for create 50 Kg of Item1.
In Components, i need 50 Kg of Item2.
There are 50 Kg of Remaining Quantity in this Lot No.:
Lot A - 20 Kg
Lot B - 30 Kg
When i try to post the Consumption Journal i have an error with "Item Item2 is not in inventory", but is a false error, because i have remaining qty.
I put the debugger and the error appears in Codeunit 22, function InsertItemLedgEntry with Lot B.
Entry Type: Consumption
Quantity: -96 Kg
Remaining Qty: -66 Kg
Invoiced Qty: -96 Kg
But in Consumption Journal is 30 Kg for this Lot No.
Anybody had the same problem anytime?
Best Regards.
I have a strange error.
I have 1 Prod. Order for create 50 Kg of Item1.
In Components, i need 50 Kg of Item2.
There are 50 Kg of Remaining Quantity in this Lot No.:
Lot A - 20 Kg
Lot B - 30 Kg
When i try to post the Consumption Journal i have an error with "Item Item2 is not in inventory", but is a false error, because i have remaining qty.
I put the debugger and the error appears in Codeunit 22, function InsertItemLedgEntry with Lot B.
WITH ItemJnlLine DO BEGIN
IF ItemLedgEntry.Open THEN BEGIN
IF (((ItemLedgEntry."Entry Type" IN
[ItemLedgEntry."Entry Type"::"Negative Adjmt.",
ItemLedgEntry."Entry Type"::Consumption]) AND
("Source Type" = "Source Type"::Item)) OR
(ItemLedgEntry."Entry Type" = ItemLedgEntry."Entry Type"::Transfer)) AND
(ItemLedgEntry.Quantity < 0)
THEN
ERROR(Text005,ItemLedgEntry."Item No.");
I watch the ItemLedgEntry line and Navision tries to insert a strange consumption like this:Entry Type: Consumption
Quantity: -96 Kg
Remaining Qty: -66 Kg
Invoiced Qty: -96 Kg
But in Consumption Journal is 30 Kg for this Lot No.
Anybody had the same problem anytime?
Best Regards.
0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions