"The Bin does not exist" error when posting

gadzilla1
Member Posts: 316
When posting to the Consumption Journal we encounter the following error for one particular raw material:
The Bin does not exist.
Identification fields and values:
Location Code='SWPI', Code=''
Any ideas? We've tried everything and nothing seems out of place. Thanks, Chris
The Bin does not exist.
Identification fields and values:
Location Code='SWPI', Code=''
Any ideas? We've tried everything and nothing seems out of place. Thanks, Chris
0
Answers
-
Try stepping through the debugger. See where the blank bin code is coming from.0
-
Thanks, I did just that. It breaks on error on the following bold line in the BinGet function of Codeunit 7301:
IF (Bin."Location Code" <> LocationCode) OR
(Bin.Code <> BinCode)
THEN
Bin.GET(LocationCode,BinCode);
But...everything looks good. We've never seen this before. Must be an obvious one, any ideas out there?0 -
Kind of an obvious question, do you have a value in the bin code field in the consumption journal?0
-
Thank you for all the replies.
For this particular issue, the raw material we were trying to consume had an additional trace amount (.0001 or something like that)...when we tried to consume, the 'Bin' error was thrown, but each record had a bin code (to answer the latest question).
So this was an anomaly, a rounding issue that seemed to throw an unrelated error. If anyone else has input on similar errors, please share. Otherwise I'll close the issue.
Have a great day. Chris0
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