Hi, I have a problem here which is very simple, but I don't know why the system has error this time. We expand the customer Name field from text50 to text100 and also change the description to text100 as well from Gen. Journal Liine table. But when we select customer ID from Account No, the descption will not accept the customer name from Cash Receipt Journals, Error is text flow. I have fixed this problem many times, but it doesn't work this time. After we deleted some characters from customer name of customer card, the value is accepted in the description field of the Cash Receipt Journals. My confusion is Custome Name text length matches exactly the length of description. Why the long name is accepted in Customer Card, but not accepted in Cash Receipt Journals? Your advice will be greatly appreciated!
0
Comments
as I see you found out.
Also, any future updates/upgrades you will have to keep making these changes. Remember they can also be a part of another variable (which means the variable now has to be expanded everywhere), especially the description field which can take a value from many different places.
http://www.BiloBeauty.com
http://www.autismspeaks.org
so start the debuger. He will stop at the function where the error comes ...
EDIT
Sava, i need the same fast keybord like yours, because yours is faster .... :whistle:
RIS Plus, LLC
Now you can see, why each time somebody ask if it is possible to extend the fields, answers are, yes, but be aware possible problems. Rather than extending the fields, try to use Name 2, or Description 2 etc. and correct the reports to print both fields in correct manner.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
RIS Plus, LLC
lol, how can you state that? you don't even know what exactly i do with DTK to find the places. It is like stating that "10+10 <> 100" without knowing what base is being used
RIS Plus, LLC
If the answer is:
I find all the fields that might have customer name copied to it, and then for each of those (probably like 500 places), I find every variable / parameter in the database that relates to each of those, then I find every variable / parameter that relates to each of those variables / parameters, (and then repeat as nauseum) and extend all of those to the new length, and then repeat this process every time the customer upgrades.
Then that is a great example of why you should just try to find the 2-3 reports and forms that the customer is concerned with and add the field to those places. In fact, that very explanation to a customer (where they can see the $$$ signs flashing through their heads) usually changes their opinion on how to handle long names.
-a
It's always costs vs effort vs accuracy.
If my customer name is "THISISMYCUSTOMERNAME GLOBALIZATION WORLDWIDE DISTRIBUTION", which is not uncommon, especially wit doublebytes, you need 3 fields...
Then it comes to how you search/filter for customers when you have same 2 customers with same first names...
Then it comes to how you formulate your SQL queries, assuming you do....
ERP Consultant (not just Navision) & Navision challenger
I have to confess that I have expanded all the Name and Description fields, and I know very well how difficult it is to do it, but with the help of the Debugger I have succeded. Not sure that it was changed everywhere, maybe when using a new granule the error will pop up somwhere else, but it is easy to fix.
You can do it, but the question is, is it worth the time and effort? Or could it be done by using the Name 2 /Description 2 fields?
I have worked for years in a database with a large vertical (Wisefish) that has been installed and translated for Icelandic, Norwegian, German, Italian and Spanish along with English. I have not come across the absolute necessity to increase the field length in the Name field.
Here is the thing. If you develop a vertical solution that works 90% of the time, and the other 10% of the time you need a minor workaround, then you have succeeded. If you try to hit 100% for everybody (for a vertical), then you are putting your effort in the wrong places.
If you are working with a customer who has a budget of 500 hours, you want to give the customer as much good functionality as possible for those 500 hours. If you spend (just throwing out a number) 40 hours increasing the length of a field, when you could have spent it on 2 really good reports (along with adding the Name 2 field in a few places), then they are getting less for their money.
If the requirement is an absolute necessity - then do it. But remember that balancing effort and results in projects is what makes your company money and your customer happy.
-awarn
Client wanted to keep long customer names, because they dealt with state liquor regulators, and needed some reports to have the full legal name of a customer.
We added a new field to the customer card, called 'Legal Name', 250 characters.
We changed the customer invoice and the three shipping reports to show the Legal Name field instead of the Name field.
however we did not change any journals, ledgers, or other functions, because to our client, seeing the text 'Franks Store' on a form was OK. They did not need to see 'Franks Store of Fine Liquors, wines beers and other goods Imported & Exported Trade Limited'. The only place that big long name was needed was on outbound documents.
The side note is that if we had needed it in the customer ledger, we could have made a flowfield...
-awarn
ERP Consultant (not just Navision) & Navision challenger
Example:
Customer code: C001
Customer Name: IBM
Legal Name: International Business Machines
Customer code: C002
Customer Name: CBS
Legal Name: Columbia Broadcast System
When you register a business, you normally need a unique name, but sometimes you use an acronym or shorter name for everyday purposes.
Think about it at the level of someone using Navision. Internally they call the company CBS, but when you ship something to CBS maybe CBS requires that the shipping documents contain the text 'Columbia Broadcast Systems'. Not everybody knows that CBS the television station is really Columbia Broadcast Systems.
If I were to use Customer Code = IBM or CBS wouldn't it achieve the same effect?
If it happens that there are 2 company's whose initials are both IBM, IBM1 & IBM2 does the same things doesn't it?
ERP Consultant (not just Navision) & Navision challenger
The issue at hand is that the default length of the Customer Name field was not sufficient to store the name, and this thread is about various solutions.
RIS Plus, LLC
This thread is about various solutions. But without understanding the problem there can be no solution. I'm trying to learn how to apply the suggested solutions to real-world problems...
Nevertheless this shall be my last post in this thread.
ERP Consultant (not just Navision) & Navision challenger
I think you are totally missing the point.
Example: Your client wants to have the customers in their datbase use a number series starting with C01155678, because in their legacy system this was the next available number, and they like to keep the numbers sequential.
Your client deals with the government and they need to reprot the full legal name of the customers on some documentation. This could be up to 200 characters long.
Here is a scenario where you need a Code 20 customer code (already there), and a field of Text 200 (not there yet), which is needed on 3 custom reports.
Solution #1 - estimate - 4 hours. Add a new field to the customer card, Legal Name. Add this to the 3 noted reports.
Solution #2 - estimate - 40 hours. Change the descriptin field from text 50 to text 200, and everywhere in the database where this could be used.
Do you not see how solution #1 might be a little easier?
RIS Plus, LLC
Also, as far as using the DTK to find everywhere else the variable is passed, you can do a really good job, but honestly after a while it's not worth trying to track it down anymore and just be available for the occasional debug/fix for the 5-6 more overflow errors you're going to get.
"Show All..."
"Oh..."
"OMG ALL MY DATA IS GONE"
"Show All..."
"Oh..."
"Show All..."
"Oh..."
RIS Plus, LLC
"Show All..."
"Oh..."
In fact, thinking very well at this issue, I understood why the simplest way to solve this issue did not come into my mind. The very first time when we were asked by a customer to do this, our senior developer at that time did it this way. I took it as it was, and never considered it can be done easier. :oops: