Modifying standard field datatype vs. new field
 
            
                
                    Johannes_Nielsen                
                
                    Member Posts: 206                
            
                        
            
                    Hi all
We are using NAV 5.1.
Our sales people needs a way of indicating on a Sales Quote, the promised delivery time.
The field "Requested Delivery Date" in Table 36 Sales Header seems like a good bet - but our customers don't need a specific date, but rather the time it takes for the order to be delivered, after it has been placed.
Should I change the standard field "Requested Delivery Date" to datatype=text
or
should I rather create a new custom field for this purpose (to not breaking any standard functionality)
                We are using NAV 5.1.
Our sales people needs a way of indicating on a Sales Quote, the promised delivery time.
The field "Requested Delivery Date" in Table 36 Sales Header seems like a good bet - but our customers don't need a specific date, but rather the time it takes for the order to be delivered, after it has been placed.
Should I change the standard field "Requested Delivery Date" to datatype=text
or
should I rather create a new custom field for this purpose (to not breaking any standard functionality)
Best regards / Venlig hilsen
Johannes Sebastian
MB7-840,MB7-841
Johannes Sebastian
MB7-840,MB7-841
0                
            Answers
- 
            First of all, you need a new field!
 There are thousands reasons to do so instead of modifying an old field.
 P.S. And if you need promised date, there is a Promised Delivery Date field in standart databaseNav 4.0 sp30
- 
            Fordewind wrote:P.S. And if you need promised date, there is a Promised Delivery Date field in standart database
 Thank you Fordewind!
 I need a field which will accept "2 weeks", "5 days" etc. So a data type=date -field, won't work...Best regards / Venlig hilsen
 Johannes Sebastian
 MB7-840,MB7-8410
- 
            Hi Johannes, you need to ask your senior to get you the development training material and work on completing all the exercises.
 There's a data type called 'DateFormula'. Go to the Help menu, click "C/SIDE Reference Guide" and type that into the search tab and see what you can figure out.0
- 
            Johannes Nielsen wrote:Fordewind wrote:P.S. And if you need promised date, there is a Promised Delivery Date field in standart database
 Thank you Fordewind!
 I need a field which will accept "2 weeks", "5 days" etc. So a data type=date -field, won't work...
 I see. We had the same problem. And more over, we needed something like that: "2 pieces - 3 weeks and another 2 pieces - 4 weeks". So, I can say: New field is the best choise!Nav 4.0 sp30
- 
            Thanks alot for your fast answers
 We went with a text field because the sales people something, inputs text strings not compatible with dateformula.
 But I shall do the exercises as mentioned.Best regards / Venlig hilsen
 Johannes Sebastian
 MB7-840,MB7-8410
- 
            It would take about 15 minutes to teach your salespeople to work with dateformulas. It would take MUCH longer to develop functionality to interpret whatever they enter.0
- 
            DenSter wrote:It would take about 15 minutes to teach your salespeople to work with dateformulas. It would take MUCH longer to develop functionality to interpret whatever they enter.
 Hi DenSter
 The input is not to be interpreted, just printed on Sales quotes as simple text.Best regards / Venlig hilsen
 Johannes Sebastian
 MB7-840,MB7-8410
- 
            
- 
            DenSter wrote:Why not use comments for that?
 I hav'nt considered comments because we need this specific information to be grouped along with a few other related fields. See attached screen cutBest regards / Venlig hilsen
 Johannes Sebastian
 MB7-840,MB7-8410
- 
            
 You are making this way more complicated then it needs to be.Johannes Nielsen wrote:DenSter wrote:Why not use comments for that?
 I hav'nt considered comments because we need this specific information to be grouped along with a few other related fields. See attached screen cut
 enter in a new line on the sale order, leave the type Blank and type in the info in the description field. it would look identical to this, take no programing, and when you go to apply a service pack or upgrade in the future, it will require no modification. As an end user I wonder why the solution always has to be program changes. There is nothing special or unique about this and needs no special handling.
 We do something very similar and use the standard text codes to cut down on data entry,
 so we enter TU and it fills in thanks you for you order.
 etc. Standard text codes can include extended text and can be almost unlimited in the amount of text that can be entered easily.0
