Item Ledger Entry not created on Shipping a Sales Order

davoness
Member Posts: 22
I have a client who have begun experiencing a problem when Shipping/Invoicing sales orders. They are running v3.10A C/SIDE. We have not modified the sales line table, or sales posting.
In the last month they have noticed a problem with Sales figures from their Item Ledger not matching the G/L. I have tracked the discrepancies down to a number of Invoices for Items where there have been not any Item Ledger Entries or Value Entries created.
On the posted shipments/invoices the Quantity field is filled in correctly, but the Quantity (Base) field is set to zero. The only common theme I can find with the invoices is that they are part shipments/invoices (ie. some lines/qty from the order is posted on one Shipment/Invoice, then the rest later).
I have tried everything I can think of to replicate but I cannot make it happen in their test system. As there are no mods I'm sure its a standard Navision problem, but the version is no longer supported.
Has anyone come across this problem and know what causes it or know of a hotfix for it?
Thanks
Dave
In the last month they have noticed a problem with Sales figures from their Item Ledger not matching the G/L. I have tracked the discrepancies down to a number of Invoices for Items where there have been not any Item Ledger Entries or Value Entries created.
On the posted shipments/invoices the Quantity field is filled in correctly, but the Quantity (Base) field is set to zero. The only common theme I can find with the invoices is that they are part shipments/invoices (ie. some lines/qty from the order is posted on one Shipment/Invoice, then the rest later).
I have tried everything I can think of to replicate but I cannot make it happen in their test system. As there are no mods I'm sure its a standard Navision problem, but the version is no longer supported.
Has anyone come across this problem and know what causes it or know of a hotfix for it?
Thanks
Dave
0
Comments
-
Is the Automatic Cost Posting turned on?
Does the sales orders have items on them?Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
Yes there are Items on the Orders.
Yes automatic cost posting is switched on, however even if this was off it would still be a problem as the Item Ledger Entry should be created by posting the Shipment regardless.0 -
looks like a customization.
Turn on codecoverage and see if it's CU 22 and see where it exists.
I usually filter on //
and see where customization occurred.0 -
Just to add a little more information, I have tracked the problem to the updating of the Qty. To Ship (Base) and Qty. To Invoice (Base) after posting.
I have found an order where the problem has occurred once and the situation is:
The order has 4 lines, all for Items all Qty 1, the UOM on all lines is the Item's base UOM.
Qty To Ship and Qty to Invoice were set to 1 on the first two lines and zero the second two lines and it posted correctly.
The 3rd line was then posted by setting Qty To Ship & Qty To Invoice to 1 and posting. This failed to create an ILE. The Quantity (Base) field on both the Invoice and Shipment are 0, even thought the Quantity field is 1.
The order is still in the system. The 4th line has Quantity of 1, Qty. To Ship of 1, Qty to Invoice of 1 but Qty. To Ship (Base) of 0 & Qty. To Invoice (Base) of 0.
The problem must be in setting the Qty To Ship & Invoice fields back to the Quantity when a line has not been shipped is not updating the Base fields for some reason.
Dave0 -
This client has nearly zero customisations, only a field or two added here and there. Codeunits 22 and 80 have not been touched, nor have tables 36 & 370
-
I suggest to check knowledgebase, and suggest to upgrade.0
-
davoness wrote:This client has nearly zero customisations, only a field or two added here and there. Codeunits 22 and 80 have not been touched, nor have tables 36 & 37
Have you tried to duplicate the problem on a standard 3.10A Cronus database? If you are not able to duplicate the problem, then it's a problem with customization.Confessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0
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