Changing Item Category Code

Morilen
Member Posts: 30
We have an item that was entered with the wrong Item Category Code. I know it will not let me make a direct change because there are ledger entries. However, I tried it in the test system and if I use a dataport I can force it to the correct Item Cat code. I would rather make the change than have to re-make an item every time there is a slight error in its entry. Does anyone know what other effects this may have on my data? I assume the old entries under that item will retain their references to the incorrect Item Cat Code. This is not a big deal as the entries that are there only represent a manufacturing trial. I am mostly concerned with possible report or periodic cost adjustment errors cropping up because of this.
Any advice would be appreciated.
Any advice would be appreciated.
0
Comments
-
Try adjusting all of your inventory for that item out of the system, changing the code, and adjusting it back in. There are certain things you can't do when you have ANY item ledger entries, and certain things you can't do when you have ANY OPEN item ledger entries.0
-
It actually already is at a zero qty on hand. I also double checked that there weren't any screwy numbers under Qty remaining and those are all zero as well. Still has me locked up from making this change.0
-
It may be trying to change the Costing Method of your item based off of the Item Category Code's field "Def. Costing Method".
What is the Costing Method of your Item and of the Category Code.Item Category Code - OnValidate() IF "Item Category Code" <> xRec."Item Category Code" THEN BEGIN ... VALIDATE("Costing Method",ItemCategory."Def. Costing Method");
Then...Costing Method - OnValidate() ... TestNoEntriesExist(FIELDCAPTION("Costing Method"));
-Lavin
"Profanity is the one language all programmers know best."0 -
It's safe to change the Item category code, as you mentioned history will have the old one.
Also as user above pointed out, the reason for the error is the costing method that is being changed.
I think MS needs to change the code to something like
ILE.setrange("item No.","No.");
if ILE.isempty then begin
//change default costing method.
end;0 -
That was exactly the problem. The default costing methods were set to Standard and we use FIFO for just about everything. I changed all the defalts and it allowed me to make the change directly on the Item Card.
Thank you all very much.0
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