Inventory Put-aways

Nuno
Member Posts: 18
Hi,
I'm having a bit of trouble with my inventory put-aways.
The problem is:
- I create a purchase order under 'Purchases & Payables'. I release the order.
- I go to 'Inventory' and to inventory put-aways to post the received items.
- I fill in the Nº, Location Code, Source document, posting date and vendor shipment number fields.
- When selecting the Source Nº (the source document) the system gives the following error message:
"Overflow under type conversion of Code to Code." and shows the value representing the purchase order I've tried to get.
My location only has the 'require put-away' and 'require pick' check marks.
Does anyone have any ideia of what this is?
Thanks a lot.
Best Regards,
Nuno
I'm having a bit of trouble with my inventory put-aways.
The problem is:
- I create a purchase order under 'Purchases & Payables'. I release the order.
- I go to 'Inventory' and to inventory put-aways to post the received items.
- I fill in the Nº, Location Code, Source document, posting date and vendor shipment number fields.
- When selecting the Source Nº (the source document) the system gives the following error message:
"Overflow under type conversion of Code to Code." and shows the value representing the purchase order I've tried to get.
My location only has the 'require put-away' and 'require pick' check marks.
Does anyone have any ideia of what this is?
Thanks a lot.
Best Regards,
Nuno
0
Comments
-
Hello Nuno,
Try enabling the debugger to see where it stops.
Then, if you can't figure out the problem, post the error, and the position it occured here...0 -
Hi Arhontis,
I've executed the debugger but I can't understand the reason of the error (I'm not a developer).
Here's the code where the error occurs:
UpdateWhseActivHeader(WhseRequest)
WITH WhseRequest DO BEGIN
IF WhseActivHeader."Source Document" = 0 THEN BEGIN
WhseActivHeader."Source Document" := "Source Document";
WhseActivHeader."Source Type" := "Source Type";
WhseActivHeader."Source Subtype" := "Source Subtype";
END ELSE
WhseActivHeader.TESTFIELD("Source Document","Source Document");
IF WhseActivHeader."Source No." = '' THEN BEGIN
WhseActivHeader."Source No." := "Source No.";
END ELSE
It stops exactly in this line:
IF WhseActivHeader."Source No." = '' THEN BEGIN
and returns the message: Break on error.
I've seen this same process work on another computer with a new installation (In cronus, with none of the configurations done here). What I don't know is what do I have defined that forbids me to execute this process.
Hope this will help you understand the reason...
Thanks.
Best Regards,
Nuno0 -
Listen,
the variable WhseActivHeader is the table:
5766.Warehouse Activity Header
The field Source 7306,"Source No." is of type code 20.
The original field No. of Purchase Header (thre order you use on purchases) is of type code 20 too.
So, does your configuration changed the length of the no field of Purchase Header to something larger?
You can see it by designing the table 38, Purchase Header and see at the No. field type if it is Code20 or not...0 -
PROBLEM SOLVED!!!
the problem was the source field 7306 of table 5766 that only allowed a length of 10 characters.
that was a big load off my back!
Thanks a lot.
Best Regards,
Nuno0
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