- 
            themave wrote:You are making this way more complicated then it needs to be.
 enter in a new line on the sale order, leave the type Blank and type in the info in the description field. it would look identical to this, take no programing, and when you go to apply a service pack or upgrade in the future, it will require no modification. As an end user I wonder why the solution always has to be program changes. There is nothing special or unique about this and needs no special handling.
 We do something very similar and use the standard text codes to cut down on data entry,
 so we enter TU and it fills in thanks you for you order.
 etc. Standard text codes can include extended text and can be almost unlimited in the amount of text that can be entered easily.
 Thank you for your reply
 We did consider simply to use extra sales lines(which they use for other comments), but it was discarded because it could'nt be grouped along with the other, related info.Best regards / Venlig hilsen
 Johannes Sebastian
 MB7-840,MB7-8410
- 
            I was just going by the screen shot you gave as the example of what you want,
 a standard text code would do that exactly. Now if you need something different then what you posted, maybe it wouldn't work. But then again, maybe you could modify the requirements to conform with Standard Navision behaivor, you would be way better off in the future, it you avoided programming everything special just because someone asked for it.
 Just my opinion, but with a little training and some standard text codes, you could do this very easily.0
- 
            themave wrote:I was just going by the screen shot you gave as the example of what you want,
 a standard text code would do that exactly. Now if you need something different then what you posted, maybe it wouldn't work. But then again, maybe you could modify the requirements to conform with Standard Navision behaivor, you would be way better off in the future, it you avoided programming everything special just because someone asked for it.
 Yes, I only mentioned the placement of the field in the 4th post, but not the opening post, sorry.
 See attached image, the specific text(red boxes) goes in another section than the sales lines.
 But you are absolutely right, also in regards to modifications.
 And thanks for your input.Best regards / Venlig hilsen
 Johannes Sebastian
 MB7-840,MB7-8410
- 
            Hi Johannes,
 Two years ago, i did the same thing for a customer : adding 3 extra text fields in quote.
 I tought "3 simple fields, that's easy"
 And if i can undo this, i will !
 Because, if you add it, customer will surely ask you to put this in Invoice, Order, or Credit Memo, or Archived Quote, ... and you will spent your time to put thoses fields everywhere !
 I have done it again this month, in a simplier way :
 1- Adding standard text Code (eg. 'EXTRA')
 2- Modifying quote report to show it the way i need (Just add a new section for this, that is shown only when Type='' and No='EXTRA').
 Maybe themave have a smarter solution, but just for your need don't add those fields !
 Regards,
 dkone.
 [EDIT] : Sorry i post on a solved topic !0
- 
            Johannes Nielsen wrote:DenSter wrote:It would take about 15 minutes to teach your salespeople to work with dateformulas. It would take MUCH longer to develop functionality to interpret whatever they enter.
 Hi DenSter
 The input is not to be interpreted, just printed on Sales quotes as simple text.
 Believe me, you think now the customer "just needs this one thing. But it will grow. In six month time you will regret not listening to Denster.
 On the bright side though this is one of those things that all consultants need to learn the hard way. Its near impossible for people like us to convince newbies to do things properly.
 By the way I expect a post from you in the next few months something like "I have increased the length of the Name/Description fields and I am getting an over flow error" David Singleton0 David Singleton0
- 
            dkone wrote:Hi Johannes,
 Two years ago, i did the same thing for a customer : adding 3 extra text fields in quote.
 I tought "3 simple fields, that's easy"
 And if i can undo this, i will !
 Because, if you add it, customer will surely ask you to put this in Invoice, Order, or Credit Memo, or Archived Quote, ... and you will spent your time to put thoses fields everywhere !
 I have done it again this month, in a simplier way :
 1- Adding standard text Code (eg. 'EXTRA')
 2- Modifying quote report to show it the way i need (Just add a new section for this, that is shown only when Type='' and No='EXTRA').
 Maybe themave have a smarter solution, but just for your need don't add those fields !
 Regards,
 dkone.
 [EDIT] : Sorry i post on a solved topic !
 Ok, this is clever. I will experiment with this, it saves me from adding the custom field on sales quote form and the report.
 Thanks Best regards / Venlig hilsen Best regards / Venlig hilsen
 Johannes Sebastian
 MB7-840,MB7-8410
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
- 323 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




