Hi,
Anyone has any suggestion on the best way to extend the length of Item No. from C20 to C25 instead of using No.2 or adding another new field. I need Item No. to be the main identifier in many areas. Or is there another alternative which I may not be aware of in Nav 4.0?
Cheers,
YYY
0
Comments
- variables have to be enlarged
- reports have to be changed (larger number)
- all tables which have a link to the Item No. have to be changed
- ...
Usually I don't recommend to change the length of a field ...
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
When increasing field length I recommend you to use Navision Developers Toolkit to find and modify all occurences of a field (e.g. "Item No.") in the rest of objects. Only TRANSFERFIELDs statements you have to find "manually".
Pozdrawiam/Best Regards
Marcin Woch
_____________________
"ANTEI" Woch Marcin
email: mwoch@antei.com.pl
www: http://www.antei.com.pl
tel.: (+48608) 39 46 29
Poland
Currently looking at forms, reports and code units. This is manual and tedious. Getting to feel that there is not much to change for these.
Using mentioned NDT you can do it relly fast almost without manually work.
Pozdrawiam/Best Regards
Marcin Woch
_____________________
"ANTEI" Woch Marcin
email: mwoch@antei.com.pl
www: http://www.antei.com.pl
tel.: (+48608) 39 46 29
Poland
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
recItem."no."
or
Item."No."
or
i."No."
or
bleh."No."
...
I sure as hell can't search for "No."...
You know what I mean? If the record-variable is always the same name (like recItem), this is no problem, but no one can guarantee this, off course... definitally not in customized functionality ... .
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
Really ... changing the length of a datatype is not a good idea...
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
http://www.mbsonline.org/forum/topic.as ... h,of,field
You shouldn't use the source finder.
Use the "Where used..." function and you can trace the way that the value of the field will go.
"Where used" searches for all references (by field name, field no., record (transferfield), RecRef, FieldRef, ...).
But be aware: It's still a large project to extend a field!
Three years ago, we extended the Item.Description from Text[30] to Text[50]. We could stop at the sales line / purchase line because they are by default Text[50] but we need more than a week to find all fields, parameters, variables, ...
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]